-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a728aa0
commit 0034fe1
Showing
146 changed files
with
57,362 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"files": { | ||
"main.css": "/static/css/main.07cf665d.css", | ||
"main.js": "/static/js/main.26982f77.js", | ||
"static/js/453.161ac14b.chunk.js": "/static/js/453.161ac14b.chunk.js", | ||
"index.html": "/index.html", | ||
"main.07cf665d.css.map": "/static/css/main.07cf665d.css.map", | ||
"main.26982f77.js.map": "/static/js/main.26982f77.js.map", | ||
"453.161ac14b.chunk.js.map": "/static/js/453.161ac14b.chunk.js.map" | ||
}, | ||
"entrypoints": [ | ||
"static/css/main.07cf665d.css", | ||
"static/js/main.26982f77.js" | ||
] | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Account Abstraction templating engine"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap" rel="stylesheet"><title>AdappterXYZ</title><script defer="defer" src="/static/js/main.26982f77.js"></script><link href="/static/css/main.07cf665d.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"short_name": "Adappter", | ||
"name": "Account Abstraction Templating Engine", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
}, | ||
{ | ||
"src": "logo192.png", | ||
"type": "image/png", | ||
"sizes": "192x192" | ||
}, | ||
{ | ||
"src": "logo512.png", | ||
"type": "image/png", | ||
"sizes": "512x512" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://www.robotstxt.org/robotstxt.html | ||
User-agent: * | ||
Disallow: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// solcWorker.js - A more complete version | ||
|
||
// Function to dynamically load the solc version specified in the message | ||
function loadSolc(version) { | ||
self.importScripts(`https://solc-bin.ethereum.org/bin/soljson-${version}.js`); | ||
console.log(`Loaded solc version: ${version}`); | ||
} | ||
|
||
// Function to compile Solidity source code using loaded solc | ||
function compileSolidity(sourceCode) { | ||
importScripts(`https://solc-bin.ethereum.org/bin/soljson-latest.js`); | ||
console.log(); | ||
// Standard JSON input format for the compiler | ||
const input = { | ||
language: 'Solidity', | ||
sources: { | ||
'MyContract.sol': { | ||
content: sourceCode, // Your Solidity source | ||
}, | ||
}, | ||
settings: { | ||
outputSelection: { | ||
'*': { | ||
'*': ['*'], // Request everything | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
// Perform the compilation | ||
try { | ||
|
||
const compileMethod = solc.compile ? solc.compile : solc.compileStandard ? solc.compileStandard : solc.compileStandardWrapper; | ||
console.log(5, compileMethod); | ||
if (!compileMethod) { | ||
throw new Error('Compile method not found in solc-js.'); | ||
} | ||
} catch (error) { | ||
console.log(7,error); | ||
self.postMessage({ type: 'error', error: error.toString() }); | ||
} | ||
} | ||
|
||
// Respond to messages from the main thread | ||
self.onmessage = (e) => { | ||
console.log(1); | ||
if (e.data.type === 'loadCompiler') { | ||
console.log(2); | ||
loadSolc(e.data.version); | ||
} else if (e.data.type === 'compile') { | ||
const output = Module.compile(input); | ||
console.log | ||
// Ensure the compiler is loaded and ready | ||
if (typeof Module !== 'undefined' && Module.compile) { | ||
console.log(4); | ||
compileSolidity(e.data.source); | ||
} else { | ||
self.postMessage({ type: 'error', error: 'Compiler not ready.' }); | ||
} | ||
} | ||
}; |
Oops, something went wrong.