Skip to content

Commit

Permalink
chore: compress contract metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
darwintree committed Dec 13, 2024
1 parent 90374ca commit 965aa85
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 4,889 deletions.
55 changes: 1 addition & 54 deletions conflux_web3/contract/metadata/AdminControl.json
Original file line number Diff line number Diff line change
@@ -1,54 +1 @@
{
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "contractAddr",
"type": "address"
}
],
"name": "destroy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddr",
"type": "address"
}
],
"name": "getAdmin",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddr",
"type": "address"
},
{
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "setAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{ "abi": [ { "inputs": [ { "internalType": "address", "name": "contractAddr", "type": "address" } ], "name": "destroy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "contractAddr", "type": "address" } ], "name": "getAdmin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "contractAddr", "type": "address" }, { "internalType": "address", "name": "newAdmin", "type": "address" } ], "name": "setAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ] }
48 changes: 1 addition & 47 deletions conflux_web3/contract/metadata/Create2Factory.json
Original file line number Diff line number Diff line change
@@ -1,47 +1 @@
{
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"name": "isDeployed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "code",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "salt",
"type": "uint256"
}
],
"name": "deploy",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{ "abi": [ { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "isDeployed", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "code", "type": "bytes" }, { "internalType": "uint256", "name": "salt", "type": "uint256" } ], "name": "deploy", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" } ] }
267 changes: 1 addition & 266 deletions conflux_web3/contract/metadata/CrossSpaceCall.json
Original file line number Diff line number Diff line change
@@ -1,266 +1 @@
{
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes20",
"name": "sender",
"type": "bytes20"
},
{
"indexed": true,
"internalType": "bytes20",
"name": "receiver",
"type": "bytes20"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "Call",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes20",
"name": "sender",
"type": "bytes20"
},
{
"indexed": true,
"internalType": "bytes20",
"name": "contract_address",
"type": "bytes20"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "init",
"type": "bytes"
}
],
"name": "Create",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"name": "Outcome",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes20",
"name": "sender",
"type": "bytes20"
},
{
"indexed": true,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}
],
"name": "Withdraw",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "init",
"type": "bytes"
}
],
"name": "createEVM",
"outputs": [
{
"internalType": "bytes20",
"name": "",
"type": "bytes20"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes20",
"name": "to",
"type": "bytes20"
}
],
"name": "transferEVM",
"outputs": [
{
"internalType": "bytes",
"name": "output",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes20",
"name": "to",
"type": "bytes20"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "callEVM",
"outputs": [
{
"internalType": "bytes",
"name": "output",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes20",
"name": "to",
"type": "bytes20"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "staticCallEVM",
"outputs": [
{
"internalType": "bytes",
"name": "output",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "deployEip1820",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "withdrawFromMapped",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"name": "mappedBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"name": "mappedNonce",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{ "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "sender", "type": "bytes20" }, { "indexed": true, "internalType": "bytes20", "name": "receiver", "type": "bytes20" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "Call", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "sender", "type": "bytes20" }, { "indexed": true, "internalType": "bytes20", "name": "contract_address", "type": "bytes20" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "init", "type": "bytes" } ], "name": "Create", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bool", "name": "success", "type": "bool" } ], "name": "Outcome", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "sender", "type": "bytes20" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "nonce", "type": "uint256" } ], "name": "Withdraw", "type": "event" }, { "inputs": [ { "internalType": "bytes", "name": "init", "type": "bytes" } ], "name": "createEVM", "outputs": [ { "internalType": "bytes20", "name": "", "type": "bytes20" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "to", "type": "bytes20" } ], "name": "transferEVM", "outputs": [ { "internalType": "bytes", "name": "output", "type": "bytes" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "to", "type": "bytes20" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "callEVM", "outputs": [ { "internalType": "bytes", "name": "output", "type": "bytes" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "to", "type": "bytes20" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "staticCallEVM", "outputs": [ { "internalType": "bytes", "name": "output", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "deployEip1820", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "withdrawFromMapped", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "mappedBalance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "mappedNonce", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ] }
Loading

0 comments on commit 965aa85

Please sign in to comment.