Skip to content

Commit

Permalink
massive dump
Browse files Browse the repository at this point in the history
  • Loading branch information
adappterxyz committed May 13, 2024
1 parent a728aa0 commit 0034fe1
Show file tree
Hide file tree
Showing 146 changed files with 57,362 additions and 30 deletions.
Empty file added .env
Empty file.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
Binary file added build/android-chrome-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions build/asset-manifest.json
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 added build/background.mp4
Binary file not shown.
Binary file added build/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/favicon.ico
Binary file not shown.
Binary file added build/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/images/Bitkub.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions build/images/Sei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions build/images/Sui.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions build/images/Ton.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/images/cloudflare_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/images/github-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/images/stripe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/index.html
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>
Binary file added build/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions build/manifest.json
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"
}
Binary file added build/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/reverse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
61 changes: 61 additions & 0 deletions build/solcWorker.js
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.' });
}
}
};
Loading

0 comments on commit 0034fe1

Please sign in to comment.