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",
{ "name": "basefee",
"internalType":"uint256", "type": "uint256"
"name":"basefee", }
"type":"uint256" ],
} "stateMutability": "view",
], "type": "function"
"stateMutability":"view", },
"type":"function" {
}, "inputs": [
{ {
"inputs":[ "internalType": "uint256",
{ "name": "blockNumber",
"internalType":"uint256", "type": "uint256"
"name":"blockNumber", }
"type":"uint256" ],
} "name": "getBlockHash",
], "outputs": [
"name":"getBlockHash", {
"outputs":[ "internalType": "bytes32",
{ "name": "blockHash",
"internalType":"bytes32", "type": "bytes32"
"name":"blockHash", }
"type":"bytes32" ],
} "stateMutability": "view",
], "type": "function"
"stateMutability":"view", },
"type":"function" {
}, "inputs": [],
{ "name": "getBlockNumber",
"inputs":[ "outputs": [
{
], "internalType": "uint256",
"name":"getBlockNumber", "name": "blockNumber",
"outputs":[ "type": "uint256"
{ }
"internalType":"uint256", ],
"name":"blockNumber", "stateMutability": "view",
"type":"uint256" "type": "function"
} },
], {
"stateMutability":"view", "inputs": [],
"type":"function" "name": "getChainId",
}, "outputs": [
{ {
"inputs":[ "internalType": "uint256",
"name": "chainid",
], "type": "uint256"
"name":"getChainId", }
"outputs":[ ],
{ "stateMutability": "view",
"internalType":"uint256", "type": "function"
"name":"chainid", },
"type":"uint256" {
} "inputs": [],
], "name": "getCurrentBlockCoinbase",
"stateMutability":"view", "outputs": [
"type":"function" {
}, "internalType": "address",
{ "name": "coinbase",
"inputs":[ "type": "address"
}
], ],
"name":"getCurrentBlockCoinbase", "stateMutability": "view",
"outputs":[ "type": "function"
{ },
"internalType":"address", {
"name":"coinbase", "inputs": [],
"type":"address" "name": "getCurrentBlockDifficulty",
} "outputs": [
], {
"stateMutability":"view", "internalType": "uint256",
"type":"function" "name": "difficulty",
}, "type": "uint256"
{ }
"inputs":[ ],
"stateMutability": "view",
], "type": "function"
"name":"getCurrentBlockDifficulty", },
"outputs":[ {
{ "inputs": [],
"internalType":"uint256", "name": "getCurrentBlockGasLimit",
"name":"difficulty", "outputs": [
"type":"uint256" {
} "internalType": "uint256",
], "name": "gaslimit",
"stateMutability":"view", "type": "uint256"
"type":"function" }
}, ],
{ "stateMutability": "view",
"inputs":[ "type": "function"
},
], {
"name":"getCurrentBlockGasLimit", "inputs": [],
"outputs":[ "name": "getCurrentBlockTimestamp",
{ "outputs": [
"internalType":"uint256", {
"name":"gaslimit", "internalType": "uint256",
"type":"uint256" "name": "timestamp",
} "type": "uint256"
], }
"stateMutability":"view", ],
"type":"function" "stateMutability": "view",
}, "type": "function"
{ },
"inputs":[ {
"inputs": [
], {
"name":"getCurrentBlockTimestamp", "internalType": "address",
"outputs":[ "name": "addr",
{ "type": "address"
"internalType":"uint256", }
"name":"timestamp", ],
"type":"uint256" "name": "getEthBalance",
} "outputs": [
], {
"stateMutability":"view", "internalType": "uint256",
"type":"function" "name": "balance",
}, "type": "uint256"
{ }
"inputs":[ ],
{ "stateMutability": "view",
"internalType":"address", "type": "function"
"name":"addr", },
"type":"address" {
} "inputs": [],
], "name": "getLastBlockHash",
"name":"getEthBalance", "outputs": [
"outputs":[ {
{ "internalType": "bytes32",
"internalType":"uint256", "name": "blockHash",
"name":"balance", "type": "bytes32"
"type":"uint256" }
} ],
], "stateMutability": "view",
"stateMutability":"view", "type": "function"
"type":"function" },
}, {
{ "inputs": [
"inputs":[ {
"internalType": "bool",
], "name": "requireSuccess",
"name":"getLastBlockHash", "type": "bool"
"outputs":[ },
{ {
"internalType":"bytes32", "components": [
"name":"blockHash", {
"type":"bytes32" "internalType": "address",
} "name": "target",
], "type": "address"
"stateMutability":"view", },
"type":"function" {
}, "internalType": "bytes",
{ "name": "callData",
"inputs":[ "type": "bytes"
{ }
"internalType":"bool", ],
"name":"requireSuccess", "internalType": "struct Multicall3.Call[]",
"type":"bool" "name": "calls",
}, "type": "tuple[]"
{ }
"components":[ ],
{ "name": "tryAggregate",
"internalType":"address", "outputs": [
"name":"target", {
"type":"address" "components": [
}, {
{ "internalType": "bool",
"internalType":"bytes", "name": "success",
"name":"callData", "type": "bool"
"type":"bytes" },
} {
], "internalType": "bytes",
"internalType":"struct Multicall3.Call[]", "name": "returnData",
"name":"calls", "type": "bytes"
"type":"tuple[]" }
} ],
], "internalType": "struct Multicall3.Result[]",
"name":"tryAggregate", "name": "returnData",
"outputs":[ "type": "tuple[]"
{ }
"components":[ ],
{ "stateMutability": "payable",
"internalType":"bool", "type": "function"
"name":"success", },
"type":"bool" {
}, "inputs": [
{ {
"internalType":"bytes", "internalType": "bool",
"name":"returnData", "name": "requireSuccess",
"type":"bytes" "type": "bool"
} },
], {
"internalType":"struct Multicall3.Result[]", "components": [
"name":"returnData", {
"type":"tuple[]" "internalType": "address",
} "name": "target",
], "type": "address"
"stateMutability":"view", },
"type":"function" {
}, "internalType": "bytes",
{ "name": "callData",
"inputs":[ "type": "bytes"
{ }
"internalType":"bool", ],
"name":"requireSuccess", "internalType": "struct Multicall3.Call[]",
"type":"bool" "name": "calls",
}, "type": "tuple[]"
{ }
"components":[ ],
{ "name": "tryBlockAndAggregate",
"internalType":"address", "outputs": [
"name":"target", {
"type":"address" "internalType": "uint256",
}, "name": "blockNumber",
{ "type": "uint256"
"internalType":"bytes", },
"name":"callData", {
"type":"bytes" "internalType": "bytes32",
} "name": "blockHash",
], "type": "bytes32"
"internalType":"struct Multicall3.Call[]", },
"name":"calls", {
"type":"tuple[]" "components": [
} {
], "internalType": "bool",
"name":"tryBlockAndAggregate", "name": "success",
"outputs":[ "type": "bool"
{ },
"internalType":"uint256", {
"name":"blockNumber", "internalType": "bytes",
"type":"uint256" "name": "returnData",
}, "type": "bytes"
{ }
"internalType":"bytes32", ],
"name":"blockHash", "internalType": "struct Multicall3.Result[]",
"type":"bytes32" "name": "returnData",
}, "type": "tuple[]"
{ }
"components":[ ],
{ "stateMutability": "payable",
"internalType":"bool", "type": "function"
"name":"success", }
"type":"bool" ]
},
{
"internalType":"bytes",
"name":"returnData",
"type":"bytes"
}
],
"internalType":"struct Multicall3.Result[]",
"name":"returnData",
"type":"tuple[]"
}
],
"stateMutability":"view",
"type":"function"
}
]