diff --git a/tests/ragger/abis/erc1155.json b/tests/ragger/abis/erc1155.json index 3c53ad8..6f8e6ab 100644 --- a/tests/ragger/abis/erc1155.json +++ b/tests/ragger/abis/erc1155.json @@ -1,276 +1,276 @@ [ - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : true, - "internalType" : "address", - "name" : "_owner", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_operator", - "type" : "address" - }, - { - "indexed" : false, - "internalType" : "bool", - "name" : "_approved", - "type" : "bool" - } - ], - "name" : "ApprovalForAll", - "type" : "event" - }, - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : true, - "internalType" : "address", - "name" : "_operator", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "indexed" : false, - "internalType" : "uint256[]", - "name" : "_ids", - "type" : "uint256[]" - }, - { - "indexed" : false, - "internalType" : "uint256[]", - "name" : "_values", - "type" : "uint256[]" - } - ], - "name" : "TransferBatch", - "type" : "event" - }, - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : true, - "internalType" : "address", - "name" : "_operator", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "indexed" : false, - "internalType" : "uint256", - "name" : "_id", - "type" : "uint256" - }, - { - "indexed" : false, - "internalType" : "uint256", - "name" : "_value", - "type" : "uint256" - } - ], - "name" : "TransferSingle", - "type" : "event" - }, - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : false, - "internalType" : "string", - "name" : "_value", - "type" : "string" - }, - { - "indexed" : true, - "internalType" : "uint256", - "name" : "_id", - "type" : "uint256" - } - ], - "name" : "URI", - "type" : "event" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_owner", - "type" : "address" - }, - { - "internalType" : "uint256", - "name" : "_id", - "type" : "uint256" - } - ], - "name" : "balanceOf", - "outputs" : [ - { - "internalType" : "uint256", - "name" : "", - "type" : "uint256" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address[]", - "name" : "_owners", - "type" : "address[]" - }, - { - "internalType" : "uint256[]", - "name" : "_ids", - "type" : "uint256[]" - } - ], - "name" : "balanceOfBatch", - "outputs" : [ - { - "internalType" : "uint256[]", - "name" : "", - "type" : "uint256[]" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_owner", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_operator", - "type" : "address" - } - ], - "name" : "isApprovedForAll", - "outputs" : [ - { - "internalType" : "bool", - "name" : "", - "type" : "bool" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "internalType" : "uint256[]", - "name" : "_ids", - "type" : "uint256[]" - }, - { - "internalType" : "uint256[]", - "name" : "_values", - "type" : "uint256[]" - }, - { - "internalType" : "bytes", - "name" : "_data", - "type" : "bytes" - } - ], - "name" : "safeBatchTransferFrom", - "outputs" : [], - "stateMutability" : "nonpayable", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "internalType" : "uint256", - "name" : "_id", - "type" : "uint256" - }, - { - "internalType" : "uint256", - "name" : "_value", - "type" : "uint256" - }, - { - "internalType" : "bytes", - "name" : "_data", - "type" : "bytes" - } - ], - "name" : "safeTransferFrom", - "outputs" : [], - "stateMutability" : "nonpayable", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_operator", - "type" : "address" - }, - { - "internalType" : "bool", - "name" : "_approved", - "type" : "bool" - } - ], - "name" : "setApprovalForAll", - "outputs" : [], - "stateMutability" : "nonpayable", - "type" : "function" - } + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : true, + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_operator", + "type" : "address" + }, + { + "indexed" : false, + "internalType" : "bool", + "name" : "_approved", + "type" : "bool" + } + ], + "name" : "ApprovalForAll", + "type" : "event" + }, + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : true, + "internalType" : "address", + "name" : "_operator", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "indexed" : false, + "internalType" : "uint256[]", + "name" : "_ids", + "type" : "uint256[]" + }, + { + "indexed" : false, + "internalType" : "uint256[]", + "name" : "_values", + "type" : "uint256[]" + } + ], + "name" : "TransferBatch", + "type" : "event" + }, + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : true, + "internalType" : "address", + "name" : "_operator", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "indexed" : false, + "internalType" : "uint256", + "name" : "_id", + "type" : "uint256" + }, + { + "indexed" : false, + "internalType" : "uint256", + "name" : "_value", + "type" : "uint256" + } + ], + "name" : "TransferSingle", + "type" : "event" + }, + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : false, + "internalType" : "string", + "name" : "_value", + "type" : "string" + }, + { + "indexed" : true, + "internalType" : "uint256", + "name" : "_id", + "type" : "uint256" + } + ], + "name" : "URI", + "type" : "event" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_id", + "type" : "uint256" + } + ], + "name" : "balanceOf", + "outputs" : [ + { + "internalType" : "uint256", + "name" : "", + "type" : "uint256" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address[]", + "name" : "_owners", + "type" : "address[]" + }, + { + "internalType" : "uint256[]", + "name" : "_ids", + "type" : "uint256[]" + } + ], + "name" : "balanceOfBatch", + "outputs" : [ + { + "internalType" : "uint256[]", + "name" : "", + "type" : "uint256[]" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_operator", + "type" : "address" + } + ], + "name" : "isApprovedForAll", + "outputs" : [ + { + "internalType" : "bool", + "name" : "", + "type" : "bool" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256[]", + "name" : "_ids", + "type" : "uint256[]" + }, + { + "internalType" : "uint256[]", + "name" : "_values", + "type" : "uint256[]" + }, + { + "internalType" : "bytes", + "name" : "_data", + "type" : "bytes" + } + ], + "name" : "safeBatchTransferFrom", + "outputs" : [], + "stateMutability" : "nonpayable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_id", + "type" : "uint256" + }, + { + "internalType" : "uint256", + "name" : "_value", + "type" : "uint256" + }, + { + "internalType" : "bytes", + "name" : "_data", + "type" : "bytes" + } + ], + "name" : "safeTransferFrom", + "outputs" : [], + "stateMutability" : "nonpayable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_operator", + "type" : "address" + }, + { + "internalType" : "bool", + "name" : "_approved", + "type" : "bool" + } + ], + "name" : "setApprovalForAll", + "outputs" : [], + "stateMutability" : "nonpayable", + "type" : "function" + } ] diff --git a/tests/ragger/abis/erc20.json b/tests/ragger/abis/erc20.json new file mode 100644 index 0000000..301b946 --- /dev/null +++ b/tests/ragger/abis/erc20.json @@ -0,0 +1,135 @@ +[ + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_spender", + "type" : "address" + } + ], + "name" : "allowance", + "outputs" : [ + { + "internalType" : "uint256", + "name" : "remaining", + "type" : "uint256" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_spender", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_value", + "type" : "uint256" + } + ], + "name" : "approve", + "outputs" : [ + { + "internalType" : "bool", + "name" : "success", + "type" : "bool" + } + ], + "stateMutability" : "nonpayable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_owner", + "type" : "address" + } + ], + "name" : "balanceOf", + "outputs" : [ + { + "internalType" : "uint256", + "name" : "balance", + "type" : "uint256" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [], + "name" : "totalSupply", + "outputs" : [ + { + "internalType" : "uint256", + "name" : "", + "type" : "uint256" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_value", + "type" : "uint256" + } + ], + "name" : "transfer", + "outputs" : [ + { + "internalType" : "bool", + "name" : "success", + "type" : "bool" + } + ], + "stateMutability" : "nonpayable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_value", + "type" : "uint256" + } + ], + "name" : "transferFrom", + "outputs" : [ + { + "internalType" : "bool", + "name" : "success", + "type" : "bool" + } + ], + "stateMutability" : "nonpayable", + "type" : "function" + } +] diff --git a/tests/ragger/abis/erc721.json b/tests/ragger/abis/erc721.json index e00d5ca..b6f5835 100644 --- a/tests/ragger/abis/erc721.json +++ b/tests/ragger/abis/erc721.json @@ -1,268 +1,268 @@ [ - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : true, - "internalType" : "address", - "name" : "_owner", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_approved", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "Approval", - "type" : "event" - }, - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : true, - "internalType" : "address", - "name" : "_owner", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_operator", - "type" : "address" - }, - { - "indexed" : false, - "internalType" : "bool", - "name" : "_approved", - "type" : "bool" - } - ], - "name" : "ApprovalForAll", - "type" : "event" - }, - { - "anonymous" : false, - "inputs" : [ - { - "indexed" : true, - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "indexed" : true, - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "Transfer", - "type" : "event" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_approved", - "type" : "address" - }, - { - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "approve", - "outputs" : [], - "stateMutability" : "payable", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_owner", - "type" : "address" - } - ], - "name" : "balanceOf", - "outputs" : [ - { - "internalType" : "uint256", - "name" : "", - "type" : "uint256" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "getApproved", - "outputs" : [ - { - "internalType" : "address", - "name" : "", - "type" : "address" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_owner", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_operator", - "type" : "address" - } - ], - "name" : "isApprovedForAll", - "outputs" : [ - { - "internalType" : "bool", - "name" : "", - "type" : "bool" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "ownerOf", - "outputs" : [ - { - "internalType" : "address", - "name" : "", - "type" : "address" - } - ], - "stateMutability" : "view", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "safeTransferFrom", - "outputs" : [], - "stateMutability" : "payable", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - }, - { - "internalType" : "bytes", - "name" : "data", - "type" : "bytes" - } - ], - "name" : "safeTransferFrom", - "outputs" : [], - "stateMutability" : "payable", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_operator", - "type" : "address" - }, - { - "internalType" : "bool", - "name" : "_approved", - "type" : "bool" - } - ], - "name" : "setApprovalForAll", - "outputs" : [], - "stateMutability" : "nonpayable", - "type" : "function" - }, - { - "inputs" : [ - { - "internalType" : "address", - "name" : "_from", - "type" : "address" - }, - { - "internalType" : "address", - "name" : "_to", - "type" : "address" - }, - { - "internalType" : "uint256", - "name" : "_tokenId", - "type" : "uint256" - } - ], - "name" : "transferFrom", - "outputs" : [], - "stateMutability" : "payable", - "type" : "function" - } + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : true, + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_approved", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "Approval", + "type" : "event" + }, + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : true, + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_operator", + "type" : "address" + }, + { + "indexed" : false, + "internalType" : "bool", + "name" : "_approved", + "type" : "bool" + } + ], + "name" : "ApprovalForAll", + "type" : "event" + }, + { + "anonymous" : false, + "inputs" : [ + { + "indexed" : true, + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "indexed" : true, + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "Transfer", + "type" : "event" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_approved", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "approve", + "outputs" : [], + "stateMutability" : "payable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_owner", + "type" : "address" + } + ], + "name" : "balanceOf", + "outputs" : [ + { + "internalType" : "uint256", + "name" : "", + "type" : "uint256" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "getApproved", + "outputs" : [ + { + "internalType" : "address", + "name" : "", + "type" : "address" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_owner", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_operator", + "type" : "address" + } + ], + "name" : "isApprovedForAll", + "outputs" : [ + { + "internalType" : "bool", + "name" : "", + "type" : "bool" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "ownerOf", + "outputs" : [ + { + "internalType" : "address", + "name" : "", + "type" : "address" + } + ], + "stateMutability" : "view", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "safeTransferFrom", + "outputs" : [], + "stateMutability" : "payable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + }, + { + "internalType" : "bytes", + "name" : "data", + "type" : "bytes" + } + ], + "name" : "safeTransferFrom", + "outputs" : [], + "stateMutability" : "payable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_operator", + "type" : "address" + }, + { + "internalType" : "bool", + "name" : "_approved", + "type" : "bool" + } + ], + "name" : "setApprovalForAll", + "outputs" : [], + "stateMutability" : "nonpayable", + "type" : "function" + }, + { + "inputs" : [ + { + "internalType" : "address", + "name" : "_from", + "type" : "address" + }, + { + "internalType" : "address", + "name" : "_to", + "type" : "address" + }, + { + "internalType" : "uint256", + "name" : "_tokenId", + "type" : "uint256" + } + ], + "name" : "transferFrom", + "outputs" : [], + "stateMutability" : "payable", + "type" : "function" + } ]