Update abi.json

This commit is contained in:
0xcary 2024-12-24 19:48:24 +08:00 committed by GitHub
parent 1a46114ff4
commit ed89e94dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,456 +1,440 @@
[ [
{ {
"inputs":[ "inputs": [
{ {
"components":[ "components": [
{ {
"internalType":"address", "internalType": "address",
"name":"target", "name": "target",
"type":"address" "type": "address"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"callData", "name": "callData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Call[]", "internalType": "struct Multicall3.Call[]",
"name":"calls", "name": "calls",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"name":"aggregate", "name": "aggregate",
"outputs":[ "outputs": [
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"blockNumber", "name": "blockNumber",
"type":"uint256" "type": "uint256"
}, },
{ {
"internalType":"bytes[]", "internalType": "bytes[]",
"name":"returnData", "name": "returnData",
"type":"bytes[]" "type": "bytes[]"
} }
], ],
"stateMutability":"view", "stateMutability": "payable",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"components":[ "components": [
{ {
"internalType":"address", "internalType": "address",
"name":"target", "name": "target",
"type":"address" "type": "address"
}, },
{ {
"internalType":"bool", "internalType": "bool",
"name":"allowFailure", "name": "allowFailure",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"callData", "name": "callData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Call3[]", "internalType": "struct Multicall3.Call3[]",
"name":"calls", "name": "calls",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"name":"aggregate3", "name": "aggregate3",
"outputs":[ "outputs": [
{ {
"components":[ "components": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"success", "name": "success",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"returnData", "name": "returnData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Result[]", "internalType": "struct Multicall3.Result[]",
"name":"returnData", "name": "returnData",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"stateMutability":"view", "stateMutability": "payable",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"components":[ "components": [
{ {
"internalType":"address", "internalType": "address",
"name":"target", "name": "target",
"type":"address" "type": "address"
}, },
{ {
"internalType":"bool", "internalType": "bool",
"name":"allowFailure", "name": "allowFailure",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"value", "name": "value",
"type":"uint256" "type": "uint256"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"callData", "name": "callData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Call3Value[]", "internalType": "struct Multicall3.Call3Value[]",
"name":"calls", "name": "calls",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"name":"aggregate3Value", "name": "aggregate3Value",
"outputs":[ "outputs": [
{ {
"components":[ "components": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"success", "name": "success",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"returnData", "name": "returnData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Result[]", "internalType": "struct Multicall3.Result[]",
"name":"returnData", "name": "returnData",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"stateMutability":"view", "stateMutability": "payable",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"components":[ "components": [
{ {
"internalType":"address", "internalType": "address",
"name":"target", "name": "target",
"type":"address" "type": "address"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"callData", "name": "callData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Call[]", "internalType": "struct Multicall3.Call[]",
"name":"calls", "name": "calls",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"name":"blockAndAggregate", "name": "blockAndAggregate",
"outputs":[ "outputs": [
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"blockNumber", "name": "blockNumber",
"type":"uint256" "type": "uint256"
}, },
{ {
"internalType":"bytes32", "internalType": "bytes32",
"name":"blockHash", "name": "blockHash",
"type":"bytes32" "type": "bytes32"
}, },
{ {
"components":[ "components": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"success", "name": "success",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"returnData", "name": "returnData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Result[]", "internalType": "struct Multicall3.Result[]",
"name":"returnData", "name": "returnData",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"stateMutability":"view", "stateMutability": "payable",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getBasefee",
], "outputs": [
"name":"getBasefee",
"outputs":[
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"basefee", "name": "basefee",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"blockNumber", "name": "blockNumber",
"type":"uint256" "type": "uint256"
} }
], ],
"name":"getBlockHash", "name": "getBlockHash",
"outputs":[ "outputs": [
{ {
"internalType":"bytes32", "internalType": "bytes32",
"name":"blockHash", "name": "blockHash",
"type":"bytes32" "type": "bytes32"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getBlockNumber",
], "outputs": [
"name":"getBlockNumber",
"outputs":[
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"blockNumber", "name": "blockNumber",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getChainId",
], "outputs": [
"name":"getChainId",
"outputs":[
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"chainid", "name": "chainid",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getCurrentBlockCoinbase",
], "outputs": [
"name":"getCurrentBlockCoinbase",
"outputs":[
{ {
"internalType":"address", "internalType": "address",
"name":"coinbase", "name": "coinbase",
"type":"address" "type": "address"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getCurrentBlockDifficulty",
], "outputs": [
"name":"getCurrentBlockDifficulty",
"outputs":[
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"difficulty", "name": "difficulty",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getCurrentBlockGasLimit",
], "outputs": [
"name":"getCurrentBlockGasLimit",
"outputs":[
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"gaslimit", "name": "gaslimit",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getCurrentBlockTimestamp",
], "outputs": [
"name":"getCurrentBlockTimestamp",
"outputs":[
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"timestamp", "name": "timestamp",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"internalType":"address", "internalType": "address",
"name":"addr", "name": "addr",
"type":"address" "type": "address"
} }
], ],
"name":"getEthBalance", "name": "getEthBalance",
"outputs":[ "outputs": [
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"balance", "name": "balance",
"type":"uint256" "type": "uint256"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [],
"name": "getLastBlockHash",
], "outputs": [
"name":"getLastBlockHash",
"outputs":[
{ {
"internalType":"bytes32", "internalType": "bytes32",
"name":"blockHash", "name": "blockHash",
"type":"bytes32" "type": "bytes32"
} }
], ],
"stateMutability":"view", "stateMutability": "view",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"requireSuccess", "name": "requireSuccess",
"type":"bool" "type": "bool"
}, },
{ {
"components":[ "components": [
{ {
"internalType":"address", "internalType": "address",
"name":"target", "name": "target",
"type":"address" "type": "address"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"callData", "name": "callData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Call[]", "internalType": "struct Multicall3.Call[]",
"name":"calls", "name": "calls",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"name":"tryAggregate", "name": "tryAggregate",
"outputs":[ "outputs": [
{ {
"components":[ "components": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"success", "name": "success",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"returnData", "name": "returnData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Result[]", "internalType": "struct Multicall3.Result[]",
"name":"returnData", "name": "returnData",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"stateMutability":"view", "stateMutability": "payable",
"type":"function" "type": "function"
}, },
{ {
"inputs":[ "inputs": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"requireSuccess", "name": "requireSuccess",
"type":"bool" "type": "bool"
}, },
{ {
"components":[ "components": [
{ {
"internalType":"address", "internalType": "address",
"name":"target", "name": "target",
"type":"address" "type": "address"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"callData", "name": "callData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Call[]", "internalType": "struct Multicall3.Call[]",
"name":"calls", "name": "calls",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"name":"tryBlockAndAggregate", "name": "tryBlockAndAggregate",
"outputs":[ "outputs": [
{ {
"internalType":"uint256", "internalType": "uint256",
"name":"blockNumber", "name": "blockNumber",
"type":"uint256" "type": "uint256"
}, },
{ {
"internalType":"bytes32", "internalType": "bytes32",
"name":"blockHash", "name": "blockHash",
"type":"bytes32" "type": "bytes32"
}, },
{ {
"components":[ "components": [
{ {
"internalType":"bool", "internalType": "bool",
"name":"success", "name": "success",
"type":"bool" "type": "bool"
}, },
{ {
"internalType":"bytes", "internalType": "bytes",
"name":"returnData", "name": "returnData",
"type":"bytes" "type": "bytes"
} }
], ],
"internalType":"struct Multicall3.Result[]", "internalType": "struct Multicall3.Result[]",
"name":"returnData", "name": "returnData",
"type":"tuple[]" "type": "tuple[]"
} }
], ],
"stateMutability":"view", "stateMutability": "payable",
"type":"function" "type": "function"
} }
] ]