diff --git a/.env b/.env new file mode 100644 index 00000000..98da6a18 --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +FAUCET_PRIVATEKEY='0x6c1711e9f5697053542c5e8127f931363d811d6b7618482e421557d7ebe29173' +CHAIN_ID=1337 +RPC_URL='http://localhost:8610' \ No newline at end of file diff --git a/.env.dist b/.env.dist new file mode 100644 index 00000000..244ea692 --- /dev/null +++ b/.env.dist @@ -0,0 +1,6 @@ +#This is only for running tests + +CHAIN_ID= +FAUCET_PRIVATEKEY= +RPC_URL= + diff --git a/.gitignore b/.gitignore index 1d109b37..328cd40d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ node_modules/** output/** - +.env **/*.swp **/*.tgz dist/*.gz diff --git a/lib.commonjs/_tests/contracts/QRC20.d.ts b/lib.commonjs/_tests/contracts/QRC20.d.ts new file mode 100644 index 00000000..503cb874 --- /dev/null +++ b/lib.commonjs/_tests/contracts/QRC20.d.ts @@ -0,0 +1,50 @@ +declare const QRC20: { + _format: string; + contractName: string; + sourceName: string; + abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + name?: undefined; + outputs?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + bytecode: string; + deployedBytecode: string; + linkReferences: {}; + deployedLinkReferences: {}; +}; +export default QRC20; +//# sourceMappingURL=QRC20.d.ts.map \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/QRC20.d.ts.map b/lib.commonjs/_tests/contracts/QRC20.d.ts.map new file mode 100644 index 00000000..d2320201 --- /dev/null +++ b/lib.commonjs/_tests/contracts/QRC20.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"QRC20.d.ts","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/QRC20.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4dV,CAAA;AAGD,eAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/QRC20.js b/lib.commonjs/_tests/contracts/QRC20.js new file mode 100644 index 00000000..9c48b32d --- /dev/null +++ b/lib.commonjs/_tests/contracts/QRC20.js @@ -0,0 +1,481 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const QRC20 = { + "_format": "hh-sol-artifact-1", + "contractName": "QRC20", + "sourceName": "contracts/QRC20.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint256", + "name": "initialSupply_", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "ExternalTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint8[]", + "name": "chain", + "type": "uint8[]" + }, + { + "internalType": "address[]", + "name": "addr", + "type": "address[]" + } + ], + "name": "AddApprovedAddresses", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "ApprovedAddresses", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "Ranges", + "outputs": [ + { + "internalType": "uint8", + "name": "low", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "high", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minerTip", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "baseFee", + "type": "uint256" + } + ], + "name": "crossChainTransfer", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "getAddressLocation", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "incomingTransfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "a", + "type": "address" + } + ], + "name": "toBytes", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "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": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60806040523480156200001157600080fd5b5060405162001f7238038062001f72833981016040819052620000349162000325565b600f62000042848262000426565b50601062000051838262000426565b50601180546001600160a01b03191633908117909155819062000075908262000195565b505060408051808201825260008152601d60209182015260128054611d0061ffff199182161790915582518084018452601e8152603a90830152601380548216613a1e17905582518084018452603b815260579083015260148054821661573b17905582518084018452605881526073908301526015805482166173581790558251808401845260748152608f90830152601680548216618f74179055825180840184526090815260ab9083015260178054821661ab901790558251808401845260ac815260c79083015260188054821661c7ac1790558251808401845260c8815260e39083015260198054821661e3c8179055825180840190935260e4835260ff9290910191909152601a805490911661ffe4179055506200051a9050565b6001600160a01b038216620001f05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600e6000828254620002049190620004f2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028857600080fd5b81516001600160401b0380821115620002a557620002a562000260565b604051601f8301601f19908116603f01168101908282118183101715620002d057620002d062000260565b81604052838152602092508683858801011115620002ed57600080fd5b600091505b83821015620003115785820183015181830184015290820190620002f2565b600093810190920192909252949350505050565b6000806000606084860312156200033b57600080fd5b83516001600160401b03808211156200035357600080fd5b620003618783880162000276565b945060208601519150808211156200037857600080fd5b50620003878682870162000276565b925050604084015190509250925092565b600181811c90821680620003ad57607f821691505b602082108103620003ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025b57600081815260208120601f850160051c81016020861015620003fd5750805b601f850160051c820191505b818110156200041e5782815560010162000409565b505050505050565b81516001600160401b0381111562000442576200044262000260565b6200045a8162000453845462000398565b84620003d4565b602080601f831160018114620004925760008415620004795750858301515b600019600386901b1c1916600185901b1785556200041e565b600085815260208120601f198616915b82811015620004c357888601518255948401946001909101908401620004a2565b5085821015620004e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200051457634e487b7160e01b600052601160045260246000fd5b92915050565b611a48806200052a6000396000f3fe6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea26469706673582212204c6dd8a18c56cd6389a7fc7f0bf473d092abcc9aec3ae408859c35bbcc52713e64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea26469706673582212204c6dd8a18c56cd6389a7fc7f0bf473d092abcc9aec3ae408859c35bbcc52713e64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +}; +exports.default = QRC20; +//# sourceMappingURL=QRC20.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/QRC20.js.map b/lib.commonjs/_tests/contracts/QRC20.js.map new file mode 100644 index 00000000..33011f46 --- /dev/null +++ b/lib.commonjs/_tests/contracts/QRC20.js.map @@ -0,0 +1 @@ +{"version":3,"file":"QRC20.js","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/QRC20.ts"],"names":[],"mappings":";;AAAA,MAAM,KAAK,GAAG;IACZ,SAAS,EAAE,mBAAmB;IAC9B,cAAc,EAAE,OAAO;IACvB,YAAY,EAAE,qBAAqB;IACnC,KAAK,EAAE;QACL;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,OAAO;oBACf,MAAM,EAAE,QAAQ;iBACjB;gBACD;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,SAAS;oBACj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QAAQ;oBAChB,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,MAAM,EAAE,cAAc;YACtB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,MAAM;oBACtB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,MAAM;iBACf;aACF;YACD,iBAAiB,EAAE,YAAY;YAC/B,MAAM,EAAE,UAAU;SACnB;KACF;IACD,UAAU,EAAE,wufAAwuf;IACpvf,kBAAkB,EAAE,opaAAopa;IACxqa,gBAAgB,EAAE,EAAE;IACpB,wBAAwB,EAAE,EAAE;CAC7B,CAAA;AAGD,kBAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/QRC20.json b/lib.commonjs/_tests/contracts/QRC20.json new file mode 100644 index 00000000..bc12fc85 --- /dev/null +++ b/lib.commonjs/_tests/contracts/QRC20.json @@ -0,0 +1,477 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "QRC20", + "sourceName": "contracts/QRC20.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint256", + "name": "initialSupply_", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "ExternalTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint8[]", + "name": "chain", + "type": "uint8[]" + }, + { + "internalType": "address[]", + "name": "addr", + "type": "address[]" + } + ], + "name": "AddApprovedAddresses", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "ApprovedAddresses", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "Ranges", + "outputs": [ + { + "internalType": "uint8", + "name": "low", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "high", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minerTip", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "baseFee", + "type": "uint256" + } + ], + "name": "crossChainTransfer", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "getAddressLocation", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "incomingTransfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "a", + "type": "address" + } + ], + "name": "toBytes", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "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": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60806040523480156200001157600080fd5b5060405162001f8238038062001f82833981016040819052620000349162000335565b600f62000042848262000436565b50601062000051838262000436565b50601180546001600160a01b031916339081179091556a084595161401484a000000600e81905590620000859082620001a5565b505060408051808201825260008152601d60209182015260128054611d0061ffff199182161790915582518084018452601e8152603a90830152601380548216613a1e17905582518084018452603b815260579083015260148054821661573b17905582518084018452605881526073908301526015805482166173581790558251808401845260748152608f90830152601680548216618f74179055825180840184526090815260ab9083015260178054821661ab901790558251808401845260ac815260c79083015260188054821661c7ac1790558251808401845260c8815260e39083015260198054821661e3c8179055825180840190935260e4835260ff9290910191909152601a805490911661ffe4179055506200052a9050565b6001600160a01b038216620002005760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600e600082825462000214919062000502565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200029857600080fd5b81516001600160401b0380821115620002b557620002b562000270565b604051601f8301601f19908116603f01168101908282118183101715620002e057620002e062000270565b81604052838152602092508683858801011115620002fd57600080fd5b600091505b8382101562000321578582018301518183018401529082019062000302565b600093810190920192909252949350505050565b6000806000606084860312156200034b57600080fd5b83516001600160401b03808211156200036357600080fd5b620003718783880162000286565b945060208601519150808211156200038857600080fd5b50620003978682870162000286565b925050604084015190509250925092565b600181811c90821680620003bd57607f821691505b602082108103620003de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026b57600081815260208120601f850160051c810160208610156200040d5750805b601f850160051c820191505b818110156200042e5782815560010162000419565b505050505050565b81516001600160401b0381111562000452576200045262000270565b6200046a81620004638454620003a8565b84620003e4565b602080601f831160018114620004a25760008415620004895750858301515b600019600386901b1c1916600185901b1785556200042e565b600085815260208120601f198616915b82811015620004d357888601518255948401946001909101908401620004b2565b5085821015620004f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200052457634e487b7160e01b600052601160045260246000fd5b92915050565b611a48806200053a6000396000f3fe6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea264697066735822122027ddf0799d49f3722dc7495f521d95c21d57e2ebdd040c124e79a2a2289b1f4964736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea264697066735822122027ddf0799d49f3722dc7495f521d95c21d57e2ebdd040c124e79a2a2289b1f4964736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/lib.commonjs/_tests/contracts/TestContract.d.ts b/lib.commonjs/_tests/contracts/TestContract.d.ts new file mode 100644 index 00000000..c42d178a --- /dev/null +++ b/lib.commonjs/_tests/contracts/TestContract.d.ts @@ -0,0 +1,50 @@ +declare const TestContract: { + _format: string; + contractName: string; + sourceName: string; + abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + anonymous?: undefined; + outputs?: undefined; + stateMutability?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + bytecode: string; + deployedBytecode: string; + linkReferences: {}; + deployedLinkReferences: {}; +}; +export default TestContract; +//# sourceMappingURL=TestContract.d.ts.map \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TestContract.d.ts.map b/lib.commonjs/_tests/contracts/TestContract.d.ts.map new file mode 100644 index 00000000..3f1bd915 --- /dev/null +++ b/lib.commonjs/_tests/contracts/TestContract.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TestContract.d.ts","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TestContract.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0MjB,CAAA;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TestContract.js b/lib.commonjs/_tests/contracts/TestContract.js new file mode 100644 index 00000000..46073f60 --- /dev/null +++ b/lib.commonjs/_tests/contracts/TestContract.js @@ -0,0 +1,207 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const TestContract = { + "_format": "hh-sol-artifact-1", + "contractName": "TestContract", + "sourceName": "contracts/Test.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "CustomError1", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "value", + "type": "address" + } + ], + "name": "EventAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "value", + "type": "bytes" + } + ], + "name": "EventBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "value", + "type": "string" + } + ], + "name": "EventString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "EventUint256", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "testCallAdd", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "pass", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "testCustomError1", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "pass", + "type": "bool" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "testErrorString", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "valueUint256", + "type": "uint256" + }, + { + "internalType": "address", + "name": "valueAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "valueString", + "type": "string" + }, + { + "internalType": "bytes", + "name": "valueBytes", + "type": "bytes" + } + ], + "name": "testEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + } + ], + "name": "testPanic", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061058d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063c8d6fda711610050578063c8d6fda7146100a4578063db734248146100b9578063f24684e5146100cc57600080fd5b80633da613681461006c578063b206699b14610091575b600080fd5b61007f61007a3660046102aa565b6100df565b60405190815260200160405180910390f35b61007f61009f366004610321565b61013a565b6100b76100b2366004610374565b610167565b005b61007f6100c7366004610419565b61024d565b61007f6100da366004610473565b610295565b6000816000036101365760405162461bcd60e51b815260206004820152601360248201527f50616e69633a20636f6465206973207a65726f0000000000000000000000000060448201526064015b60405180910390fd5b5090565b600082828561015d5760405162461bcd60e51b815260040161012d9291906104be565b5091949350505050565b60405186907f85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea33790600090a260405173ffffffffffffffffffffffffffffffffffffffff8616907f52cb491081609a3d8c50cb8d5c1395de748f65789fc66e140e795decadd86c3090600090a27f7240e2f75cccc64acf37f699b7cc2726ccd9c0ed8afeafdbf7911af78d077bad84846040516102049291906104be565b60405180910390a17f06e852ba9138ee18ce13f482908b8634bc29d809282ea568cf505aca412b195e828260405161023d9291906104be565b60405180910390a1505050505050565b60008461028c578383836040517f180c751a00000000000000000000000000000000000000000000000000000000815260040161012d939291906104da565b50919392505050565b60006102a182846104fd565b90505b92915050565b6000602082840312156102bc57600080fd5b5035919050565b803580151581146102d357600080fd5b919050565b60008083601f8401126102ea57600080fd5b50813567ffffffffffffffff81111561030257600080fd5b60208301915083602082850101111561031a57600080fd5b9250929050565b60008060006040848603121561033657600080fd5b61033f846102c3565b9250602084013567ffffffffffffffff81111561035b57600080fd5b610367868287016102d8565b9497909650939450505050565b6000806000806000806080878903121561038d57600080fd5b86359550602087013573ffffffffffffffffffffffffffffffffffffffff811681146103b857600080fd5b9450604087013567ffffffffffffffff808211156103d557600080fd5b6103e18a838b016102d8565b909650945060608901359150808211156103fa57600080fd5b5061040789828a016102d8565b979a9699509497509295939492505050565b6000806000806060858703121561042f57600080fd5b610438856102c3565b935060208501359250604085013567ffffffffffffffff81111561045b57600080fd5b610467878288016102d8565b95989497509550505050565b6000806040838503121561048657600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006104d2602083018486610495565b949350505050565b8381526040602082015260006104f4604083018486610495565b95945050505050565b808201808211156102a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aa52c22ce2f4a856b56d32ae58c6b41a9dba4c7aed43a0872ffa898f157e67b564736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c8063c8d6fda711610050578063c8d6fda7146100a4578063db734248146100b9578063f24684e5146100cc57600080fd5b80633da613681461006c578063b206699b14610091575b600080fd5b61007f61007a3660046102aa565b6100df565b60405190815260200160405180910390f35b61007f61009f366004610321565b61013a565b6100b76100b2366004610374565b610167565b005b61007f6100c7366004610419565b61024d565b61007f6100da366004610473565b610295565b6000816000036101365760405162461bcd60e51b815260206004820152601360248201527f50616e69633a20636f6465206973207a65726f0000000000000000000000000060448201526064015b60405180910390fd5b5090565b600082828561015d5760405162461bcd60e51b815260040161012d9291906104be565b5091949350505050565b60405186907f85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea33790600090a260405173ffffffffffffffffffffffffffffffffffffffff8616907f52cb491081609a3d8c50cb8d5c1395de748f65789fc66e140e795decadd86c3090600090a27f7240e2f75cccc64acf37f699b7cc2726ccd9c0ed8afeafdbf7911af78d077bad84846040516102049291906104be565b60405180910390a17f06e852ba9138ee18ce13f482908b8634bc29d809282ea568cf505aca412b195e828260405161023d9291906104be565b60405180910390a1505050505050565b60008461028c578383836040517f180c751a00000000000000000000000000000000000000000000000000000000815260040161012d939291906104da565b50919392505050565b60006102a182846104fd565b90505b92915050565b6000602082840312156102bc57600080fd5b5035919050565b803580151581146102d357600080fd5b919050565b60008083601f8401126102ea57600080fd5b50813567ffffffffffffffff81111561030257600080fd5b60208301915083602082850101111561031a57600080fd5b9250929050565b60008060006040848603121561033657600080fd5b61033f846102c3565b9250602084013567ffffffffffffffff81111561035b57600080fd5b610367868287016102d8565b9497909650939450505050565b6000806000806000806080878903121561038d57600080fd5b86359550602087013573ffffffffffffffffffffffffffffffffffffffff811681146103b857600080fd5b9450604087013567ffffffffffffffff808211156103d557600080fd5b6103e18a838b016102d8565b909650945060608901359150808211156103fa57600080fd5b5061040789828a016102d8565b979a9699509497509295939492505050565b6000806000806060858703121561042f57600080fd5b610438856102c3565b935060208501359250604085013567ffffffffffffffff81111561045b57600080fd5b610467878288016102d8565b95989497509550505050565b6000806040838503121561048657600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006104d2602083018486610495565b949350505050565b8381526040602082015260006104f4604083018486610495565b95945050505050565b808201808211156102a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aa52c22ce2f4a856b56d32ae58c6b41a9dba4c7aed43a0872ffa898f157e67b564736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +}; +exports.default = TestContract; +//# sourceMappingURL=TestContract.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TestContract.js.map b/lib.commonjs/_tests/contracts/TestContract.js.map new file mode 100644 index 00000000..8f7f2354 --- /dev/null +++ b/lib.commonjs/_tests/contracts/TestContract.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TestContract.js","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TestContract.ts"],"names":[],"mappings":";;AAAA,MAAM,YAAY,GAAG;IACnB,SAAS,EAAE,mBAAmB;IAC9B,cAAc,EAAE,cAAc;IAC9B,YAAY,EAAE,oBAAoB;IAClC,KAAK,EAAE;QACL;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,SAAS;oBACjB,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,MAAM,EAAE,cAAc;YACtB,MAAM,EAAE,OAAO;SAChB;QACD;YACE,WAAW,EAAE,KAA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EAAE,OAAO;iBAChB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,EAAE;YACb,iBAAiB,EAAE,YAAY;YAC/B,MAAM,EAAE,UAAU;SACnB;QACD;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,iBAAiB,EAAE,MAAM;YACzB,MAAM,EAAE,UAAU;SACnB;KACF;IACD,UAAU,EAAE,81FAA81F;IAC12F,kBAAkB,EAAE,8xFAA8xF;IAClzF,gBAAgB,EAAE,EAAE;IACpB,wBAAwB,EAAE,EAAE;CAC7B,CAAA;AAED,kBAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TypedContract.d.ts b/lib.commonjs/_tests/contracts/TypedContract.d.ts new file mode 100644 index 00000000..01194bde --- /dev/null +++ b/lib.commonjs/_tests/contracts/TypedContract.d.ts @@ -0,0 +1,26 @@ +declare const TypedContract: { + _format: string; + contractName: string; + sourceName: string; + abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + }[]; + bytecode: string; + deployedBytecode: string; + linkReferences: {}; + deployedLinkReferences: {}; +}; +export default TypedContract; +//# sourceMappingURL=TypedContract.d.ts.map \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TypedContract.d.ts.map b/lib.commonjs/_tests/contracts/TypedContract.d.ts.map new file mode 100644 index 00000000..101393e4 --- /dev/null +++ b/lib.commonjs/_tests/contracts/TypedContract.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TypedContract.d.ts","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TypedContract.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;CAs3DlB,CAAA;AAKD,eAAe,aAAa,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TypedContract.js b/lib.commonjs/_tests/contracts/TypedContract.js new file mode 100644 index 00000000..3d60eb93 --- /dev/null +++ b/lib.commonjs/_tests/contracts/TypedContract.js @@ -0,0 +1,1915 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const TypedContract = { + "_format": "hh-sol-artifact-1", + "contractName": "TypedContract", + "sourceName": "contracts/TestTyped.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes24", + "name": "", + "type": "bytes24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int208", + "name": "", + "type": "int208" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint176", + "name": "", + "type": "uint176" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes9", + "name": "", + "type": "bytes9" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int72", + "name": "", + "type": "int72" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint200", + "name": "", + "type": "uint200" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes20", + "name": "", + "type": "bytes20" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int32", + "name": "", + "type": "int32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint216", + "name": "", + "type": "uint216" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint184", + "name": "", + "type": "uint184" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint152", + "name": "", + "type": "uint152" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int248", + "name": "", + "type": "int248" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint80", + "name": "", + "type": "uint80" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes28", + "name": "", + "type": "bytes28" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes30", + "name": "", + "type": "bytes30" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int120", + "name": "", + "type": "int120" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes21", + "name": "", + "type": "bytes21" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint104", + "name": "", + "type": "uint104" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int96", + "name": "", + "type": "int96" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint224", + "name": "", + "type": "uint224" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int168", + "name": "", + "type": "int168" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int200", + "name": "", + "type": "int200" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int184", + "name": "", + "type": "int184" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes14", + "name": "", + "type": "bytes14" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint192", + "name": "", + "type": "uint192" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes2", + "name": "", + "type": "bytes2" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint24", + "name": "", + "type": "uint24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int112", + "name": "", + "type": "int112" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes6", + "name": "", + "type": "bytes6" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes3", + "name": "", + "type": "bytes3" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes17", + "name": "", + "type": "bytes17" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int224", + "name": "", + "type": "int224" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int128", + "name": "", + "type": "int128" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes18", + "name": "", + "type": "bytes18" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int104", + "name": "", + "type": "int104" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes7", + "name": "", + "type": "bytes7" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes25", + "name": "", + "type": "bytes25" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint40", + "name": "", + "type": "uint40" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint120", + "name": "", + "type": "uint120" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint168", + "name": "", + "type": "uint168" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int136", + "name": "", + "type": "int136" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint248", + "name": "", + "type": "uint248" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes8", + "name": "", + "type": "bytes8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int192", + "name": "", + "type": "int192" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int216", + "name": "", + "type": "int216" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint240", + "name": "", + "type": "uint240" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint112", + "name": "", + "type": "uint112" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes29", + "name": "", + "type": "bytes29" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int80", + "name": "", + "type": "int80" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int176", + "name": "", + "type": "int176" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes31", + "name": "", + "type": "bytes31" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint208", + "name": "", + "type": "uint208" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint88", + "name": "", + "type": "uint88" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes10", + "name": "", + "type": "bytes10" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes16", + "name": "", + "type": "bytes16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int88", + "name": "", + "type": "int88" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes12", + "name": "", + "type": "bytes12" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes27", + "name": "", + "type": "bytes27" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int64", + "name": "", + "type": "int64" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint136", + "name": "", + "type": "uint136" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint232", + "name": "", + "type": "uint232" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes26", + "name": "", + "type": "bytes26" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes5", + "name": "", + "type": "bytes5" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint48", + "name": "", + "type": "uint48" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int40", + "name": "", + "type": "int40" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint96", + "name": "", + "type": "uint96" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint160", + "name": "", + "type": "uint160" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int8", + "name": "", + "type": "int8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint72", + "name": "", + "type": "uint72" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int232", + "name": "", + "type": "int232" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int16", + "name": "", + "type": "int16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes15", + "name": "", + "type": "bytes15" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint56", + "name": "", + "type": "uint56" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes23", + "name": "", + "type": "bytes23" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int240", + "name": "", + "type": "int240" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int160", + "name": "", + "type": "int160" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint128", + "name": "", + "type": "uint128" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int48", + "name": "", + "type": "int48" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes13", + "name": "", + "type": "bytes13" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes22", + "name": "", + "type": "bytes22" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes19", + "name": "", + "type": "bytes19" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int152", + "name": "", + "type": "int152" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint144", + "name": "", + "type": "uint144" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int24", + "name": "", + "type": "int24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes11", + "name": "", + "type": "bytes11" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int56", + "name": "", + "type": "int56" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int144", + "name": "", + "type": "int144" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes1", + "name": "", + "type": "bytes1" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506134a7806100206000396000f3fe608060405234801561001057600080fd5b506004361061065c5760003560e01c8063a202e8c011610345578063cec31ded116101bd578063e96add8c11610104578063f3164597116100ad578063f85a090311610087578063f85a0903146120b7578063fa4d99c9146120fd578063fbf3e13a14612143578063fd1652cb1461218957600080fd5b8063f316459714611fe5578063f44076171461202b578063f7b0e3d51461207157600080fd5b8063eecd1129116100de578063eecd112914611f13578063ef4483be14611f59578063f0fb21ff14611f9f57600080fd5b8063e96add8c14611e41578063e9da42ca14611e87578063eb01940114611ecd57600080fd5b8063d92e6c0611610166578063e0fa6ea111610140578063e0fa6ea114611d6f578063e137fb7014611db5578063e8fb922314611dfb57600080fd5b8063d92e6c0614611c9d578063dad2ef4f14611ce3578063dafbc72414611d2957600080fd5b8063d4b789d811610197578063d4b789d814611bcb578063d4c0c48614611c11578063d7d7398414611c5757600080fd5b8063cec31ded14611af9578063d0e03b0714611b3f578063d20f679a14611b8557600080fd5b8063bbeb25e01161028c578063c233fd3311610235578063c84ad5801161020f578063c84ad580146119e1578063c8ddda4a14611a27578063cc69cf9714611a6d578063ccd94f9814611ab357600080fd5b8063c233fd331461190f578063c639604b14611955578063c847fe3b1461199b57600080fd5b8063c081607b11610266578063c081607b1461183d578063c1397e9914611883578063c1847bee146118c957600080fd5b8063bbeb25e01461176b578063bccdc9c4146117b1578063bf01c7f9146117f757600080fd5b8063ad87e2e1116102ee578063b860f47f116102c8578063b860f47f14611699578063ba607fac146116df578063bb73447f1461172557600080fd5b8063ad87e2e1146115c7578063b429b23c1461160d578063b7bab2861461165357600080fd5b8063a925e7621161031f578063a925e762146114f5578063a95d606e1461153b578063aa8de9461461158157600080fd5b8063a202e8c014611423578063a3ab9e7a14611469578063a6496f62146114af57600080fd5b806351e0489a116104d85780637c9affcb1161041f578063891a099d116103c85780639df2391c116103a25780639df2391c1461130b5780639faf388f146113515780639fcbede614611397578063a178b800146113dd57600080fd5b8063891a099d146112395780638e4884d11461127f5780639ded4e2b146112c557600080fd5b806381c4b4cc116103f957806381c4b4cc146111675780638275b290146111ad57806387ad7515146111f357600080fd5b80637c9affcb146110955780637fcc3d5d146110db578063803bf56d1461112157600080fd5b80636913a82b11610481578063769008e41161045b578063769008e414610fc35780637a3058c1146110095780637bc705c11461104f57600080fd5b80636913a82b14610ef15780636a678a7514610f3757806375b5533714610f7d57600080fd5b80636357d3b7116104b25780636357d3b714610e1f578063659665f914610e65578063679b530214610eab57600080fd5b806351e0489a14610d4d57806357301b0214610d935780635793d40814610dd957600080fd5b80632a0caa6a116105a7578063429545a4116105505780634961a7ce1161052a5780634961a7ce14610c355780634a3ccd5f14610c7b5780634fb7d4bd14610cc157806350fbcfb614610d0757600080fd5b8063429545a414610b6357806343c84f3314610ba957806346d79d1314610bef57600080fd5b806333c064151161058157806333c0641514610a9157806334bdbab714610ad75780634029cdee14610b1d57600080fd5b80632a0caa6a146109bf5780632a97dfbf14610a055780632f0d528b14610a4b57600080fd5b80631b46fa941161060957806325cb6b9a116105e357806325cb6b9a146108ed57806326888cda1461093357806328b01d811461097957600080fd5b80631b46fa941461081b5780631eb765fd1461086157806325bc2c82146108a757600080fd5b8063107810d51161063a578063107810d5146107495780631400a02f1461078f5780631a762a3a146107d557600080fd5b806303290450146106615780630e9ba011146106bd5780630f84821114610703575b600080fd5b6106a761066f3660046121cf565b5060408051808201909152600681527f75696e7433320000000000000000000000000000000000000000000000000000602082015290565b6040516106b491906121fc565b60405180910390f35b6106a76106cb36600461224a565b5060408051808201909152600781527f6279746573323400000000000000000000000000000000000000000000000000602082015290565b6106a7610711366004612275565b5060408051808201909152600681527f696e743230380000000000000000000000000000000000000000000000000000602082015290565b6106a7610757366004612298565b5060408051808201909152600781527f75696e7431373600000000000000000000000000000000000000000000000000602082015290565b6106a761079d3660046122d0565b5060408051808201909152600681527f6279746573340000000000000000000000000000000000000000000000000000602082015290565b6106a76107e3366004612312565b5060408051808201909152600681527f6279746573390000000000000000000000000000000000000000000000000000602082015290565b6106a7610829366004612354565b5060408051808201909152600581527f696e743732000000000000000000000000000000000000000000000000000000602082015290565b6106a761086f366004612377565b5060408051808201909152600781527f75696e7432303000000000000000000000000000000000000000000000000000602082015290565b6106a76108b53660046123b2565b5060408051808201909152600781527f6279746573323000000000000000000000000000000000000000000000000000602082015290565b6106a76108fb3660046123e1565b5060408051808201909152600581527f696e743332000000000000000000000000000000000000000000000000000000602082015290565b6106a7610941366004612404565b5060408051808201909152600781527f75696e7432313600000000000000000000000000000000000000000000000000602082015290565b6106a7610987366004612441565b5060408051808201909152600781527f75696e7431383400000000000000000000000000000000000000000000000000602082015290565b6106a76109cd36600461247a565b5060408051808201909152600781527f75696e7431353200000000000000000000000000000000000000000000000000602082015290565b6106a7610a133660046124af565b5060408051808201909152600681527f696e743234380000000000000000000000000000000000000000000000000000602082015290565b6106a7610a593660046124d2565b5060408051808201909152600681527f75696e7438300000000000000000000000000000000000000000000000000000602082015290565b6106a7610a9f3660046124fe565b5060408051808201909152600781527f6279746573323800000000000000000000000000000000000000000000000000602082015290565b6106a7610ae5366004612525565b5060408051808201909152600781527f6279746573333000000000000000000000000000000000000000000000000000602082015290565b6106a7610b2b36600461254a565b5060408051808201909152600681527f696e743132300000000000000000000000000000000000000000000000000000602082015290565b6106a7610b7136600461256d565b5060408051808201909152600781527f6279746573323100000000000000000000000000000000000000000000000000602082015290565b6106a7610bb736600461259b565b5060408051808201909152600781527f75696e7431303400000000000000000000000000000000000000000000000000602082015290565b6106a7610bfd3660046125ca565b5060408051808201909152600581527f696e743936000000000000000000000000000000000000000000000000000000602082015290565b6106a7610c433660046125ed565b5060408051808201909152600781527f75696e7432323400000000000000000000000000000000000000000000000000602082015290565b6106a7610c8936600461262b565b5060408051808201909152600681527f696e743136380000000000000000000000000000000000000000000000000000602082015290565b6106a7610ccf36600461264e565b5060408051808201909152600681527f696e743230300000000000000000000000000000000000000000000000000000602082015290565b6106a7610d15366004612671565b5060408051808201909152600681527f696e743138340000000000000000000000000000000000000000000000000000602082015290565b6106a7610d5b366004612694565b5060408051808201909152600781527f6279746573313400000000000000000000000000000000000000000000000000602082015290565b6106a7610da13660046126d6565b5060408051808201909152600781527f75696e7431393200000000000000000000000000000000000000000000000000602082015290565b6106a7610de7366004612710565b5060408051808201909152600681527f6279746573320000000000000000000000000000000000000000000000000000602082015290565b6106a7610e2d366004612752565b5060408051808201909152600681527f75696e7432340000000000000000000000000000000000000000000000000000602082015290565b6106a7610e73366004612777565b5060408051808201909152600681527f696e743131320000000000000000000000000000000000000000000000000000602082015290565b6106a7610eb936600461279a565b5060408051808201909152600681527f6279746573360000000000000000000000000000000000000000000000000000602082015290565b6106a7610eff3660046127dc565b5060408051808201909152600681527f75696e7431360000000000000000000000000000000000000000000000000000602082015290565b6106a7610f45366004612800565b5060408051808201909152600681527f6279746573330000000000000000000000000000000000000000000000000000602082015290565b6106a7610f8b366004612842565b5060408051808201909152600781527f6279746573313700000000000000000000000000000000000000000000000000602082015290565b6106a7610fd1366004612874565b5060408051808201909152600681527f696e743232340000000000000000000000000000000000000000000000000000602082015290565b6106a7611017366004612897565b5060408051808201909152600681527f696e743132380000000000000000000000000000000000000000000000000000602082015290565b6106a761105d3660046128ba565b5060408051808201909152600781527f6279746573313800000000000000000000000000000000000000000000000000602082015290565b6106a76110a33660046128eb565b5060408051808201909152600681527f696e743130340000000000000000000000000000000000000000000000000000602082015290565b6106a76110e936600461290e565b5060408051808201909152600681527f6279746573370000000000000000000000000000000000000000000000000000602082015290565b6106a761112f366004612950565b5060408051808201909152600781527f6279746573323500000000000000000000000000000000000000000000000000602082015290565b6106a761117536600461297a565b5060408051808201909152600681527f75696e7434300000000000000000000000000000000000000000000000000000602082015290565b6106a76111bb3660046129a1565b5060408051808201909152600781527f75696e7431323000000000000000000000000000000000000000000000000000602082015290565b6106a76112013660046129d2565b5060408051808201909152600781527f75696e7431363800000000000000000000000000000000000000000000000000602082015290565b6106a7611247366004612a09565b5060408051808201909152600681527f696e743133360000000000000000000000000000000000000000000000000000602082015290565b6106a761128d366004612a2c565b5060408051808201909152600781527f75696e7432343800000000000000000000000000000000000000000000000000602082015290565b6106a76112d3366004612a6d565b5060408051808201909152600681527f6279746573380000000000000000000000000000000000000000000000000000602082015290565b6106a7611319366004612aaf565b5060408051808201909152600681527f696e743139320000000000000000000000000000000000000000000000000000602082015290565b6106a761135f366004612ad2565b5060408051808201909152600681527f696e743231360000000000000000000000000000000000000000000000000000602082015290565b6106a76113a5366004612b9a565b5060408051808201909152600581527f6279746573000000000000000000000000000000000000000000000000000000602082015290565b6106a76113eb366004612beb565b5060408051808201909152600781527f75696e7432343000000000000000000000000000000000000000000000000000602082015290565b6106a7611431366004612c2b565b5060408051808201909152600781527f75696e7431313200000000000000000000000000000000000000000000000000602082015290565b6106a7611477366004612c5b565b5060408051808201909152600781527f6279746573323900000000000000000000000000000000000000000000000000602082015290565b6106a76114bd366004612c81565b5060408051808201909152600581527f696e743830000000000000000000000000000000000000000000000000000000602082015290565b6106a7611503366004612ca4565b5060408051808201909152600681527f696e743137360000000000000000000000000000000000000000000000000000602082015290565b6106a7611549366004612cc7565b5060408051808201909152600781527f6279746573333100000000000000000000000000000000000000000000000000602082015290565b6106a761158f366004612ceb565b5060408051808201909152600581527f75696e7438000000000000000000000000000000000000000000000000000000602082015290565b6106a76115d5366004612d0e565b5060408051808201909152600781527f75696e7432303800000000000000000000000000000000000000000000000000602082015290565b6106a761161b366004612d4a565b5060408051808201909152600681527f75696e7438380000000000000000000000000000000000000000000000000000602082015290565b6106a7611661366004612d77565b5060408051808201909152600781527f6279746573313000000000000000000000000000000000000000000000000000602082015290565b6106a76116a7366004612db9565b5060408051808201909152600781527f6279746573313600000000000000000000000000000000000000000000000000602082015290565b6106a76116ed366004612dfb565b5060408051808201909152600581527f696e743838000000000000000000000000000000000000000000000000000000602082015290565b6106a7611733366004612e1e565b5060408051808201909152600681527f75696e7436340000000000000000000000000000000000000000000000000000602082015290565b6106a7611779366004612e6d565b5060408051808201909152600781527f6164647265737300000000000000000000000000000000000000000000000000602082015290565b6106a76117bf366004612e8a565b5060408051808201909152600781527f6279746573313200000000000000000000000000000000000000000000000000602082015290565b6106a7611805366004612ecc565b5060408051808201909152600781527f6279746573323700000000000000000000000000000000000000000000000000602082015290565b6106a761184b366004612ef4565b5060408051808201909152600581527f696e743634000000000000000000000000000000000000000000000000000000602082015290565b6106a7611891366004612f17565b5060408051808201909152600781527f75696e7431333600000000000000000000000000000000000000000000000000602082015290565b6106a76118d7366004612f4a565b5060408051808201909152600781527f75696e7432333200000000000000000000000000000000000000000000000000602082015290565b6106a761191d366004612f89565b5060408051808201909152600781527f6279746573323600000000000000000000000000000000000000000000000000602082015290565b6106a7611963366004612fb2565b5060408051808201909152600681527f6279746573350000000000000000000000000000000000000000000000000000602082015290565b6106a76119a9366004612ff4565b5060408051808201909152600681527f75696e7434380000000000000000000000000000000000000000000000000000602082015290565b6106a76119ef36600461301c565b5060408051808201909152600581527f696e743430000000000000000000000000000000000000000000000000000000602082015290565b6106a7611a3536600461303f565b5060408051808201909152600681527f75696e7439360000000000000000000000000000000000000000000000000000602082015290565b6106a7611a7b366004612e6d565b5060408051808201909152600781527f75696e7431363000000000000000000000000000000000000000000000000000602082015290565b6106a7611ac136600461306d565b5060408051808201909152600481527f696e743800000000000000000000000000000000000000000000000000000000602082015290565b6106a7611b07366004613090565b5060408051808201909152600681527f75696e7437320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b4d3660046130bb565b5060408051808201909152600681527f696e743233320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b933660046130de565b5060408051808201909152600781527f6279746573333200000000000000000000000000000000000000000000000000602082015290565b6106a7611bd93660046130de565b5060408051808201909152600781527f75696e7432353600000000000000000000000000000000000000000000000000602082015290565b6106a7611c1f3660046130f7565b5060408051808201909152600581527f696e743136000000000000000000000000000000000000000000000000000000602082015290565b6106a7611c6536600461311a565b5060408051808201909152600781527f6279746573313500000000000000000000000000000000000000000000000000602082015290565b6106a7611cab36600461315c565b5060408051808201909152600681527f75696e7435360000000000000000000000000000000000000000000000000000602082015290565b6106a7611cf1366004613185565b5060408051808201909152600781527f6279746573323300000000000000000000000000000000000000000000000000602082015290565b6106a7611d373660046131b1565b5060408051808201909152600681527f696e743234300000000000000000000000000000000000000000000000000000602082015290565b6106a7611d7d3660046131d4565b5060408051808201909152600681527f696e743136300000000000000000000000000000000000000000000000000000602082015290565b6106a7611dc33660046131f7565b5060408051808201909152600781527f75696e7431323800000000000000000000000000000000000000000000000000602082015290565b6106a7611e09366004613229565b5060408051808201909152600581527f696e743438000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e4f36600461324c565b5060408051808201909152600481527f626f6f6c00000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e9536600461326e565b5060408051808201909152600781527f6279746573313300000000000000000000000000000000000000000000000000602082015290565b6106a7611edb3660046132b0565b5060408051808201909152600781527f6279746573323200000000000000000000000000000000000000000000000000602082015290565b6106a7611f213660046130de565b5060408051808201909152600681527f696e743235360000000000000000000000000000000000000000000000000000602082015290565b6106a7611f673660046132dd565b5060408051808201909152600781527f6279746573313900000000000000000000000000000000000000000000000000602082015290565b6106a7611fad36600461330d565b5060408051808201909152600681527f696e743135320000000000000000000000000000000000000000000000000000602082015290565b6106a7611ff3366004613330565b5060408051808201909152600781527f75696e7431343400000000000000000000000000000000000000000000000000602082015290565b6106a7612039366004612b9a565b5060408051808201909152600681527f737472696e670000000000000000000000000000000000000000000000000000602082015290565b6106a761207f366004613364565b5060408051808201909152600581527f696e743234000000000000000000000000000000000000000000000000000000602082015290565b6106a76120c5366004613387565b5060408051808201909152600781527f6279746573313100000000000000000000000000000000000000000000000000602082015290565b6106a761210b3660046133c9565b5060408051808201909152600581527f696e743536000000000000000000000000000000000000000000000000000000602082015290565b6106a76121513660046133ec565b5060408051808201909152600681527f696e743134340000000000000000000000000000000000000000000000000000602082015290565b6106a761219736600461340f565b5060408051808201909152600681527f6279746573310000000000000000000000000000000000000000000000000000602082015290565b6000602082840312156121e157600080fd5b813563ffffffff811681146121f557600080fd5b9392505050565b600060208083528351808285015260005b818110156122295785810183015185820160400152820161220d565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561225c57600080fd5b813567ffffffffffffffff19811681146121f557600080fd5b60006020828403121561228757600080fd5b81358060190b81146121f557600080fd5b6000602082840312156122aa57600080fd5b813575ffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156122e257600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561232457600080fd5b81357fffffffffffffffffff0000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561236657600080fd5b81358060080b81146121f557600080fd5b60006020828403121561238957600080fd5b813578ffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156123c457600080fd5b81356bffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156123f357600080fd5b81358060030b81146121f557600080fd5b60006020828403121561241657600080fd5b81357affffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561245357600080fd5b813576ffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561248c57600080fd5b813572ffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156124c157600080fd5b813580601e0b81146121f557600080fd5b6000602082840312156124e457600080fd5b813569ffffffffffffffffffff811681146121f557600080fd5b60006020828403121561251057600080fd5b813563ffffffff19811681146121f557600080fd5b60006020828403121561253757600080fd5b813561ffff19811681146121f557600080fd5b60006020828403121561255c57600080fd5b813580600e0b81146121f557600080fd5b60006020828403121561257f57600080fd5b81356affffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156125ad57600080fd5b81356cffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156125dc57600080fd5b813580600b0b81146121f557600080fd5b6000602082840312156125ff57600080fd5b81357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561263d57600080fd5b81358060140b81146121f557600080fd5b60006020828403121561266057600080fd5b81358060180b81146121f557600080fd5b60006020828403121561268357600080fd5b81358060160b81146121f557600080fd5b6000602082840312156126a657600080fd5b81357fffffffffffffffffffffffffffff000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156126e857600080fd5b813577ffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561272257600080fd5b81357fffff000000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561276457600080fd5b813562ffffff811681146121f557600080fd5b60006020828403121561278957600080fd5b813580600d0b81146121f557600080fd5b6000602082840312156127ac57600080fd5b81357fffffffffffff0000000000000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156127ee57600080fd5b813561ffff811681146121f557600080fd5b60006020828403121561281257600080fd5b81357fffffff0000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561285457600080fd5b81356effffffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561288657600080fd5b813580601b0b81146121f557600080fd5b6000602082840312156128a957600080fd5b813580600f0b81146121f557600080fd5b6000602082840312156128cc57600080fd5b81356dffffffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156128fd57600080fd5b813580600c0b81146121f557600080fd5b60006020828403121561292057600080fd5b81357fffffffffffffff00000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561296257600080fd5b813566ffffffffffffff19811681146121f557600080fd5b60006020828403121561298c57600080fd5b813564ffffffffff811681146121f557600080fd5b6000602082840312156129b357600080fd5b81356effffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156129e457600080fd5b813574ffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a1b57600080fd5b81358060100b81146121f557600080fd5b600060208284031215612a3e57600080fd5b81357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a7f57600080fd5b81357fffffffffffffffff000000000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ac157600080fd5b81358060170b81146121f557600080fd5b600060208284031215612ae457600080fd5b813580601a0b81146121f557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612b3f57612b3f612af5565b604051601f8501601f19908116603f01168101908282118183101715612b6757612b67612af5565b81604052809350858152868686011115612b8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bac57600080fd5b813567ffffffffffffffff811115612bc357600080fd5b8201601f81018413612bd457600080fd5b612be384823560208401612b24565b949350505050565b600060208284031215612bfd57600080fd5b81357dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c3d57600080fd5b81356dffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c6d57600080fd5b813562ffffff19811681146121f557600080fd5b600060208284031215612c9357600080fd5b81358060090b81146121f557600080fd5b600060208284031215612cb657600080fd5b81358060150b81146121f557600080fd5b600060208284031215612cd957600080fd5b813560ff19811681146121f557600080fd5b600060208284031215612cfd57600080fd5b813560ff811681146121f557600080fd5b600060208284031215612d2057600080fd5b813579ffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d5c57600080fd5b81356affffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d8957600080fd5b81357fffffffffffffffffffff00000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612dcb57600080fd5b81357fffffffffffffffffffffffffffffffff00000000000000000000000000000000811681146121f557600080fd5b600060208284031215612e0d57600080fd5b813580600a0b81146121f557600080fd5b600060208284031215612e3057600080fd5b813567ffffffffffffffff811681146121f557600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114612e6a57600080fd5b50565b600060208284031215612e7f57600080fd5b81356121f581612e48565b600060208284031215612e9c57600080fd5b81357fffffffffffffffffffffffff0000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ede57600080fd5b813564ffffffffff19811681146121f557600080fd5b600060208284031215612f0657600080fd5b81358060070b81146121f557600080fd5b600060208284031215612f2957600080fd5b813570ffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f5c57600080fd5b81357cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f9b57600080fd5b813565ffffffffffff19811681146121f557600080fd5b600060208284031215612fc457600080fd5b81357fffffffffff000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561300657600080fd5b813565ffffffffffff811681146121f557600080fd5b60006020828403121561302e57600080fd5b81358060040b81146121f557600080fd5b60006020828403121561305157600080fd5b81356bffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561307f57600080fd5b81358060000b81146121f557600080fd5b6000602082840312156130a257600080fd5b813568ffffffffffffffffff811681146121f557600080fd5b6000602082840312156130cd57600080fd5b813580601c0b81146121f557600080fd5b6000602082840312156130f057600080fd5b5035919050565b60006020828403121561310957600080fd5b81358060010b81146121f557600080fd5b60006020828403121561312c57600080fd5b81357fffffffffffffffffffffffffffffff0000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561316e57600080fd5b813566ffffffffffffff811681146121f557600080fd5b60006020828403121561319757600080fd5b813568ffffffffffffffffff19811681146121f557600080fd5b6000602082840312156131c357600080fd5b813580601d0b81146121f557600080fd5b6000602082840312156131e657600080fd5b81358060130b81146121f557600080fd5b60006020828403121561320957600080fd5b81356fffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561323b57600080fd5b81358060050b81146121f557600080fd5b60006020828403121561325e57600080fd5b813580151581146121f557600080fd5b60006020828403121561328057600080fd5b81357fffffffffffffffffffffffffff00000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156132c257600080fd5b813569ffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156132ef57600080fd5b81356cffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561331f57600080fd5b81358060120b81146121f557600080fd5b60006020828403121561334257600080fd5b813571ffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561337657600080fd5b81358060020b81146121f557600080fd5b60006020828403121561339957600080fd5b81357fffffffffffffffffffffff000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156133db57600080fd5b81358060060b81146121f557600080fd5b6000602082840312156133fe57600080fd5b81358060110b81146121f557600080fd5b60006020828403121561342157600080fd5b81357fff00000000000000000000000000000000000000000000000000000000000000811681146121f557600080fdfea2646970667358221220c03630ca6910d46ede5cae5ed1f6ae9571e1ccb99a0b3b83f560d5c9079c96db64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061065c5760003560e01c8063a202e8c011610345578063cec31ded116101bd578063e96add8c11610104578063f3164597116100ad578063f85a090311610087578063f85a0903146120b7578063fa4d99c9146120fd578063fbf3e13a14612143578063fd1652cb1461218957600080fd5b8063f316459714611fe5578063f44076171461202b578063f7b0e3d51461207157600080fd5b8063eecd1129116100de578063eecd112914611f13578063ef4483be14611f59578063f0fb21ff14611f9f57600080fd5b8063e96add8c14611e41578063e9da42ca14611e87578063eb01940114611ecd57600080fd5b8063d92e6c0611610166578063e0fa6ea111610140578063e0fa6ea114611d6f578063e137fb7014611db5578063e8fb922314611dfb57600080fd5b8063d92e6c0614611c9d578063dad2ef4f14611ce3578063dafbc72414611d2957600080fd5b8063d4b789d811610197578063d4b789d814611bcb578063d4c0c48614611c11578063d7d7398414611c5757600080fd5b8063cec31ded14611af9578063d0e03b0714611b3f578063d20f679a14611b8557600080fd5b8063bbeb25e01161028c578063c233fd3311610235578063c84ad5801161020f578063c84ad580146119e1578063c8ddda4a14611a27578063cc69cf9714611a6d578063ccd94f9814611ab357600080fd5b8063c233fd331461190f578063c639604b14611955578063c847fe3b1461199b57600080fd5b8063c081607b11610266578063c081607b1461183d578063c1397e9914611883578063c1847bee146118c957600080fd5b8063bbeb25e01461176b578063bccdc9c4146117b1578063bf01c7f9146117f757600080fd5b8063ad87e2e1116102ee578063b860f47f116102c8578063b860f47f14611699578063ba607fac146116df578063bb73447f1461172557600080fd5b8063ad87e2e1146115c7578063b429b23c1461160d578063b7bab2861461165357600080fd5b8063a925e7621161031f578063a925e762146114f5578063a95d606e1461153b578063aa8de9461461158157600080fd5b8063a202e8c014611423578063a3ab9e7a14611469578063a6496f62146114af57600080fd5b806351e0489a116104d85780637c9affcb1161041f578063891a099d116103c85780639df2391c116103a25780639df2391c1461130b5780639faf388f146113515780639fcbede614611397578063a178b800146113dd57600080fd5b8063891a099d146112395780638e4884d11461127f5780639ded4e2b146112c557600080fd5b806381c4b4cc116103f957806381c4b4cc146111675780638275b290146111ad57806387ad7515146111f357600080fd5b80637c9affcb146110955780637fcc3d5d146110db578063803bf56d1461112157600080fd5b80636913a82b11610481578063769008e41161045b578063769008e414610fc35780637a3058c1146110095780637bc705c11461104f57600080fd5b80636913a82b14610ef15780636a678a7514610f3757806375b5533714610f7d57600080fd5b80636357d3b7116104b25780636357d3b714610e1f578063659665f914610e65578063679b530214610eab57600080fd5b806351e0489a14610d4d57806357301b0214610d935780635793d40814610dd957600080fd5b80632a0caa6a116105a7578063429545a4116105505780634961a7ce1161052a5780634961a7ce14610c355780634a3ccd5f14610c7b5780634fb7d4bd14610cc157806350fbcfb614610d0757600080fd5b8063429545a414610b6357806343c84f3314610ba957806346d79d1314610bef57600080fd5b806333c064151161058157806333c0641514610a9157806334bdbab714610ad75780634029cdee14610b1d57600080fd5b80632a0caa6a146109bf5780632a97dfbf14610a055780632f0d528b14610a4b57600080fd5b80631b46fa941161060957806325cb6b9a116105e357806325cb6b9a146108ed57806326888cda1461093357806328b01d811461097957600080fd5b80631b46fa941461081b5780631eb765fd1461086157806325bc2c82146108a757600080fd5b8063107810d51161063a578063107810d5146107495780631400a02f1461078f5780631a762a3a146107d557600080fd5b806303290450146106615780630e9ba011146106bd5780630f84821114610703575b600080fd5b6106a761066f3660046121cf565b5060408051808201909152600681527f75696e7433320000000000000000000000000000000000000000000000000000602082015290565b6040516106b491906121fc565b60405180910390f35b6106a76106cb36600461224a565b5060408051808201909152600781527f6279746573323400000000000000000000000000000000000000000000000000602082015290565b6106a7610711366004612275565b5060408051808201909152600681527f696e743230380000000000000000000000000000000000000000000000000000602082015290565b6106a7610757366004612298565b5060408051808201909152600781527f75696e7431373600000000000000000000000000000000000000000000000000602082015290565b6106a761079d3660046122d0565b5060408051808201909152600681527f6279746573340000000000000000000000000000000000000000000000000000602082015290565b6106a76107e3366004612312565b5060408051808201909152600681527f6279746573390000000000000000000000000000000000000000000000000000602082015290565b6106a7610829366004612354565b5060408051808201909152600581527f696e743732000000000000000000000000000000000000000000000000000000602082015290565b6106a761086f366004612377565b5060408051808201909152600781527f75696e7432303000000000000000000000000000000000000000000000000000602082015290565b6106a76108b53660046123b2565b5060408051808201909152600781527f6279746573323000000000000000000000000000000000000000000000000000602082015290565b6106a76108fb3660046123e1565b5060408051808201909152600581527f696e743332000000000000000000000000000000000000000000000000000000602082015290565b6106a7610941366004612404565b5060408051808201909152600781527f75696e7432313600000000000000000000000000000000000000000000000000602082015290565b6106a7610987366004612441565b5060408051808201909152600781527f75696e7431383400000000000000000000000000000000000000000000000000602082015290565b6106a76109cd36600461247a565b5060408051808201909152600781527f75696e7431353200000000000000000000000000000000000000000000000000602082015290565b6106a7610a133660046124af565b5060408051808201909152600681527f696e743234380000000000000000000000000000000000000000000000000000602082015290565b6106a7610a593660046124d2565b5060408051808201909152600681527f75696e7438300000000000000000000000000000000000000000000000000000602082015290565b6106a7610a9f3660046124fe565b5060408051808201909152600781527f6279746573323800000000000000000000000000000000000000000000000000602082015290565b6106a7610ae5366004612525565b5060408051808201909152600781527f6279746573333000000000000000000000000000000000000000000000000000602082015290565b6106a7610b2b36600461254a565b5060408051808201909152600681527f696e743132300000000000000000000000000000000000000000000000000000602082015290565b6106a7610b7136600461256d565b5060408051808201909152600781527f6279746573323100000000000000000000000000000000000000000000000000602082015290565b6106a7610bb736600461259b565b5060408051808201909152600781527f75696e7431303400000000000000000000000000000000000000000000000000602082015290565b6106a7610bfd3660046125ca565b5060408051808201909152600581527f696e743936000000000000000000000000000000000000000000000000000000602082015290565b6106a7610c433660046125ed565b5060408051808201909152600781527f75696e7432323400000000000000000000000000000000000000000000000000602082015290565b6106a7610c8936600461262b565b5060408051808201909152600681527f696e743136380000000000000000000000000000000000000000000000000000602082015290565b6106a7610ccf36600461264e565b5060408051808201909152600681527f696e743230300000000000000000000000000000000000000000000000000000602082015290565b6106a7610d15366004612671565b5060408051808201909152600681527f696e743138340000000000000000000000000000000000000000000000000000602082015290565b6106a7610d5b366004612694565b5060408051808201909152600781527f6279746573313400000000000000000000000000000000000000000000000000602082015290565b6106a7610da13660046126d6565b5060408051808201909152600781527f75696e7431393200000000000000000000000000000000000000000000000000602082015290565b6106a7610de7366004612710565b5060408051808201909152600681527f6279746573320000000000000000000000000000000000000000000000000000602082015290565b6106a7610e2d366004612752565b5060408051808201909152600681527f75696e7432340000000000000000000000000000000000000000000000000000602082015290565b6106a7610e73366004612777565b5060408051808201909152600681527f696e743131320000000000000000000000000000000000000000000000000000602082015290565b6106a7610eb936600461279a565b5060408051808201909152600681527f6279746573360000000000000000000000000000000000000000000000000000602082015290565b6106a7610eff3660046127dc565b5060408051808201909152600681527f75696e7431360000000000000000000000000000000000000000000000000000602082015290565b6106a7610f45366004612800565b5060408051808201909152600681527f6279746573330000000000000000000000000000000000000000000000000000602082015290565b6106a7610f8b366004612842565b5060408051808201909152600781527f6279746573313700000000000000000000000000000000000000000000000000602082015290565b6106a7610fd1366004612874565b5060408051808201909152600681527f696e743232340000000000000000000000000000000000000000000000000000602082015290565b6106a7611017366004612897565b5060408051808201909152600681527f696e743132380000000000000000000000000000000000000000000000000000602082015290565b6106a761105d3660046128ba565b5060408051808201909152600781527f6279746573313800000000000000000000000000000000000000000000000000602082015290565b6106a76110a33660046128eb565b5060408051808201909152600681527f696e743130340000000000000000000000000000000000000000000000000000602082015290565b6106a76110e936600461290e565b5060408051808201909152600681527f6279746573370000000000000000000000000000000000000000000000000000602082015290565b6106a761112f366004612950565b5060408051808201909152600781527f6279746573323500000000000000000000000000000000000000000000000000602082015290565b6106a761117536600461297a565b5060408051808201909152600681527f75696e7434300000000000000000000000000000000000000000000000000000602082015290565b6106a76111bb3660046129a1565b5060408051808201909152600781527f75696e7431323000000000000000000000000000000000000000000000000000602082015290565b6106a76112013660046129d2565b5060408051808201909152600781527f75696e7431363800000000000000000000000000000000000000000000000000602082015290565b6106a7611247366004612a09565b5060408051808201909152600681527f696e743133360000000000000000000000000000000000000000000000000000602082015290565b6106a761128d366004612a2c565b5060408051808201909152600781527f75696e7432343800000000000000000000000000000000000000000000000000602082015290565b6106a76112d3366004612a6d565b5060408051808201909152600681527f6279746573380000000000000000000000000000000000000000000000000000602082015290565b6106a7611319366004612aaf565b5060408051808201909152600681527f696e743139320000000000000000000000000000000000000000000000000000602082015290565b6106a761135f366004612ad2565b5060408051808201909152600681527f696e743231360000000000000000000000000000000000000000000000000000602082015290565b6106a76113a5366004612b9a565b5060408051808201909152600581527f6279746573000000000000000000000000000000000000000000000000000000602082015290565b6106a76113eb366004612beb565b5060408051808201909152600781527f75696e7432343000000000000000000000000000000000000000000000000000602082015290565b6106a7611431366004612c2b565b5060408051808201909152600781527f75696e7431313200000000000000000000000000000000000000000000000000602082015290565b6106a7611477366004612c5b565b5060408051808201909152600781527f6279746573323900000000000000000000000000000000000000000000000000602082015290565b6106a76114bd366004612c81565b5060408051808201909152600581527f696e743830000000000000000000000000000000000000000000000000000000602082015290565b6106a7611503366004612ca4565b5060408051808201909152600681527f696e743137360000000000000000000000000000000000000000000000000000602082015290565b6106a7611549366004612cc7565b5060408051808201909152600781527f6279746573333100000000000000000000000000000000000000000000000000602082015290565b6106a761158f366004612ceb565b5060408051808201909152600581527f75696e7438000000000000000000000000000000000000000000000000000000602082015290565b6106a76115d5366004612d0e565b5060408051808201909152600781527f75696e7432303800000000000000000000000000000000000000000000000000602082015290565b6106a761161b366004612d4a565b5060408051808201909152600681527f75696e7438380000000000000000000000000000000000000000000000000000602082015290565b6106a7611661366004612d77565b5060408051808201909152600781527f6279746573313000000000000000000000000000000000000000000000000000602082015290565b6106a76116a7366004612db9565b5060408051808201909152600781527f6279746573313600000000000000000000000000000000000000000000000000602082015290565b6106a76116ed366004612dfb565b5060408051808201909152600581527f696e743838000000000000000000000000000000000000000000000000000000602082015290565b6106a7611733366004612e1e565b5060408051808201909152600681527f75696e7436340000000000000000000000000000000000000000000000000000602082015290565b6106a7611779366004612e6d565b5060408051808201909152600781527f6164647265737300000000000000000000000000000000000000000000000000602082015290565b6106a76117bf366004612e8a565b5060408051808201909152600781527f6279746573313200000000000000000000000000000000000000000000000000602082015290565b6106a7611805366004612ecc565b5060408051808201909152600781527f6279746573323700000000000000000000000000000000000000000000000000602082015290565b6106a761184b366004612ef4565b5060408051808201909152600581527f696e743634000000000000000000000000000000000000000000000000000000602082015290565b6106a7611891366004612f17565b5060408051808201909152600781527f75696e7431333600000000000000000000000000000000000000000000000000602082015290565b6106a76118d7366004612f4a565b5060408051808201909152600781527f75696e7432333200000000000000000000000000000000000000000000000000602082015290565b6106a761191d366004612f89565b5060408051808201909152600781527f6279746573323600000000000000000000000000000000000000000000000000602082015290565b6106a7611963366004612fb2565b5060408051808201909152600681527f6279746573350000000000000000000000000000000000000000000000000000602082015290565b6106a76119a9366004612ff4565b5060408051808201909152600681527f75696e7434380000000000000000000000000000000000000000000000000000602082015290565b6106a76119ef36600461301c565b5060408051808201909152600581527f696e743430000000000000000000000000000000000000000000000000000000602082015290565b6106a7611a3536600461303f565b5060408051808201909152600681527f75696e7439360000000000000000000000000000000000000000000000000000602082015290565b6106a7611a7b366004612e6d565b5060408051808201909152600781527f75696e7431363000000000000000000000000000000000000000000000000000602082015290565b6106a7611ac136600461306d565b5060408051808201909152600481527f696e743800000000000000000000000000000000000000000000000000000000602082015290565b6106a7611b07366004613090565b5060408051808201909152600681527f75696e7437320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b4d3660046130bb565b5060408051808201909152600681527f696e743233320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b933660046130de565b5060408051808201909152600781527f6279746573333200000000000000000000000000000000000000000000000000602082015290565b6106a7611bd93660046130de565b5060408051808201909152600781527f75696e7432353600000000000000000000000000000000000000000000000000602082015290565b6106a7611c1f3660046130f7565b5060408051808201909152600581527f696e743136000000000000000000000000000000000000000000000000000000602082015290565b6106a7611c6536600461311a565b5060408051808201909152600781527f6279746573313500000000000000000000000000000000000000000000000000602082015290565b6106a7611cab36600461315c565b5060408051808201909152600681527f75696e7435360000000000000000000000000000000000000000000000000000602082015290565b6106a7611cf1366004613185565b5060408051808201909152600781527f6279746573323300000000000000000000000000000000000000000000000000602082015290565b6106a7611d373660046131b1565b5060408051808201909152600681527f696e743234300000000000000000000000000000000000000000000000000000602082015290565b6106a7611d7d3660046131d4565b5060408051808201909152600681527f696e743136300000000000000000000000000000000000000000000000000000602082015290565b6106a7611dc33660046131f7565b5060408051808201909152600781527f75696e7431323800000000000000000000000000000000000000000000000000602082015290565b6106a7611e09366004613229565b5060408051808201909152600581527f696e743438000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e4f36600461324c565b5060408051808201909152600481527f626f6f6c00000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e9536600461326e565b5060408051808201909152600781527f6279746573313300000000000000000000000000000000000000000000000000602082015290565b6106a7611edb3660046132b0565b5060408051808201909152600781527f6279746573323200000000000000000000000000000000000000000000000000602082015290565b6106a7611f213660046130de565b5060408051808201909152600681527f696e743235360000000000000000000000000000000000000000000000000000602082015290565b6106a7611f673660046132dd565b5060408051808201909152600781527f6279746573313900000000000000000000000000000000000000000000000000602082015290565b6106a7611fad36600461330d565b5060408051808201909152600681527f696e743135320000000000000000000000000000000000000000000000000000602082015290565b6106a7611ff3366004613330565b5060408051808201909152600781527f75696e7431343400000000000000000000000000000000000000000000000000602082015290565b6106a7612039366004612b9a565b5060408051808201909152600681527f737472696e670000000000000000000000000000000000000000000000000000602082015290565b6106a761207f366004613364565b5060408051808201909152600581527f696e743234000000000000000000000000000000000000000000000000000000602082015290565b6106a76120c5366004613387565b5060408051808201909152600781527f6279746573313100000000000000000000000000000000000000000000000000602082015290565b6106a761210b3660046133c9565b5060408051808201909152600581527f696e743536000000000000000000000000000000000000000000000000000000602082015290565b6106a76121513660046133ec565b5060408051808201909152600681527f696e743134340000000000000000000000000000000000000000000000000000602082015290565b6106a761219736600461340f565b5060408051808201909152600681527f6279746573310000000000000000000000000000000000000000000000000000602082015290565b6000602082840312156121e157600080fd5b813563ffffffff811681146121f557600080fd5b9392505050565b600060208083528351808285015260005b818110156122295785810183015185820160400152820161220d565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561225c57600080fd5b813567ffffffffffffffff19811681146121f557600080fd5b60006020828403121561228757600080fd5b81358060190b81146121f557600080fd5b6000602082840312156122aa57600080fd5b813575ffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156122e257600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561232457600080fd5b81357fffffffffffffffffff0000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561236657600080fd5b81358060080b81146121f557600080fd5b60006020828403121561238957600080fd5b813578ffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156123c457600080fd5b81356bffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156123f357600080fd5b81358060030b81146121f557600080fd5b60006020828403121561241657600080fd5b81357affffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561245357600080fd5b813576ffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561248c57600080fd5b813572ffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156124c157600080fd5b813580601e0b81146121f557600080fd5b6000602082840312156124e457600080fd5b813569ffffffffffffffffffff811681146121f557600080fd5b60006020828403121561251057600080fd5b813563ffffffff19811681146121f557600080fd5b60006020828403121561253757600080fd5b813561ffff19811681146121f557600080fd5b60006020828403121561255c57600080fd5b813580600e0b81146121f557600080fd5b60006020828403121561257f57600080fd5b81356affffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156125ad57600080fd5b81356cffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156125dc57600080fd5b813580600b0b81146121f557600080fd5b6000602082840312156125ff57600080fd5b81357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561263d57600080fd5b81358060140b81146121f557600080fd5b60006020828403121561266057600080fd5b81358060180b81146121f557600080fd5b60006020828403121561268357600080fd5b81358060160b81146121f557600080fd5b6000602082840312156126a657600080fd5b81357fffffffffffffffffffffffffffff000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156126e857600080fd5b813577ffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561272257600080fd5b81357fffff000000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561276457600080fd5b813562ffffff811681146121f557600080fd5b60006020828403121561278957600080fd5b813580600d0b81146121f557600080fd5b6000602082840312156127ac57600080fd5b81357fffffffffffff0000000000000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156127ee57600080fd5b813561ffff811681146121f557600080fd5b60006020828403121561281257600080fd5b81357fffffff0000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561285457600080fd5b81356effffffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561288657600080fd5b813580601b0b81146121f557600080fd5b6000602082840312156128a957600080fd5b813580600f0b81146121f557600080fd5b6000602082840312156128cc57600080fd5b81356dffffffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156128fd57600080fd5b813580600c0b81146121f557600080fd5b60006020828403121561292057600080fd5b81357fffffffffffffff00000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561296257600080fd5b813566ffffffffffffff19811681146121f557600080fd5b60006020828403121561298c57600080fd5b813564ffffffffff811681146121f557600080fd5b6000602082840312156129b357600080fd5b81356effffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156129e457600080fd5b813574ffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a1b57600080fd5b81358060100b81146121f557600080fd5b600060208284031215612a3e57600080fd5b81357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a7f57600080fd5b81357fffffffffffffffff000000000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ac157600080fd5b81358060170b81146121f557600080fd5b600060208284031215612ae457600080fd5b813580601a0b81146121f557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612b3f57612b3f612af5565b604051601f8501601f19908116603f01168101908282118183101715612b6757612b67612af5565b81604052809350858152868686011115612b8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bac57600080fd5b813567ffffffffffffffff811115612bc357600080fd5b8201601f81018413612bd457600080fd5b612be384823560208401612b24565b949350505050565b600060208284031215612bfd57600080fd5b81357dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c3d57600080fd5b81356dffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c6d57600080fd5b813562ffffff19811681146121f557600080fd5b600060208284031215612c9357600080fd5b81358060090b81146121f557600080fd5b600060208284031215612cb657600080fd5b81358060150b81146121f557600080fd5b600060208284031215612cd957600080fd5b813560ff19811681146121f557600080fd5b600060208284031215612cfd57600080fd5b813560ff811681146121f557600080fd5b600060208284031215612d2057600080fd5b813579ffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d5c57600080fd5b81356affffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d8957600080fd5b81357fffffffffffffffffffff00000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612dcb57600080fd5b81357fffffffffffffffffffffffffffffffff00000000000000000000000000000000811681146121f557600080fd5b600060208284031215612e0d57600080fd5b813580600a0b81146121f557600080fd5b600060208284031215612e3057600080fd5b813567ffffffffffffffff811681146121f557600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114612e6a57600080fd5b50565b600060208284031215612e7f57600080fd5b81356121f581612e48565b600060208284031215612e9c57600080fd5b81357fffffffffffffffffffffffff0000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ede57600080fd5b813564ffffffffff19811681146121f557600080fd5b600060208284031215612f0657600080fd5b81358060070b81146121f557600080fd5b600060208284031215612f2957600080fd5b813570ffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f5c57600080fd5b81357cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f9b57600080fd5b813565ffffffffffff19811681146121f557600080fd5b600060208284031215612fc457600080fd5b81357fffffffffff000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561300657600080fd5b813565ffffffffffff811681146121f557600080fd5b60006020828403121561302e57600080fd5b81358060040b81146121f557600080fd5b60006020828403121561305157600080fd5b81356bffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561307f57600080fd5b81358060000b81146121f557600080fd5b6000602082840312156130a257600080fd5b813568ffffffffffffffffff811681146121f557600080fd5b6000602082840312156130cd57600080fd5b813580601c0b81146121f557600080fd5b6000602082840312156130f057600080fd5b5035919050565b60006020828403121561310957600080fd5b81358060010b81146121f557600080fd5b60006020828403121561312c57600080fd5b81357fffffffffffffffffffffffffffffff0000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561316e57600080fd5b813566ffffffffffffff811681146121f557600080fd5b60006020828403121561319757600080fd5b813568ffffffffffffffffff19811681146121f557600080fd5b6000602082840312156131c357600080fd5b813580601d0b81146121f557600080fd5b6000602082840312156131e657600080fd5b81358060130b81146121f557600080fd5b60006020828403121561320957600080fd5b81356fffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561323b57600080fd5b81358060050b81146121f557600080fd5b60006020828403121561325e57600080fd5b813580151581146121f557600080fd5b60006020828403121561328057600080fd5b81357fffffffffffffffffffffffffff00000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156132c257600080fd5b813569ffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156132ef57600080fd5b81356cffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561331f57600080fd5b81358060120b81146121f557600080fd5b60006020828403121561334257600080fd5b813571ffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561337657600080fd5b81358060020b81146121f557600080fd5b60006020828403121561339957600080fd5b81357fffffffffffffffffffffff000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156133db57600080fd5b81358060060b81146121f557600080fd5b6000602082840312156133fe57600080fd5b81358060110b81146121f557600080fd5b60006020828403121561342157600080fd5b81357fff00000000000000000000000000000000000000000000000000000000000000811681146121f557600080fdfea2646970667358221220c03630ca6910d46ede5cae5ed1f6ae9571e1ccb99a0b3b83f560d5c9079c96db64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +}; +exports.default = TypedContract; +//# sourceMappingURL=TypedContract.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/contracts/TypedContract.js.map b/lib.commonjs/_tests/contracts/TypedContract.js.map new file mode 100644 index 00000000..bc1a54a6 --- /dev/null +++ b/lib.commonjs/_tests/contracts/TypedContract.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TypedContract.js","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TypedContract.ts"],"names":[],"mappings":";;A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,aAAa,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/create-provider.d.ts.map b/lib.commonjs/_tests/create-provider.d.ts.map index 67034659..3e7a7376 100644 --- a/lib.commonjs/_tests/create-provider.d.ts.map +++ b/lib.commonjs/_tests/create-provider.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"create-provider.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA4BpD,wBAAgB,cAAc,IAAI,IAAI,CAKrC;AAED,eAAO,MAAM,aAAa,mBAAuD,CAAC;AAQlF,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAInE;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,CAgBtF;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGxE;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAIzD"} \ No newline at end of file +{"version":3,"file":"create-provider.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAyBpD,wBAAgB,cAAc,IAAI,IAAI,CAKrC;AAED,eAAO,MAAM,aAAa,mBAAuD,CAAC;AAQlF,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAInE;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,CAetF;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGxE;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAIzD"} \ No newline at end of file diff --git a/lib.commonjs/_tests/create-provider.js b/lib.commonjs/_tests/create-provider.js index 8883b858..72ed4f1e 100644 --- a/lib.commonjs/_tests/create-provider.js +++ b/lib.commonjs/_tests/create-provider.js @@ -1,25 +1,18 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.connect = exports.checkProvider = exports.getProvider = exports.getProviderNetworks = exports.providerNames = exports.setupProviders = void 0; +const tslib_1 = require("tslib"); const index_js_1 = require("../index.js"); +const dotenv_1 = tslib_1.__importDefault(require("dotenv")); +dotenv_1.default.config(); ; -const ethNetworks = ["default", "mainnet"]; +const quaiNetworks = ["colosseum"]; const ProviderCreators = [ { - name: "FallbackProvider", - networks: ethNetworks, + name: "JsonRpcProvider", + networks: quaiNetworks, create: function (network) { - const providers = []; - for (const providerName of ["JsonRpcProvider"]) { - const provider = getProvider(providerName, network); - if (provider) { - providers.push(provider); - } - } - if (providers.length === 0) { - throw new Error("UNSUPPORTED NETWORK"); - } - return new index_js_1.FallbackProvider(providers); + return new index_js_1.JsonRpcProvider(process.env.RPC_URL, network); } }, ]; @@ -54,7 +47,6 @@ function getProvider(provider, network) { if (setup == false) { throw new Error("MUST CALL setupProviders in root context"); } - console.log(`getProvider: ${provider}.${network}`); const creator = getCreator(provider); try { if (creator) { @@ -79,7 +71,7 @@ function checkProvider(provider, network) { } exports.checkProvider = checkProvider; function connect(network) { - const provider = getProvider("InfuraProvider", network); + const provider = getProvider("JsonRpcProvider", network); if (provider == null) { throw new Error(`could not connect to ${network}`); } diff --git a/lib.commonjs/_tests/create-provider.js.map b/lib.commonjs/_tests/create-provider.js.map index fd8c8e27..2ea24c5e 100644 --- a/lib.commonjs/_tests/create-provider.js.map +++ b/lib.commonjs/_tests/create-provider.js.map @@ -1 +1 @@ -{"version":3,"file":"create-provider.js","sourceRoot":"","sources":["../../src.ts/_tests/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C;AAC7B,CAAC;AAHD,sCAGC;AAED,SAAgB,OAAO,CAAC,OAAe;IACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAyB,OAAQ,EAAE,CAAC,CAAC;KAAE;IAC/E,OAAO,QAAQ,CAAC;AACpB,CAAC;AAJD,0BAIC"} \ No newline at end of file +{"version":3,"file":"create-provider.js","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":";;;;AAAA,0CAGqB;AAGrB,4DAA4B;AAC5B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAMf,CAAC;AAEF,MAAM,YAAY,GAAG,CAAE,WAAW,CAAE,CAAC;AAErC,MAAM,gBAAgB,GAA2B;IAC7C;QACI,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,0BAAe,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC7D,CAAC;KACJ;CACJ,CAAC;AAGF,IAAI,KAAK,GAAG,KAAK,CAAC;AAClB,MAAM,OAAO,GAAsB,EAAG,CAAC;AACvC,SAAgB,cAAc;IAC1B,KAAK,CAAC;QACF,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;YAAE,IAAI,EAAE,CAAC;SAAE;IAC3C,CAAC,CAAC,CAAC;IACH,KAAK,GAAG,IAAI,CAAC;AACjB,CAAC;AALD,wCAKC;AAEY,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAElF,SAAS,UAAU,CAAC,QAAgB;IAChC,MAAM,QAAQ,GAAG,gBAAgB,CAAC,MAAM,C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C;AAHD,sCAGC;AAED,SAAgB,OAAO,CAAC,OAAe;IACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACzD,IAAI,QAAQ,IAAI,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAyB,OAAQ,EAAE,CAAC,CAAC;KAAE;IAC/E,OAAO,QAAQ,CAAC;AACpB,CAAC;AAJD,0BAIC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-contract-integ.js b/lib.commonjs/_tests/test-contract-integ.js index 6b0a2286..d4046f0c 100644 --- a/lib.commonjs/_tests/test-contract-integ.js +++ b/lib.commonjs/_tests/test-contract-integ.js @@ -3,76 +3,85 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const assert_1 = tslib_1.__importDefault(require("assert")); const index_js_1 = require("../index.js"); +const dotenv_1 = tslib_1.__importDefault(require("dotenv")); +const QRC20_js_1 = tslib_1.__importDefault(require("./contracts/QRC20.js")); +const utils_js_1 = require("./utils.js"); +dotenv_1.default.config(); describe("Tests contract integration", function () { - const provider = new index_js_1.quais.JsonRpcProvider("http:/\/127.0.0.1:8545"); - const abi = [ - "constructor(address owner, uint maxSupply)", - "function mint(address target) returns (bool minted)", - "function totalSupply() view returns (uint supply)", - "function balanceOf(address target) view returns (uint balance)", - "event Minted(address target)" - ]; - let address = null; - it("deploys a contract", async function () { - this.timeout(10000); - const bytecode = "0x60c060405234801561001057600080fd5b506040516105863803806105868339818101604052810190610032919061010e565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508060a08181525050505061014e565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a58261007a565b9050919050565b6100b58161009a565b81146100c057600080fd5b50565b6000815190506100d2816100ac565b92915050565b6000819050919050565b6100eb816100d8565b81146100f657600080fd5b50565b600081519050610108816100e2565b92915050565b6000806040838503121561012557610124610075565b5b6000610133858286016100c3565b9250506020610144858286016100f9565b9150509250929050565b60805160a051610414610172600039600060fa0152600061021f01526104146000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806318160ddd146100515780636a6278421461006f57806370a082311461009f5780638da5cb5b146100cf575b600080fd5b6100596100ed565b604051610066919061025c565b60405180910390f35b610089600480360381019061008491906102da565b6100f6565b6040516100969190610322565b60405180910390f35b6100b960048036038101906100b491906102da565b6101d2565b6040516100c6919061025c565b60405180910390f35b6100d761021b565b6040516100e4919061034c565b60405180910390f35b60008054905090565b60007f00000000000000000000000000000000000000000000000000000000000000006000541061012657600080fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061017690610396565b919050555060008081548092919061018d90610396565b91905055507f90ddedd5a25821bba11fbb98de02ec1f75c1be90ae147d6450ce873e7b78b5d8826040516101c1919061034c565b60405180910390a160019050919050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000819050919050565b61025681610243565b82525050565b6000602082019050610271600083018461024d565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102a78261027c565b9050919050565b6102b78161029c565b81146102c257600080fd5b50565b6000813590506102d4816102ae565b92915050565b6000602082840312156102f0576102ef610277565b5b60006102fe848285016102c5565b91505092915050565b60008115159050919050565b61031c81610307565b82525050565b60006020820190506103376000830184610313565b92915050565b6103468161029c565b82525050565b6000602082019050610361600083018461033d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006103a182610243565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036103d3576103d2610367565b5b60018201905091905056fea26469706673582212200a979ea2bfdf429b5546fa25906c9d20a3d67ef5fbe531f31d2cc83533e3239564736f6c63430008120033"; - const signer = await provider.getSigner(0); - const factory = new index_js_1.quais.ContractFactory(abi, bytecode, signer); - const contract = await factory.deploy(signer, 100); + const provider = new index_js_1.quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new index_js_1.quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const abi = QRC20_js_1.default.abi; + const bytecode = QRC20_js_1.default.bytecode; + const constructorArgs = { + name: 'Testing', + symbol: 'Test', + totalSupply: Math.pow(10, 3), + }; + let contract; + let address; + before(async function () { + this.timeout(100000); + const factory = new index_js_1.quais.ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy(constructorArgs.name, constructorArgs.symbol, constructorArgs.totalSupply, { + gasLimit: 5000000 + }); address = await contract.getAddress(); - await contract.waitForDeployment(); - const deployed = await provider.getCode(address); - assert_1.default.ok(deployed != "0x", "has bytescode"); + console.log('Contract deployed to:', address); + let tries = 0; + const POLLING_TRIES = 10; // define POLLING_TRIES if not defined elsewhere + let deployed = false; + let code = await provider.getCode(address); + while (tries < POLLING_TRIES && !deployed) { + code = await provider.getCode(address); + if (code != "0x") { + deployed = true; + } + tries += 1; + await (0, utils_js_1.stall)(10000); // Ensure stall is defined or use a different delay mechanism + } + if (!deployed) { + throw new Error("Contract deployment failed"); + } + }); + it("confirms the contract deployment", function () { + assert_1.default.ok(address, "Contract address should be available"); + assert_1.default.ok(contract, "Contract instance should be available"); }); it("runs contract operations", async function () { - this.timeout(10000); + this.timeout(100000); assert_1.default.ok(address != null); - const signer = await provider.getSigner(0); const CustomContract = index_js_1.quais.BaseContract.buildClass(abi); - const contract = new CustomContract(address, signer); //quais.Contract.from(address, abi, signer); + const contract = new CustomContract(address, wallet); //quais.Contract.from(address, abi, signer); // Test implicit staticCall (i.e. view/pure) { const supply0 = await contract.totalSupply(); - assert_1.default.equal(supply0, BigInt(0), "initial supply 0; default"); + assert_1.default.equal(supply0, BigInt(1000), "initial supply 0; default"); } // Test explicit staticCall { const supply0 = await contract.totalSupply.staticCall(); - assert_1.default.equal(supply0, BigInt(0), "initial supply 0; staticCall"); + assert_1.default.equal(supply0, BigInt(1000), "initial supply 0; staticCall"); } // Test staticCallResult (positional and named) { const supply0 = await contract.totalSupply.staticCallResult(); - assert_1.default.equal(supply0[0], BigInt(0), "initial supply 0; staticCallResult"); - assert_1.default.equal(supply0.supply, BigInt(0), "initial supply 0; staticCallResult"); + assert_1.default.equal(supply0[0], BigInt(1000), "initial supply 0; staticCallResult"); } - // Test populateTransaction - const txInfo = await contract.mint.populateTransaction(signer); - assert_1.default.equal(txInfo.to, address, "populateTransaction.to"); - const txInfoData = index_js_1.quais.hexlify(index_js_1.quais.concat([ - "0x6a627842", - index_js_1.quais.zeroPadValue(await signer.getAddress(), 32) - ])); - assert_1.default.equal(txInfo.data, txInfoData, "populateTransaction.data"); - // Test minting (default) - const tx = await contract.mint(signer); - const receipt = await tx.wait(); - assert_1.default.ok(receipt, "receipt"); + const reciever = '0x0aff86a125b29b25a9e418c2fb64f1753532c0ca'; + // Test transfer (default) + const tx = await contract.transfer(reciever, BigInt(1)); + await (0, utils_js_1.stall)(60000); + const receipt = await provider.getTransactionReceipt(tx.hash); + await (0, utils_js_1.stall)(10000); + assert_1.default.ok(receipt, "receipt not null"); + const contractAddr = await contract.getAddress(); // Check the receipt has parsed the events assert_1.default.equal(receipt.logs.length, 1, "logs.length"); - assert_1.default.ok(receipt instanceof index_js_1.quais.ContractTransactionReceipt, "receipt typeof"); - assert_1.default.ok(receipt.logs[0] instanceof index_js_1.quais.EventLog, "receipt.log typeof"); - assert_1.default.equal(receipt.logs[0].fragment && receipt.logs[0].fragment.name, "Minted", "logs[0].fragment.name"); - assert_1.default.equal(receipt.logs[0].args[0], await signer.getAddress(), "logs[0].args[0]"); - assert_1.default.equal(receipt.logs[0].args.target, await signer.getAddress(), "logs[0].args.target"); - // Check the state has been adjusted - assert_1.default.equal(await contract.totalSupply(), BigInt(1), "initial supply 1; default"); - assert_1.default.equal(await contract.balanceOf(signer), BigInt(1), "balanceOf(signer)"); - // Test minting (explicit) - const tx2 = await contract.mint.send(signer); - await tx2.wait(); + assert_1.default.ok(receipt instanceof index_js_1.quais.TransactionReceipt, "receipt typeof"); + assert_1.default.ok(receipt.logs[0] instanceof index_js_1.quais.Log, "receipt.log typeof"); + assert_1.default.equal(receipt.logs[0].address, contractAddr, "Proper target address"); // Check the state has been adjusted - assert_1.default.equal(await contract.totalSupply(), BigInt(2), "initial supply 2; default"); + assert_1.default.equal(await contract.balanceOf(reciever), BigInt(1), "balanceOf(signer)"); }); }); //# sourceMappingURL=test-contract-integ.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-contract-integ.js.map b/lib.commonjs/_tests/test-contract-integ.js.map index 68076ab6..7066bdb3 100644 --- a/lib.commonjs/_tests/test-contract-integ.js.map +++ b/lib.commonjs/_tests/test-contract-integ.js.map @@ -1 +1 @@ -{"version":3,"file":"test-contract-integ.js","sourceRoot":"","sources":["../../src.ts/_tests/test-contract-integ.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAG5B,0CAAoC;AAQpC,QAAQ,CAAC,4BAA4B,EAAE;IACnC,MAAM,QAAQ,GAAG,IAAI,gBAAK,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC;IAErE,MAAM,GAAG,GAAG;QACR,4CAA4C;QAC5C,qDAAqD;QACrD,mDAAmD;QACnD,gEAAgE;QAChE,8BAA8B;KACjC,CAAC;IAEF,IAAI,OAAO,GAAkB,IAAI,CAAC;IAElC,EAAE,CAAC,oBAAoB,EAAE,KAAK;QAC1B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEpB,MAAM,QAAQ,GAAG,gxFAAgxF,CAAC;QAClyF,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QAE3C,MAAM,OAAO,GAAG,IAAI,gBAAK,CAAC,eAAe,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAEjE,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,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,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC;IACrF,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-contract.js b/lib.commonjs/_tests/test-contract.js index d43e3f7d..b1b6730f 100644 --- a/lib.commonjs/_tests/test-contract.js +++ b/lib.commonjs/_tests/test-contract.js @@ -4,147 +4,138 @@ const tslib_1 = require("tslib"); const assert_1 = tslib_1.__importDefault(require("assert")); const create_provider_js_1 = require("./create-provider.js"); const index_js_1 = require("../index.js"); +const TestContract_js_1 = tslib_1.__importDefault(require("./contracts/TestContract.js")); +const TypedContract_js_1 = tslib_1.__importDefault(require("./contracts/TypedContract.js")); +const index_js_2 = require("../index.js"); +const utils_js_1 = require("./utils.js"); (0, create_provider_js_1.setupProviders)(); describe("Test Contract", function () { - const addr = "0x99417252Aad7B065940eBdF50d665Fb8879c5958"; - const abi = [ - "error CustomError1(uint256 code, string message)", - "event EventUint256(uint256 indexed value)", - "event EventAddress(address indexed value)", - "event EventString(string value)", - "event EventBytes(bytes value)", - "function testCustomError1(bool pass, uint code, string calldata message) pure returns (uint256)", - "function testErrorString(bool pass, string calldata message) pure returns (uint256)", - "function testPanic(uint256 code) returns (uint256)", - "function testEvent(uint256 valueUint256, address valueAddress, string valueString, bytes valueBytes) public", - "function testCallAdd(uint256 a, uint256 b) pure returns (uint256 result)", - ]; + const provider = new index_js_2.quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new index_js_2.quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const abi = TestContract_js_1.default.abi; + const bytecode = TestContract_js_1.default.bytecode; + let contract; + let addr; + before(async function () { + this.timeout(60000); + await (0, utils_js_1.stall)(10000); + const factory = new index_js_1.ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy({ gasLimit: 5000000, maxFeePerGas: index_js_2.quais.parseUnits('10', 'gwei'), maxPriorityFeePerGas: index_js_2.quais.parseUnits('3', 'gwei') }); + addr = await contract.getAddress(); + console.log("Contract deployed to: ", addr); + await (0, utils_js_1.stall)(30000); + }); it("tests contract calls", async function () { this.timeout(10000); - const provider = (0, create_provider_js_1.getProvider)("InfuraProvider", "goerli"); - const contract = new index_js_1.Contract(addr, abi, provider); assert_1.default.equal(await contract.testCallAdd(4, 5), BigInt(9), "testCallAdd(4, 5)"); assert_1.default.equal(await contract.testCallAdd(6, 0), BigInt(6), "testCallAdd(6, 0)"); }); - it("tests events", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.getProvider)("InfuraProvider", "goerli"); - assert_1.default.ok(provider); - const contract = new index_js_1.Contract(addr, abi, provider); - const signer = new index_js_1.Wallet((process.env.FAUCET_PRIVATEKEY), provider); - const contractSigner = contract.connect(signer); - const vUint256 = 42; - const vAddrName = "quais.eth"; - const vAddr = "0x228568EA92aC5Bc281c1E30b1893735c60a139F1"; - const vString = "Hello"; - const vBytes = "0x12345678"; - let hash = null; - // Test running a listener for a specific event - const specificEvent = new Promise((resolve, reject) => { - contract.on("EventUint256", async (value, event) => { - // Triggered by someone else - if (hash == null || hash !== event.log.transactionHash) { - return; - } - try { - assert_1.default.equal(event.filter, "EventUint256", "event.filter"); - assert_1.default.equal(event.fragment.name, "EventUint256", "event.fragment.name"); - assert_1.default.equal(event.log.address, addr, "event.log.address"); - assert_1.default.equal(event.args.length, 1, "event.args.length"); - assert_1.default.equal(event.args[0], BigInt(42), "event.args[0]"); - const count = await contract.listenerCount("EventUint256"); - await event.removeListener(); - assert_1.default.equal(await contract.listenerCount("EventUint256"), count - 1, "decrement event count"); - resolve(null); - } - catch (e) { - event.removeListener(); - reject(e); - } - }); - }); - // Test running a listener on all (i.e. "*") events - const allEvents = new Promise((resolve, reject) => { - const waitingFor = { - EventUint256: vUint256, - EventAddress: vAddr, - EventString: vString, - EventBytes: vBytes - }; - contract.on("*", (event) => { - // Triggered by someone else - if (hash == null || hash !== event.log.transactionHash) { - return; - } - try { - const name = event.eventName; - assert_1.default.equal(event.args[0], waitingFor[name], `${name}`); - delete waitingFor[name]; - if (Object.keys(waitingFor).length === 0) { - event.removeListener(); - resolve(null); - } - } - catch (error) { - reject(error); - } - }); - }); - // Send a transaction to trigger some events - const tx = await contractSigner.testEvent(vUint256, vAddr, vString, vBytes); - hash = tx.hash; - const checkEvent = (filter, event) => { - const values = { - EventUint256: vUint256, - EventString: vString, - EventAddress: vAddr, - EventBytes: vBytes - }; - assert_1.default.ok(event instanceof index_js_1.EventLog, `queryFilter(${filter}):isEventLog`); - const name = event.eventName; - assert_1.default.equal(event.address, addr, `queryFilter(${filter}):address`); - assert_1.default.equal(event.args[0], values[name], `queryFilter(${filter}):args[0]`); - }; - const checkEventFilter = async (filter) => { - const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); - assert_1.default.equal(events.length, 1, `queryFilter(${filter}).length`); - checkEvent(filter, events[0]); - return events[0]; - }; - const receipt = await tx.wait(); - // Check the logs in the receipt - for (const log of receipt.logs) { - checkEvent("receipt", log); - } - // Various options for queryFilter - await checkEventFilter("EventUint256"); - await checkEventFilter(["EventUint256"]); - await checkEventFilter([["EventUint256"]]); - await checkEventFilter("EventUint256(uint)"); - await checkEventFilter(["EventUint256(uint)"]); - await checkEventFilter([["EventUint256(uint)"]]); - await checkEventFilter([["EventUint256", "EventUint256(uint)"]]); - await checkEventFilter("0x85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea337"); - // Query by Event - await checkEventFilter(contract.filters.EventUint256); - // Query by Deferred Topic Filter; address - await checkEventFilter(contract.filters.EventUint256(vUint256)); - // Query by Deferred Topic Filter; address - await checkEventFilter(contract.filters.EventAddress(vAddr)); - // Query by Deferred Topic Filter; ENS name => address - await checkEventFilter(contract.filters.EventAddress(vAddrName)); - // Multiple Methods - { - const filter = [["EventUint256", "EventString"]]; - const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); - assert_1.default.equal(events.length, 2, `queryFilter(${filter}).length`); - for (const event of events) { - checkEvent(filter, event); - } - } - await specificEvent; - await allEvents; - }); + //Awaiting Quai subscrigbe functionality + // it("tests events", async function() { + // this.timeout(60000); + // assert.ok(provider) + // const vUint256 = 42; + // const vAddrName = "quais.eth"; + // const vAddr = "0x228568EA92aC5Bc281c1E30b1893735c60a139F1"; + // const vString = "Hello"; + // const vBytes = "0x12345678"; + // let hash: null | string = null; + // // Test running a listener for a specific event + // const specificEvent = new Promise((resolve, reject) => { + // contract.on("EventUint256", async (value, event) => { + // // Triggered by someone else + // if (hash == null || hash !== event.log.transactionHash) { return; } + // try { + // assert.equal(event.filter, "EventUint256", "event.filter"); + // assert.equal(event.fragment.name, "EventUint256", "event.fragment.name"); + // assert.equal(event.log.address, addr, "event.log.address"); + // assert.equal(event.args.length, 1, "event.args.length"); + // assert.equal(event.args[0], BigInt(42), "event.args[0]"); + // const count = await contract.listenerCount("EventUint256"); + // await event.removeListener(); + // assert.equal(await contract.listenerCount("EventUint256"), count - 1, "decrement event count"); + // resolve(null); + // } catch (e) { + // event.removeListener(); + // reject(e); + // } + // }); + // }); + // // Test running a listener on all (i.e. "*") events + // const allEvents = new Promise((resolve, reject) => { + // const waitingFor: Record = { + // EventUint256: vUint256, + // EventAddress: vAddr, + // EventString: vString, + // EventBytes: vBytes + // }; + // contract.on("*", (event: ContractEventPayload) => { + // // Triggered by someone else + // if (hash == null || hash !== event.log.transactionHash) { return; } + // try { + // const name = event.eventName; + // assert.equal(event.args[0], waitingFor[name], `${ name }`); + // delete waitingFor[name]; + // if (Object.keys(waitingFor).length === 0) { + // event.removeListener(); + // resolve(null); + // } + // } catch (error) { + // reject(error); + // } + // }); + // }); + // // Send a transaction to trigger some events + // const tx = await contractSigner.testEvent(vUint256, vAddr, vString, vBytes); + // hash = tx.hash; + // const checkEvent = (filter: ContractEventName, event: EventLog | Log) => { + // const values: Record = { + // EventUint256: vUint256, + // EventString: vString, + // EventAddress: vAddr, + // EventBytes: vBytes + // }; + // assert.ok(event instanceof EventLog, `queryFilter(${ filter }):isEventLog`); + // const name = event.eventName; + // assert.equal(event.address, addr, `queryFilter(${ filter }):address`); + // assert.equal(event.args[0], values[name], `queryFilter(${ filter }):args[0]`); + // }; + // const checkEventFilter = async (filter: ContractEventName) => { + // const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); + // assert.equal(events.length, 1, `queryFilter(${ filter }).length`); + // checkEvent(filter, events[0]); + // return events[0]; + // }; + // const receipt = await tx.wait(); + // // Check the logs in the receipt + // for (const log of receipt.logs) { checkEvent("receipt", log); } + // // Various options for queryFilter + // await checkEventFilter("EventUint256"); + // await checkEventFilter([ "EventUint256" ]); + // await checkEventFilter([ [ "EventUint256" ] ]); + // await checkEventFilter("EventUint256(uint)"); + // await checkEventFilter([ "EventUint256(uint)" ]); + // await checkEventFilter([ [ "EventUint256(uint)" ] ]); + // await checkEventFilter([ [ "EventUint256", "EventUint256(uint)" ] ]); + // await checkEventFilter("0x85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea337"); + // // Query by Event + // await checkEventFilter(contract.filters.EventUint256); + // // Query by Deferred Topic Filter; address + // await checkEventFilter(contract.filters.EventUint256(vUint256)); + // // Query by Deferred Topic Filter; address + // await checkEventFilter(contract.filters.EventAddress(vAddr)); + // // Query by Deferred Topic Filter; ENS name => address + // await checkEventFilter(contract.filters.EventAddress(vAddrName)); + // // Multiple Methods + // { + // const filter = [ [ "EventUint256", "EventString" ] ]; + // const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); + // assert.equal(events.length, 2, `queryFilter(${ filter }).length`); + // for (const event of events) { checkEvent(filter, event); } + // } + // await specificEvent; + // await allEvents; + // }); it("tests the _in_ operator for functions", function () { const contract = new index_js_1.Contract(addr, abi); assert_1.default.equal("testCallAdd" in contract, true, "has(testCallAdd)"); @@ -205,19 +196,20 @@ describe("Test Typed Contract Interaction", function () { valueFunc: (type) => { return "someString"; } } ]; - const abi = []; - for (let i = 1; i <= 32; i++) { - abi.push(`function testTyped(uint${i * 8}) public pure returns (string memory)`); - abi.push(`function testTyped(int${i * 8}) public pure returns (string memory)`); - abi.push(`function testTyped(bytes${i}) public pure returns (string memory)`); - } - abi.push(`function testTyped(address) public pure returns (string memory)`); - abi.push(`function testTyped(bool) public pure returns (string memory)`); - abi.push(`function testTyped(bytes memory) public pure returns (string memory)`); - abi.push(`function testTyped(string memory) public pure returns (string memory)`); - const addr = "0x838f41545DA5e18AA0e1ab391085d22E172B7B02"; - const provider = (0, create_provider_js_1.getProvider)("InfuraProvider", "goerli"); - const contract = new index_js_1.Contract(addr, abi, provider); + const abi = TypedContract_js_1.default.abi; + const provider = new index_js_2.quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new index_js_2.quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const bytecode = TypedContract_js_1.default.bytecode; + let contract; + let addr; + before(async function () { + this.timeout(120000); + const factory = new index_js_1.ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy({ gasLimit: 5000000, maxFeePerGas: index_js_2.quais.parseUnits('10', 'gwei'), maxPriorityFeePerGas: index_js_2.quais.parseUnits('3', 'gwei'), }); + addr = await contract.getAddress(); + console.log("Contract deployed to: ", addr); + await (0, utils_js_1.stall)(50000); + }); for (const { types, valueFunc } of tests) { for (const type of types) { const value = valueFunc(type); diff --git a/lib.commonjs/_tests/test-contract.js.map b/lib.commonjs/_tests/test-contract.js.map index 61f653ce..6f0e551b 100644 --- a/lib.commonjs/_tests/test-contract.js.map +++ b/lib.commonjs/_tests/test-contract.js.map @@ -1 +1 @@ -{"version":3,"file":"test-contract.js","sourceRoot":"","sources":["../../src.ts/_tests/test-contract.ts"],"names":[],"mappings":";;;AACA,4DAA4B;AAE5B,6DAAmE;AAEnE,0CAEqB;AAGrB,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,eAAe,EAAE;IACtB,MAAM,IAAI,GAAG,4CAA4C,CAAC;IAC1D,MAAM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d,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;wBAClB,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;qBAClC;oBACD,gBAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;oBAC7B,OAAO,MAAM,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAA;gBAC1D,CAAC,CAAC;gBAEF,IAAI,MAAM,IAAI,IAAI,EAAE;oBAChB,MAAM,IAAI,EAAE,CAAC;oBACb,8BAA8B;oBAC9B,0CAA0C;oBAC1C,sBAAsB;oBACtB,gBAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;iBACnB;qBAAM;oBACH,MAAM,gBAAM,CAAC,OAAO,CAAC,IAAI,EAAE,UAAS,KAAU;wBAC1C,IAAI,KAAK,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,EAAE;4BAAE,OAAO,IAAI,CAAC;yBAAE;wBAClD,IAAI,IAAA,kBAAO,EAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE;4BACpC,OAAO,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC;yBACxC;wBACD,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;wBACzB,OAAO,IAAI,CAAC;oBAChB,CAAC,CAAC,CAAC;iBACN;YACL,CAAC,CAAC,CAAC;SACN;KACJ;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-contract.js","sourceRoot":"","sources":["../../src.ts/_tests/test-contract.ts"],"names":[],"mappings":";;;AACA,4DAA4B;AAE5B,6DAAmE;AAEnE,0CAEqB;AACrB,0FAAsD;AACtD,4FAAwD;AACxD,0CAAoC;AACpC,yCAAmC;AAEnC,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,eAAe,EAAE;IACtB,MAAM,QAAQ,GAAG,IAAI,gBAAK,CAAC,eAAe,CAAC,OAAO,CA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test-hash.js +++ b/lib.commonjs/_tests/test-hash.js @@ -130,17 +130,17 @@ describe("Test EIP-191 Personal Message Hash", function () { { test: "hello-world", message: "Hello World", - hash: "0xa1de988600a42c4b4ab089b619297c17d53cffae5d5120d82d8a92d0bb3b78f2" + hash: "0xca6464b285e602e01f3261caa151da2bd35fe19cb3532f7acd0d594ca0d810c5" }, { test: "binary-message", message: new Uint8Array([0x42, 0x43]), - hash: "0x0d3abc18ec299cf9b42ba439ac6f7e3e6ec9f5c048943704e30fc2d9c7981438" + hash: "0xd2ca8706bdbb1255b510b6acf42339faabf95bb8192cc7c562a6019ad8463c60" }, { test: "hex-looking-string", message: "0x4243", - hash: "0x6d91b221f765224b256762dcba32d62209cf78e9bebb0a1b758ca26c76db3af4" + hash: "0xcfe58e0f243f48080feeeb86f9b27e35f65955d3b39a644478c376b2733d9804" } ]; for (const test of tests) { diff --git a/lib.commonjs/_tests/test-provider-jsonrpc.js b/lib.commonjs/_tests/test-provider-jsonrpc.js index 7a505e93..5860ff91 100644 --- a/lib.commonjs/_tests/test-provider-jsonrpc.js +++ b/lib.commonjs/_tests/test-provider-jsonrpc.js @@ -19,13 +19,13 @@ function createProvider(testFunc) { let result = testFunc(req.method, req.params, blockNumber); if (result === undefined) { switch (req.method) { - case "eth_blockNumber": + case "quai_blockNumber": result = blockNumber; break; - case "eth_chainId": + case "quai_chainId": result = "0x1337"; break; - case "eth_accounts": + case "quai_accounts": result = [wallet.address]; break; default: @@ -78,9 +78,9 @@ describe("Ensure Catchable Errors", function () { let count = 0; const provider = createProvider((method, params, blockNumber) => { switch (method) { - case "eth_sendTransaction": + case "quai_sendTransaction": return txObj.hash; - case "eth_getTransactionByHash": { + case "quai_getTransactionByHash": { count++; // First time; fail! if (count === 1) { @@ -125,9 +125,9 @@ describe("Ensure Catchable Errors", function () { // in getTransaction const provider = createProvider((method, params, blockNumber) => { switch (method) { - case "eth_sendTransaction": + case "quai_sendTransaction": return txObj.hash; - case "eth_getTransactionByHash": { + case "quai_getTransactionByHash": { count++; // The fully valid tx response const result = Object.assign({}, txObj.toJSON(), txObj.signature.toJSON(), { hash: txObj.hash, from: wallet.address, sig: null }); diff --git a/lib.commonjs/_tests/test-provider-jsonrpc.js.map b/lib.commonjs/_tests/test-provider-jsonrpc.js.map index 45d58d3e..d78fab14 100644 --- a/lib.commonjs/_tests/test-provider-jsonrpc.js.map +++ b/lib.commonjs/_tests/test-provider-jsonrpc.js.map @@ -1 +1 @@ -{"version":3,"file":"test-provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/_tests/test-provider-jsonrpc.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,0CAIqB;AAErB,MAAM,cAAc,GAA2B;IAC7C,GAAG,EAAE,IAAI;IACT,GAAG,EAAE,aAAa;IAClB,GAAG,EAAE,cAAc;CACpB,CAAC;AAKF,MAAM,MAAM,GAAG,IAAI,iBAAM,CAAC,IAAA,aAAE,EAAC,MAAM,CAAC,CAAC,CAAC;AAEtC,SAAS,cAAc,CAAC,QAAwB;IAE5C,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE,GAAG,WAAW,EAAE,CAAA,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACzD,IAAI,MAAM,CAAC,KAAK,EAAE;QAAE,MAAM,CAAC,KAAK,EAAE,CAAC;KAAE;IAErC,MAAM,UAAU,GAAG,CAAC,GAAuD,EAAE,EAAE;QAE3E,IAAI,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAC3D,IAAI,MAAM,KAAK,SAAS,EAAE;YACtB,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAChB,KAAK,iBAAiB;oBAClB,MAAM,GAAG,WAAW,CAAC;oBACrB,MAAM;gBACV,KAAK,aAAa;oBACd,MAAM,GAAG,QAAQ,CAAC;oBAClB,MAAM;gBACV,KAAK,c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CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,sBAAsB,CAAC,CAAC;QACxC,gBAAM,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,yBAAyB,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/_tests/test-provider-jsonrpc.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,0CAIqB;AAErB,MAAM,cAAc,GAA2B;IAC7C,GAAG,EAAE,IAAI;IACT,GAAG,EAAE,aAAa;IAClB,GAAG,EAAE,cAAc;CACpB,CAAC;AAMF,MAAM,MAAM,GAAG,IAAI,iBAAM,CAAC,IAAA,aAAE,EAAC,MAAM,CAAC,CAAC,CAAC;AAEtC,SAAS,cAAc,CAAC,QAAwB;IAE5C,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE,GAAG,WAAW,EAAE,CAAA,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACzD,IAAI,MAAM,CAAC,KAAK,EAAE;QAAE,MAAM,CAAC,KAAK,EAAE,CAAC;KAAE;IAErC,MAAM,UAAU,GAAG,CAAC,GAAuD,EAAE,EAAE;QAE3E,IAAI,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAC3D,IAAI,MAAM,KAAK,SAAS,EAAE;YACtB,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAChB,KAAK,kBAAkB;oBACnB,MAAM,GAAG,WAAW,CAAC;oBACrB,MAAM;gBACV,KAAK,cAAc;oBACf,MAAM,GAAG,QAAQ,CAAC;oBAClB,MAAM;gBACV,KAAK,eAAe;oBAChB,MAAM,GAAG,CAAE,MAAM,CAAC,OAAO,CAAE,CAAC;oBAC5B,MAAM;gBACV;oBACI,O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,CAAC,CAAC,CAAC,QAAQ,EAAE,yBAAyB,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-avatar.js b/lib.commonjs/_tests/test-providers-avatar.js deleted file mode 100644 index 013fce57..00000000 --- a/lib.commonjs/_tests/test-providers-avatar.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -const assert_1 = tslib_1.__importDefault(require("assert")); -const create_provider_js_1 = require("./create-provider.js"); -(0, create_provider_js_1.setupProviders)(); -describe("Resolve ENS avatar", function () { - [ - { title: "data", name: "data-avatar.tests.quais.eth", value: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAMAAACeL25MAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUQ4NTEyNUIyOEIwMTFFQzg0NTBDNTU2RDk1NTA5NzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUQ4NTEyNUMyOEIwMTFFQzg0NTBDNTU2RDk1NTA5NzgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1RDg1MTI1OTI4QjAxMUVDODQ1MEM1NTZEOTU1MDk3OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1RDg1MTI1QTI4QjAxMUVDODQ1MEM1NTZEOTU1MDk3OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkbM0uMAAAAGUExURQAA/wAAAHtivz4AAAAOSURBVHjaYmDABAABBgAAFAABaEkyYwAAAABJRU5ErkJggg==" }, - { title: "ipfs", name: "ipfs-avatar.tests.quais.eth", value: "https:/\/gateway.ipfs.io/ipfs/QmQsQgpda6JAYkFoeVcj5iPbwV3xRcvaiXv3bhp1VuYUqw" }, - { title: "url", name: "url-avatar.tests.quais.eth", value: "https:/\/quais.org/static/logo.png" }, - ].forEach((test) => { - it(`Resolves avatar for ${test.title}`, async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - const avatar = await provider.getAvatar(test.name); - assert_1.default.equal(test.value, avatar, "avatar url"); - }); - }); - /* - // @TODO: Set up some examples on goerli - [ - { title: "ERC-1155", name: "nick.eth", value: "https:/\/lh3.googleusercontent.com/hKHZTZSTmcznonu8I6xcVZio1IF76fq0XmcxnvUykC-FGuVJ75UPdLDlKJsfgVXH9wOSmkyHw0C39VAYtsGyxT7WNybjQ6s3fM3macE" }, - // { title: "ERC-721", name: "brantly.eth", value: "https:/\/api.wrappedpunks.com/images/punks/2430.png" } - ].forEach((test) => { - it(`Resolves avatar for ${ test.title }`, async function() { - this.timeout(60000); - const provider = connect("mainnet"); - const avatar = await provider.getAvatar(test.name); - assert.equal(avatar, test.value, "avatar url"); - }); - }); - */ -}); -//# sourceMappingURL=test-providers-avatar.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-ccip.d.ts b/lib.commonjs/_tests/test-providers-ccip.d.ts deleted file mode 100644 index 7fb8212e..00000000 --- a/lib.commonjs/_tests/test-providers-ccip.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=test-providers-ccip.d.ts.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-ccip.d.ts.map b/lib.commonjs/_tests/test-providers-ccip.d.ts.map deleted file mode 100644 index 50188a3f..00000000 --- a/lib.commonjs/_tests/test-providers-ccip.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-ccip.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-ccip.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-ccip.js b/lib.commonjs/_tests/test-providers-ccip.js deleted file mode 100644 index 64f0069d..00000000 --- a/lib.commonjs/_tests/test-providers-ccip.js +++ /dev/null @@ -1,141 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -const assert_1 = tslib_1.__importDefault(require("assert")); -const index_js_1 = require("../index.js"); -const create_provider_js_1 = require("./create-provider.js"); -(0, create_provider_js_1.setupProviders)(); -describe("Test CCIP execution", function () { - // This matches the verify method in the Solidity contract against the - // processed data from the endpoint - const verify = function (sender, data, result) { - const check = (0, index_js_1.concat)([ - (0, index_js_1.toBeArray)((0, index_js_1.dataLength)(sender)), sender, - (0, index_js_1.toBeArray)((0, index_js_1.dataLength)(data)), data - ]); - assert_1.default.equal(result, (0, index_js_1.keccak256)(check), "response is equal"); - }; - const address = "0x6C5ed35574a9b4d163f75bBf0595F7540D8FCc2d"; - const calldata = "0x1234"; - it("testGet passes under normal operation", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testGet(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - const result = await provider.call(tx); - verify(address, calldata, result); - }); - it("testGet should fail with CCIP not explicitly enabled by overrides", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testGet(bytes callData = "0x1234") - const tx = { - to: address, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert_1.default.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const offchainErrorData = "0x556f18300000000000000000000000006c5ed35574a9b4d163f75bbf0595f7540d8fcc2d00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return ((0, index_js_1.isCallException)(error) && error.data === offchainErrorData); - }); - }); - it("testGet should fail with CCIP explicitly disabled on provider", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - provider.disableCcipRead = true; - // testGetFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert_1.default.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const offchainErrorData = "0x556f18300000000000000000000000006c5ed35574a9b4d163f75bbf0595f7540d8fcc2d00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return ((0, index_js_1.isCallException)(error) && error.data === offchainErrorData); - }); - }); - it("testGetFail should fail if all URLs 5xx", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testGetFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x36f9cea6000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert_1.default.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const infoJson = '{"urls":["https:/\/quais.ricmoo.workers.dev/status/500/{sender}/{data}"],"errorMessages":["hello world"]}'; - return ((0, index_js_1.isError)(error, "OFFCHAIN_FAULT") && error.reason === "500_SERVER_ERROR" && - JSON.stringify(error.info) === infoJson); - }); - }); - it("testGetSenderFail should fail if sender does not match", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testGetSenderFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x64bff6d1000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000", - }; - await assert_1.default.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const errorArgsJson = '["0x0000000000000000000000000000000000000000",["https://quais.ricmoo.workers.dev/test-ccip-read/{sender}/{data}"],"0x1234","0xb1494be1","0x4d792065787472612064617461"]'; - const offchainErrorData = "0x556f1830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return ((0, index_js_1.isCallException)(error) && error.data === offchainErrorData && - error.revert && - error.revert.signature === "OffchainLookup(address,string[],bytes,bytes4,bytes)" && - JSON.stringify(error.revert.args) === errorArgsJson); - }); - }); - it("testGetMissing should fail if early URL 4xx", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testGetMissing(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x4ece8d7d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert_1.default.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const infoJson = '{"url":"https:/\/quais.ricmoo.workers.dev/status/404/{sender}/{data}","errorMessage":"hello world"}'; - return ((0, index_js_1.isError)(error, "OFFCHAIN_FAULT") && error.reason === "404_MISSING_RESOURCE" && - JSON.stringify(error.info || "") === infoJson); - }); - }); - it("testGetFallback passes if any URL returns correctly", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testGetFallback(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xedf4a021000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - const result = await provider.call(tx); - verify(address, calldata, result); - }); - it("testPost passes under normal operation", async function () { - this.timeout(60000); - const provider = (0, create_provider_js_1.connect)("goerli"); - // testPost(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x66cab49d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - const result = await provider.call(tx); - verify(address, calldata, result); - }); -}); -//# sourceMappingURL=test-providers-ccip.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-ccip.js.map b/lib.commonjs/_tests/test-providers-ccip.js.map deleted file mode 100644 index 32ce00d3..00000000 --- a/lib.commonjs/_tests/test-providers-ccip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-ccip.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-ccip.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,0CAKqB;AAErB,6DAA+D;AAE/D,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,qBAAqB,EAAE;IAE5B,sEAAsE;IACtE,mCAAmC;IACnC,MAAM,MAAM,GAAG,UAAS,MAAc,EAAE,IAAY,EAAE,MAAc;QAChE,MAAM,KAAK,GAAG,IAAA,iBAAM,EAAC;YACjB,IAAA,oBAAS,EAAC,IAAA,qBAAU,EAAC,MAAM,CAAC,CAAC,EAAE,MAAM;YACrC,IAAA,oBAAS,EAAC,IAAA,qBAAU,EAAC,IAAI,CAAC,CAAC,EAAE,IAAI;SACpC,CAAC,CAAC;QACH,gBAAM,CAAC,KAAK,CAAC,MAAM,EAAE,I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AC;QAEnC,sCAAsC;QACtC,MAAM,EAAE,GAAG;YACP,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI;YACjC,IAAI,EAAE,4MAA4M;SACrN,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACvC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAA"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-data.js b/lib.commonjs/_tests/test-providers-data.js index 7f60f0ac..950b3a6b 100644 --- a/lib.commonjs/_tests/test-providers-data.js +++ b/lib.commonjs/_tests/test-providers-data.js @@ -2,204 +2,324 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const assert_1 = tslib_1.__importDefault(require("assert")); -const create_provider_js_1 = require("./create-provider.js"); +// import { +// checkProvider, getProvider, providerNames +// } from "./create-provider.js"; +// import { retryIt } from "./utils.js"; +//import type { Provider } from "../index.js"; +const index_js_1 = require("../index.js"); +const axios_1 = tslib_1.__importDefault(require("axios")); const utils_js_1 = require("./utils.js"); -const blockchain_data_js_1 = require("./blockchain-data.js"); -(0, create_provider_js_1.setupProviders)(); -function forEach(prefix, tests, func) { - for (const networkName of blockchain_data_js_1.networkNames) { - const networkTests = tests[networkName]; - if (networkTests == null) { - continue; - } - for (const test of networkTests) { - for (const providerName of create_provider_js_1.providerNames) { - if (!(0, create_provider_js_1.checkProvider)(providerName, networkName)) { - continue; - } - // Let the testcase skip this by returning null - const testFunc = func(providerName, test); - if (testFunc == null) { - continue; - } - // Prepare the testcase - (0, utils_js_1.retryIt)(`${prefix}: ${providerName}:${networkName}.${test.test}`, async function () { - // Create a provider - const provider = (0, create_provider_js_1.getProvider)(providerName, networkName); - try { - assert_1.default.ok(provider != null, "missing provider"); - await testFunc(provider); - } - catch (error) { - // Shutdown socket-based provider, otherwise its socket will prevent - // this process from exiting - if (provider.destroy) { - provider.destroy(); - } - throw error; - } - // Shutdown socket-based provider, otherwise its socket will prevent - // this process from exiting - if (provider.destroy) { - provider.destroy(); - } - }); - } +// import { +// networkFeatureAtBlock, networkNames, +// testAddress, testBlock, testReceipt, testTransaction +// } from "./blockchain-data.js"; +// import type { TestBlockchainNetwork } from "./blockchain-data.js"; +//setupProviders(); +const providerC1 = new index_js_1.quais.JsonRpcProvider(process.env.RPC_URL); +const wallet = new index_js_1.quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', providerC1); +const destinationC1 = '0x0aff86a125b29b25a9e418c2fb64f1753532c0ca'; +const destinationC2 = '0x261ee260b611a0e4c76c8f148cdf7cad65e0daf8'; +function equals(name, actual, expected) { + if (expected && expected.eq) { + if (actual == null) { + assert_1.default.ok(false, name + " - actual big number null"); } + expected = BigInt(expected); + actual = BigInt(actual); + assert_1.default.ok(expected.eq(actual), name + " matches"); } -} -describe("Test Provider Address operations", function () { - forEach("test getBalance(address)", blockchain_data_js_1.testAddress, (providerName, test) => { - if (test.balance == null) { - return null; - } - return async (provider) => { - assert_1.default.equal(await provider.getBalance(test.address), test.balance); - }; - }); - forEach("test getCode(address)", blockchain_data_js_1.testAddress, (providerName, test) => { - if (test.code == null) { - return null; + else if (Array.isArray(expected)) { + if (actual == null) { + assert_1.default.ok(false, name + " - actual array null"); } - return async (provider) => { - assert_1.default.equal(await provider.getCode(test.address), test.code); - }; - }); - /* - forEach("test lookupAddress(address)", testAddress, (provider, test) => { - if (test.name == null) { return null; } - return async () => { - assert.equal(await provider.lookupAddress(test.address), test.name); - }; - }); - - forEach("test resolveName(name)", testAddress, (provider, test) => { - if (test.name == null) { return null; } - return async () => { - assert.equal(await provider.lookupAddress((test.name)), test.address); - }; - }); - */ - forEach("test getStorage(address)", blockchain_data_js_1.testAddress, (providerName, test) => { - if (test.storage == null) { - return null; + assert_1.default.equal(actual.length, expected.length, name + " array lengths match"); + for (let i = 0; i < expected.length; i++) { + equals("(" + name + " - item " + i + ")", actual[i], expected[i]); } - return async (provider) => { - for (const key in test.storage) { - assert_1.default.equal(await provider.getStorage(test.address, key), test.storage[key]); + } + else if (typeof (expected) === "object") { + if (actual == null) { + if (expected === actual) { + return; } - }; - }); - forEach("test getTransactionCount(address)", blockchain_data_js_1.testAddress, (providerName, test) => { - if (test.balance == null) { - return null; - } - return async (provider) => { - assert_1.default.equal(await provider.getTransactionCount(test.address), test.nonce); - }; - }); -}); -function assertObj(prefix, actual, expected) { - assert_1.default.ok(actual != null, `${prefix} is null`); - for (const key in expected) { - if (expected[key] === undefined) { - continue; + assert_1.default.ok(false, name + " - actual object null"); } - assert_1.default.equal(actual[key], expected[key], `${prefix}.${key}`); + let keys = {}; + Object.keys(expected).forEach((key) => { keys[key] = true; }); + Object.keys(actual).forEach((key) => { keys[key] = true; }); + Object.keys(keys).forEach((key) => { + if (typeof actual[key] === "string" && actual[key].toLowerCase && key === "type") { + actual[key] = actual[key].toLowerCase(); + } + equals("(" + name + " - key + " + key + ")", actual[key], expected[key]); + }); } -} -function assertBlock(actual, expected) { - // Check transactions - for (let i = 0; i < expected.transactions.length; i++) { - const expectedTx = expected.transactions[i]; - if (typeof (expectedTx) === "string") { - assert_1.default.equal(actual.transactions[i], expectedTx, `block.transactions[${i}]`); + else { + if (actual == null) { + assert_1.default.ok(false, name + " - actual null"); + } + // Modify this part for case-insensitive comparison for string values + if (typeof actual === 'string' && typeof expected === 'string') { + assert_1.default.equal(actual.toLowerCase(), expected.toLowerCase(), name + " matches (case-insensitive)"); } else { - throw new Error("@TODO"); + assert_1.default.equal(actual, expected, name + " matches"); } } - // Remove the transactions and test keys - expected = Object.assign({}, expected, { transactions: undefined, test: undefined }); - // Check remaining keys - assertObj("block", actual, expected); } -function assertTransaction(actual, expected) { - // @TODO: Accesslist - // Check signature - assertObj("tx.signature", actual.signature, expected.signature); - // Remove the transactions and test keys - expected = Object.assign({}, expected, { - accessList: undefined, - signature: undefined, - test: undefined - }); - // Check remaining keys - assertObj("tx", actual, expected); +async function getRPCGasPrice(url) { + try { + let response; + do { + response = await axios_1.default.post(url || "http://localhost:8610", { + jsonrpc: "2.0", + method: "quai_gasPrice", + params: [], + id: 1 + }); + } while (response.data.result == null); + return response.data.result; + } + catch (error) { + throw new Error(`Error fetching block: ${error.message}`); + } } -function assertReceipt(actual, expected) { - // Check logs - for (let i = 0; i < expected.logs.length; i++) { - let expectedLog = expected.logs[i]; - for (let j = 0; j < expectedLog.topics.length; j++) { - assert_1.default.equal(actual.logs[i].topics[j], expectedLog.topics[j], `receipt.logs[${i}].topics[${j}]`); - } - expectedLog = Object.assign({}, expectedLog, { topics: undefined }); - assertObj(`receipt.log[${i}]`, actual.logs[i], expectedLog); +async function sendTransaction(to) { + let txResponse; + let typeValue; + try { + do { + const prefix = to.substring(0, 4); + typeValue = (Number(prefix) > 29) ? 2 : 0; + const gas = await getRPCGasPrice(process.env.RPC_URL); + let tx = { + from: wallet.address, + to, + value: index_js_1.quais.parseEther("0.1"), + gasPrice: gas * 2, + maxFeePerGas: index_js_1.quais.parseUnits('20', 'gwei'), + maxPriorityFeePerGas: index_js_1.quais.parseUnits('20', 'gwei'), + nonce: await providerC1.getTransactionCount(wallet.address, 'latest'), + data: '', + type: typeValue, + gasLimit: typeValue == 0 ? 21000 : 42000, + chainId: Number(process.env.CHAIN_ID || 1337), + }; + txResponse = await wallet.sendTransaction(tx); + await (0, utils_js_1.stall)(15000); + } while (txResponse.hash == null); + console.log(`Transaction hash for type ${typeValue}: `, txResponse.hash); + return txResponse; } - // Remove the transactions and test keys - expected = Object.assign({}, expected, { logs: undefined, test: undefined }); - // In Byzantium, the root was dropped and the status was added - if ((0, blockchain_data_js_1.networkFeatureAtBlock)("byzantium", expected.blockNumber)) { - expected = Object.assign({}, expected, { root: undefined }); + catch (error) { + console.error('Failed to send Transaction: ', error); + return null; } - else { - expected = Object.assign({}, expected, { status: undefined }); +} +async function fetchRPCBlock(blockNumber) { + try { + let response; + do { + response = await axios_1.default.post(process.env.RPC_URL || "http://localhost:8610", { + jsonrpc: "2.0", + method: "quai_getBlockByNumber", + params: [ + blockNumber || '0xA', + false + ], + id: 1 + }); + } while (response.data.result.hash == null); + return response.data.result; + } + catch (error) { + throw error; + } +} +async function fetchRPCBalance(address, url) { + try { + let response; + do { + response = await axios_1.default.post(url, { + jsonrpc: "2.0", + method: "quai_getBalance", + params: [ + address, + 'latest' + ], + id: 1 + }); + } while (response.data.result == null); + return response.data.result; + } + catch (error) { + throw new Error(`Error fetching block: ${error.message}`); + } +} +async function fetchRPCTxReceipt(hash, url) { + try { + let response; + do { + response = await axios_1.default.post(url, { + jsonrpc: "2.0", + method: "quai_getTransactionReceipt", + params: [ + hash + ], + id: 1 + }); + await (0, utils_js_1.stall)(5000); + } while (response.data.result.blockHash == null); + return response.data.result; + } + catch (error) { + throw new Error(`Error fetching block: ${error.message}`); } - // Check remaining keys - assertObj("receipt", actual, expected); } describe("Test Provider Block operations", function () { - forEach("test getBlock(blockHash)", blockchain_data_js_1.testBlock, (providerName, test) => { - // quaiscan does not support getting a block by blockhash - if (providerName === "quaiscanProvider") { - return null; - } - return async (provider) => { - assertBlock(await provider.getBlock(test.hash), test); + let block; + before(async () => { + const rpcBlock = await fetchRPCBlock('0xA'); + block = { + hash: rpcBlock.hash, + number: rpcBlock.number.map((stringNumber) => Number(stringNumber)), + transactions: rpcBlock.transactions, + parentHash: rpcBlock.parentHash, + parentEntropy: rpcBlock.parentEntropy.map((entropy) => BigInt(entropy)), + extTransactions: rpcBlock.extTransactions, + timestamp: Number(rpcBlock.timestamp), + nonce: rpcBlock.nonce, + difficulty: BigInt(rpcBlock.difficulty), + gasLimit: BigInt(rpcBlock.gasLimit), + gasUsed: BigInt(rpcBlock.gasUsed), + miner: rpcBlock.miner, + extraData: rpcBlock.extraData, + transactionsRoot: rpcBlock.transactionsRoot, + stateRoot: rpcBlock.stateRoot, + receiptsRoot: rpcBlock.receiptsRoot, + baseFeePerGas: BigInt(rpcBlock.baseFeePerGas), + extRollupRoot: rpcBlock.extRollupRoot, + extTransactionsRoot: rpcBlock.extTransactionsRoot, + location: rpcBlock.location, + manifestHash: rpcBlock.manifestHash, + mixHash: rpcBlock.mixHash, + order: rpcBlock.order, + parentDeltaS: rpcBlock.parentDeltaS.map((delta) => BigInt(delta)), + sha3Uncles: rpcBlock.sha3Uncles, + size: BigInt(rpcBlock.size), + uncles: rpcBlock.uncles, + subManifest: rpcBlock.subManifest, + totalEntropy: BigInt(rpcBlock.totalEntropy), }; }); - forEach("test getBlock(blockNumber)", blockchain_data_js_1.testBlock, (providerName, test) => { - return async (provider) => { - assertBlock(await provider.getBlock(test.number), test); + it('should fetch block by number', async function () { + let responseBlock = await providerC1.getBlock('0xA'); + assert_1.default.ok(responseBlock != null, "block != null"); + let { provider, ...formatBlock } = { + ...responseBlock, + transactions: responseBlock.transactions, + extTransactions: responseBlock.extTransactions }; + equals("Block by Number", formatBlock, block); }); -}); -describe("Test Provider Transaction operations", function () { - forEach("test getTransaction(hash)", blockchain_data_js_1.testTransaction, (providerName, test) => { - return async (provider) => { - assertTransaction(await provider.getTransaction(test.hash), test); + it('should fetch block by hash', async function () { + assert_1.default.ok(block.hash != null, 'block.hash != null'); + let responseBlock = await providerC1.getBlock(block.hash); + assert_1.default.ok(responseBlock != null, "block != null"); + let { provider, ...formatBlock } = { + ...responseBlock, + transactions: responseBlock.transactions, + extTransactions: responseBlock.extTransactions }; + equals("Block by Hash", formatBlock, block); }); - forEach("test getTransactionReceipt(hash)", blockchain_data_js_1.testReceipt, (providerName, test) => { - return async (provider) => { - const receipt = await provider.getTransactionReceipt(test.hash); - assert_1.default.ok(receipt != null, "receipt != null"); - // Cloudflare doesn't return the root in legacy receipts; but it isn't - // *actually* that important, so we'll give it a pass... - if (providerName === "CloudflareProvider" || providerName === "AnkrProvider" || providerName === "PocketProvider") { - test = Object.assign({}, test, { root: undefined }); - } - //if (providerName === "PocketProvider") { - //} - assertReceipt(receipt, test); +}); +describe("Test Transaction operations", function () { + let internalTx; + let internalToExternalTx; + it('should fetch balance after internal tx', async function () { + this.timeout(60000); + const oldBal = await fetchRPCBalance(destinationC1, process.env.RPC_URL || "http://localhost:8610"); + internalTx = await sendTransaction(destinationC1); + await (0, utils_js_1.stall)(30000); + const expectedBal = BigInt(internalTx.value); + const balance = await providerC1.getBalance(destinationC1); + const actualBal = Number(balance) - Number(oldBal); + assert_1.default.equal(actualBal, Number(expectedBal)); + }); + it('should get transaction receipt for internal tx', async function () { + this.timeout(60000); + const receipt = await fetchRPCTxReceipt(internalTx.hash, process.env.RPC_URL || "http://localhost:8610"); + const expectedReceipt = { + blockHash: receipt.blockHash, + contractAddress: receipt.contractAddress || null, + blockNumber: Number(receipt.blockNumber), + cumulativeGasUsed: BigInt(receipt.cumulativeGasUsed), + gasPrice: BigInt(receipt.effectiveGasPrice), + etxs: receipt.etxs, + gasUsed: BigInt(receipt.gasUsed), + logs: receipt.logs, + logsBloom: receipt.logsBloom, + status: Number(receipt.status), + to: receipt.to, + from: receipt.from, + hash: receipt.transactionHash, + index: Number(receipt.transactionIndex), + type: receipt.type, }; + const receiptResponse = await providerC1.getTransactionReceipt(internalTx.hash); + let { provider, ...receiptResult } = { + ...receiptResponse, + logs: receiptResponse?.logs + }; + equals("Internal Tx Receipt", receiptResult, expectedReceipt); }); - forEach("test lookupAddress(addr) == null", blockchain_data_js_1.testReceipt, (providerName, test) => { - return async (provider) => { - const name = await provider.lookupAddress("0x0123456789012345678901234567890123456789"); - assert_1.default.ok(name == null, "name == null"); + it("should fetch transaction receipt for internal to external tx", async function () { + this.timeout(120000); + internalToExternalTx = await sendTransaction(destinationC2); + await (0, utils_js_1.stall)(60000); + const receipt = await fetchRPCTxReceipt(internalToExternalTx.hash, process.env.RPC_URL || "http://localhost:8610"); + await (0, utils_js_1.stall)(30000); + const etx = receipt.etxs[0]; + const expectedReceipt = { + blockHash: receipt.blockHash, + blockNumber: Number(receipt.blockNumber), + contractAddress: receipt.contractAddress || null, + cumulativeGasUsed: BigInt(receipt.cumulativeGasUsed), + gasPrice: BigInt(receipt.effectiveGasPrice), + etxs: [ + { + type: Number(etx.type), + nonce: Number(etx.nonce), + maxPriorityFeePerGas: BigInt(etx.maxPriorityFeePerGas), + maxFeePerGas: BigInt(etx.maxFeePerGas), + gas: BigInt(etx.gas), + value: BigInt(etx.value), + input: etx.input, + to: etx.to, + from: etx.sender, + hash: etx.hash, + chainId: Number(etx.chainId), + accessList: etx.accessList, + } + ], + gasUsed: BigInt(receipt.gasUsed), + logs: receipt.logs, + logsBloom: receipt.logsBloom, + status: Number(receipt.status), + to: receipt.to, + from: receipt.from, + hash: receipt.transactionHash, + index: Number(receipt.transactionIndex), + type: Number(receipt.type), + }; + const receiptResponse = await providerC1.getTransactionReceipt(internalToExternalTx.hash); + let { provider, ...receiptResult } = { + ...receiptResponse, + logs: receiptResponse?.logs }; + equals("Internal to External Tx Receipt", receiptResult, expectedReceipt); }); }); //# sourceMappingURL=test-providers-data.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-data.js.map b/lib.commonjs/_tests/test-providers-data.js.map index 245f4502..8d6d0786 100644 --- a/lib.commonjs/_tests/test-providers-data.js.map +++ b/lib.commonjs/_tests/test-providers-data.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-data.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-data.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,6DAE8B;AAC9B,yCAAqC;AAKrC,6DAG8B;AAK9B,IAAA,mCAAc,GAAE,CAAC;AAGjB,SAAS,OAAO,CAA6B,MAAc,EAAE,KAA8C,EAAE,IAAkF;IAC3L,KAAK,MAAM,WAAW,IAAI,iCAAY,EAAE;QACpC,MAAM,YAAY,GAAa,KAAK,CAAC,WAAW,CAAC,CAAC;QAClD,IAAI,YAAY,IAAI,IAAI,EAAE;YAAE,SAAS;SAAE;QAEvC,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE;YAC7B,KAAK,MAAM,YAAY,IAAI,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CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-providers-data.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-data.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,WAAW;AACX,gDAAgD;AAChD,iCAAiC;AACjC,wCAAwC;AAExC,8CAA8C;AAC9C,0CAAoC;AACpC,0DAA0B;AAC1B,yCAAmC;AACnC,WAAW;AACX,2CAA2C;AAC3C,2DAA2D;AAC3D,iCAAiC;AAEjC,qEAAqE;AAGrE,mBAAmB;AAGnB,MAAM,UAAU,GAAG,IAAI,gBAAK,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAClE,MAAM,MAAM,GAAG,IAAI,gBAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,EAAE,EAAE,UAAU,CAAC,CAAC;AACjF,MAAM,aAAa,GAAG,4CAA4C,CAAA;AAClE,MAAM,aAAa,GAAG,4CAA4C,CAAA;AAElE,SAAS,MAAM,CAAC,IAAY,EAAE,MAAW,EAAE,QAAa;IACpD,IAAI,QAAQ,IAAI,QAAQ,CAAC,EAAE,EAAE;QACzB,IAAI,MAAM,IAAI,IAAI,EAAE;YAAE,gBAAM,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,2BAA2B,CAAC,CAAC;SAAE;QAC7E,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC5B,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;QACxB,gBAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,IAAI,GAAG,UAAU,CAAC,CAAC;KAErD;SAAM,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QAChC,IAAI,MAAM,IAAI,IAAI,EAAE;YAAE,gBAAM,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,sBAAsB,CA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,GAAG,CAAC,GAAG,CAAC;oBACpB,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;oBACxB,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,EAAE,EAAE,GAAG,CAAC,EAAE;oBACV,IAAI,EAAE,GAAG,CAAC,MAAM;oBAChB,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC;oBAC5B,UAAU,EAAE,GAAG,CAAC,UAAU;iBAC7B;aACJ;YACD,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC;YAC9B,EAAE,EAAE,OAAO,CAAC,EAAE;YACd,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,IAAI,EAAE,OAAO,CAAC,eAAe;YAC7B,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC;YACvC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SAC7B,CAAA;QACD,MAAM,eAAe,GAAG,MAAM,UAAU,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAC1F,IAAI,EAAE,QAAQ,EAAE,GAAG,aAAa,EAAE,GAAG;YACjC,GAAG,eAAe;YAClB,IAAI,EAAE,eAAe,EAAE,IAAI;SAC9B,CAAC;QACF,MAAM,CAAC,iCAAiC,EAAE,aAAa,EAAE,eAAe,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAA"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-errors.js b/lib.commonjs/_tests/test-providers-errors.js index b142fdb1..2b038510 100644 --- a/lib.commonjs/_tests/test-providers-errors.js +++ b/lib.commonjs/_tests/test-providers-errors.js @@ -5,6 +5,9 @@ const assert_1 = tslib_1.__importDefault(require("assert")); const index_js_1 = require("../index.js"); const create_provider_js_1 = require("./create-provider.js"); const utils_js_1 = require("./utils.js"); +//require('dotenv').config(); +const dotenv_1 = tslib_1.__importDefault(require("dotenv")); +dotenv_1.default.config(); (0, create_provider_js_1.setupProviders)(); describe("Tests Provider Call Exception", function () { const panics = [ @@ -19,8 +22,8 @@ describe("Tests Provider Call Exception", function () { //{ code: 0x41, reason: "OUT_OF_MEMORY" }, //{ code: 0x51, reason: "UNINITIALIZED_FUNCTION_CALL" }, ]; - const testAddr = "0xF20Ba47c47a32fc2d9ad846fF06f2fa6e89eeC74"; - const networkName = "goerli"; + const testAddr = "0x0aff86a125b29b25a9e418c2fb64f1753532c0ca"; //Cyprus1 + const networkName = "colosseum"; for (const { code, reason } of panics) { for (const method of ["call", "estimateGas"]) { for (const providerName of create_provider_js_1.providerNames) { @@ -132,7 +135,7 @@ describe("Tests Provider Call Exception", function () { }); describe("Test Provider Blockchain Errors", function () { const wallet = new index_js_1.Wallet((process.env.FAUCET_PRIVATEKEY)); - const networkName = "goerli"; + const networkName = "colosseum"; for (const providerName of create_provider_js_1.providerNames) { const provider = (0, create_provider_js_1.getProvider)(providerName, networkName); if (provider == null) { diff --git a/lib.commonjs/_tests/test-providers-errors.js.map b/lib.commonjs/_tests/test-providers-errors.js.map index 113f4530..429f3ba1 100644 --- a/lib.commonjs/_tests/test-providers-errors.js.map +++ b/lib.commonjs/_tests/test-providers-errors.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-errors.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-errors.ts"],"names":[],"mappings":";;;AACA,4DAA4B;AAE5B,0CAIqB;AAErB,6DAAkF;AAClF,yCAAmC;AAiBnC,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,+BAA+B,EAAE;IAEtC,MAAM,MAAM,GAA4C;QACpD,0CAA0C;QAC1C,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM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,CAAC,CAAC,CAAC;KACN;IAED,KAAK,MAAM,YAAY,IAAI,kCAAa,EAAE;QAEtC,MAAM,QAAQ,GAAG,IAAA,gCAAW,EAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;YAAE,SAAS;SAAE;QAEnC,EAAE,CAAC,wBAAyB,YAAa,EAAE,EAAE,KAAK;YAC9C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAEpB,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAEnC,MAAM,gBAAM,CAAC,OAAO,CAAC,KAAK;gBACtB,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC,eAAe,CAAC;oBAC/B,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;iBACjC,CAAC,CAAC;gBACH,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YACpB,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE;gBACT,IAAI,CAAC,IAAA,kBAAO,EAAC,KAAK,EAAE,eAAe,CAAC,EAAE;oBAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;iBACtB;gBACD,OAAO,IAAA,kBAAO,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;YAC3C,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KACN;AAEL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-providers-errors.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-errors.ts"],"names":[],"mappings":";;;AACA,4DAA4B;AAE5B,0CAIqB;AAErB,6DAAkF;AAClF,yCAAmC;AAGnC,6BAA6B;AAC7B,4DAA4B;AAC5B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAehB,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,+BAA+B,EAAE;IAEtC,MAAM,MAAM,GAA4C;QAC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,CAAC,WAAW,EAAE,CAAC,CAAC;YAC1E,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KACN;IAED,KAAK,MAAM,YAAY,IAAI,kCAAa,EAAE;QAEtC,MAAM,QAAQ,GAAG,IAAA,gCAAW,EAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;YAAE,SAAS;SAAE;QAEnC,EAAE,CAAC,wBAAyB,YAAa,EAAE,EAAE,KAAK;YAC9C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAEpB,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAEnC,MAAM,gBAAM,CAAC,OAAO,CAAC,KAAK;gBACtB,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC,eAAe,CAAC;oBAC/B,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;iBACjC,CAAC,CAAC;gBACH,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YACpB,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE;gBACT,IAAI,CAAC,IAAA,kBAAO,EAAC,KAAK,EAAE,eAAe,CAAC,EAAE;oBAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;iBACtB;gBACD,OAAO,IAAA,kBAAO,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;YAC3C,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KACN;AAEL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-fallback.d.ts.map b/lib.commonjs/_tests/test-providers-fallback.d.ts.map index 04e6d50d..b3469193 100644 --- a/lib.commonjs/_tests/test-providers-fallback.d.ts.map +++ b/lib.commonjs/_tests/test-providers-fallback.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-fallback.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,gBAAgB,EAAoB,OAAO,EAE9C,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,oBAAoB,EACvB,MAAM,aAAa,CAAC;AAWrB,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,oBAAoB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAEpE,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAEjB,OAAO,EAAE,SAAS;IAKxB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAElC,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;CAGzD"} \ No newline at end of file +{"version":3,"file":"test-providers-fallback.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,gBAAgB,EAAoB,OAAO,EAC9C,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,oBAAoB,EACvB,MAAM,aAAa,CAAC;AAWrB,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,oBAAoB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAEpE,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAEjB,OAAO,EAAE,SAAS;IAKxB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAElC,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;CAGzD"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-fallback.js b/lib.commonjs/_tests/test-providers-fallback.js index e7ea9d8c..ca075fb8 100644 --- a/lib.commonjs/_tests/test-providers-fallback.js +++ b/lib.commonjs/_tests/test-providers-fallback.js @@ -21,10 +21,9 @@ class MockProvider extends index_js_1.AbstractProvider { } exports.MockProvider = MockProvider; describe("Test Fallback broadcast", function () { - const txHash = "0x33017397ef7c7943dee3b422aec52b0a210de58d73d49c1b3ce455970f01c83a"; + const txHash = "0xe9fb92945282cf04f7bb3027d690fdaab6d601c99a7cdd0a5eb41d1a5c0893d5"; async function test(actions) { - // https://sepolia.etherscan.io/tx/0x33017397ef7c7943dee3b422aec52b0a210de58d73d49c1b3ce455970f01c83a - const tx = "0x02f87683aa36a7048459682f00845d899ef982520894b5bdaa442bb34f27e793861c456cd5bdc527ac8c89056bc75e2d6310000080c001a07503893743e94445b2361a444343757e6f59d52e19e9b3f65eb138d802eaa972a06e4e9bc10ff55474f9aac0a4c284733b4195cb7b273de5e7465ce75a168e0c38"; + const tx = "0x00f8788223288202898504a817c8008504a817c800825208940aff86a125b29b25a9e418c2fb64f1753532c0ca88016345785d8a000080c001a0711d47f0f6828721f336430ca87277534d0134de5f04ce3629085f8d5371c129a061c4838dec40c296cfad6fe771d502c26e209089124e6f702c64353b3ca195c1"; const providers = actions.map(({ timeout, error }) => { return new MockProvider(async (r) => { if (r.method === "getBlockNumber") { @@ -52,14 +51,6 @@ describe("Test Fallback broadcast", function () { ]); (0, assert_1.default)(result.hash === txHash, "result.hash === txHash"); }); - it("picks late non-failed broadcasts with quorum-met red-herrings", async function () { - const result = await test([ - { timeout: 200, error: (0, index_js_1.makeError)("bad nonce", "NONCE_EXPIRED") }, - { timeout: 400, error: (0, index_js_1.makeError)("bad nonce", "NONCE_EXPIRED") }, - { timeout: 1000 }, - ]); - (0, assert_1.default)(result.hash === txHash, "result.hash === txHash"); - }); it("insufficient funds short-circuit broadcast", async function () { await assert_1.default.rejects(async function () { const result = await test([ @@ -75,64 +66,4 @@ describe("Test Fallback broadcast", function () { }); }); }); -describe("Test Inflight Quorum", function () { - // Fires the %%actions%% as providers which will delay before returning, - // and returns an array of arrays, where each sub-array indicates which - // providers were inflight at once. - async function test(actions, quorum) { - const inflights = [[]]; - const configs = actions.map(({ delay, stallTimeout, priority, weight }, index) => ({ - provider: new MockProvider(async (r) => { - if (r.method === "getBlockNumber") { - return 1; - } - if (r.method === "getBalance") { - // Add this as inflight - let last = inflights.pop(); - if (last == null) { - throw new Error("no elements"); - } - inflights.push(last); - last = last.slice(); - last.push(index); - inflights.push(last); - // Do the thing - await stall(delay); - // Remove as inflight - last = inflights.pop(); - if (last == null) { - throw new Error("no elements"); - } - inflights.push(last); - last = last.filter((v) => (v !== index)); - inflights.push(last); - return 0; - } - console.log(r); - throw new Error(`unhandled method: ${r.method}`); - }), - stallTimeout, priority, weight - })); - const provider = new index_js_1.FallbackProvider(configs, network, { - cacheTimeout: -1, pollingInterval: 100, - quorum - }); - await provider.getBalance(index_js_1.ZeroAddress); - return inflights; - } - // See: #4298 - it("applies weights against inflight requests", async function () { - this.timeout(2000); - const inflights = await test([ - { delay: 50, stallTimeout: 1000, priority: 1, weight: 2 }, - { delay: 50, stallTimeout: 1000, priority: 1, weight: 2 }, - ], 2); - // Make sure there is never more than 1 inflight provider at once - for (const running of inflights) { - assert_1.default.ok(running.length <= 1, `too many inflight requests: ${JSON.stringify(inflights)}`); - } - }); - // @TODO: add lots more tests, checking on priority, weight and stall - // configurations -}); //# sourceMappingURL=test-providers-fallback.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-fallback.js.map b/lib.commonjs/_tests/test-providers-fallback.js.map index b15104a1..dc8528dc 100644 --- a/lib.commonjs/_tests/test-providers-fallback.js.map +++ b/lib.commonjs/_tests/test-providers-fallback.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-fallback.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":";;;;AAAA,4DAA4B;AAE5B,0CAKqB;AAQrB,MAAM,OAAO,GAAG,kBAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAExC,SAAS,KAAK,CAAC,QAAgB;IAC3B,OAAQ,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,Q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AAK,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;SAC5D,EAAE,CAAC,CAAC,CAAC;QAEN,iEAAiE;QACjE,KAAK,MAAM,OAAO,IAAI,SAAS,EAAE;YAC7B,gBAAM,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAE,+BAAgC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAE,EAAE,CAAC,CAAC;SAChG;IACL,CAAC,CAAC,CAAC;IAEH,qEAAqE;IACrE,wBAAwB;AAC5B,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-providers-fallback.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":";;;;AAAA,4DAA4B;AAE5B,0CAIqB;AAQrB,MAAM,OAAO,GAAG,kBAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAExC,SAAS,KAAK,CAAC,QAAgB;IAC3B,OAAQ,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzE,CAAC;AAKD,MAAa,YAAa,SAAQ,2BAAgB;IACrC,QAAQ,CAAY;IAE7B,YAAY,OAAkB;QAC1B,KAAK,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,cAAc,KAAuB,OAAO,OAAO,CAAC,CAAC,CAAC;IAE5D,KAAK,CAAC,OAAO,CAAC,GAAyB;QACnC,OAAO,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC;CACJ;AAbD,oCAaC;AAED,QAAQ,CAAC,yBAAyB,EAAE;IAEhC,MAAM,MAAM,GAAG,oEA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,EAAE,CAAC,4CAA4C,EAAE,KAAK;QAClD,MAAM,gBAAM,CAAC,OAAO,CAAC,KAAK;YACtB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC;gBACtB,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,IAAA,oBAAS,EAAC,UAAU,EAAE,oBAAoB,CAAC,EAAE;gBACpE,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,IAAA,oBAAS,EAAC,UAAU,EAAE,oBAAoB,CAAC,EAAE;gBACpE,EAAE,OAAO,EAAE,GAAG,EAAE;gBAChB,EAAE,OAAO,EAAE,IAAI,EAAE;aACpB,CAAC,CAAC;YACH,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACxB,CAAC,EAAE,UAAS,KAAc;YACtB,IAAA,gBAAM,EAAC,IAAA,kBAAO,EAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC7C,OAAO,IAAI,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-transaction.js b/lib.commonjs/_tests/test-transaction.js index 18525e36..55faa1c0 100644 --- a/lib.commonjs/_tests/test-transaction.js +++ b/lib.commonjs/_tests/test-transaction.js @@ -7,22 +7,6 @@ const index_js_1 = require("../index.js"); const BN_0 = BigInt(0); describe("Tests Unsigned Transaction Serializing", function () { const tests = (0, utils_js_1.loadTests)("transactions"); - for (const test of tests) { - it(`serialized unsigned legacy transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }); - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { - txData.chainId = "0x00"; - } - const tx = index_js_1.Transaction.from(txData); - assert_1.default.equal(tx.unsignedSerialized, test.unsignedLegacy, "unsignedLegacy"); - }); - } for (const test of tests) { // Unsupported parameters for EIP-155; i.e. unspecified chain ID if (!test.unsignedEip155) { @@ -39,44 +23,9 @@ describe("Tests Unsigned Transaction Serializing", function () { assert_1.default.equal(tx.unsignedSerialized, test.unsignedEip155, "unsignedEip155"); }); } - for (const test of tests) { - it(`serialized unsigned Berlin transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 1, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }); - const tx = index_js_1.Transaction.from(txData); - assert_1.default.equal(tx.unsignedSerialized, test.unsignedBerlin, "unsignedBerlin"); - }); - } - for (const test of tests) { - it(`serialized unsigned London transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { type: 2 }); - const tx = index_js_1.Transaction.from(txData); - assert_1.default.equal(tx.unsignedSerialized, test.unsignedLondon, "unsignedLondon"); - }); - } }); describe("Tests Signed Transaction Serializing", function () { const tests = (0, utils_js_1.loadTests)("transactions"); - for (const test of tests) { - it(`serialized signed legacy transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined, - signature: test.signatureLegacy - }); - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { - txData.chainId = "0x00"; - } - const tx = index_js_1.Transaction.from(txData); - assert_1.default.equal(tx.serialized, test.signedLegacy, "signedLegacy"); - }); - } for (const test of tests) { if (!test.unsignedEip155) { continue; @@ -84,36 +33,15 @@ describe("Tests Signed Transaction Serializing", function () { it(`serialized signed EIP-155 transaction: ${test.name}`, function () { const txData = Object.assign({}, test.transaction, { type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined, + accessList: [], + maxFeePerGas: 0, + maxPriorityFeePerGas: 0, signature: test.signatureEip155 }); const tx = index_js_1.Transaction.from(txData); assert_1.default.equal(tx.serialized, test.signedEip155, "signedEip155"); }); } - for (const test of tests) { - it(`serialized signed Berlin transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 1, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }, { signature: test.signatureBerlin }); - const tx = index_js_1.Transaction.from(txData); - assert_1.default.equal(tx.serialized, test.signedBerlin, "signedBerlin"); - }); - } - for (const test of tests) { - it(`serialized signed London transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 2, - signature: test.signatureLondon - }); - const tx = index_js_1.Transaction.from(txData); - assert_1.default.equal(tx.serialized, test.signedLondon, "signedLondon"); - }); - } }); function assertTxUint(actual, _expected, name) { const expected = (_expected != null ? BigInt(_expected) : null); @@ -145,10 +73,9 @@ function addDefaults(tx) { tx = Object.assign({}, tx); addDefault(tx, "nonce", 0); addDefault(tx, "gasLimit", BN_0); - addDefault(tx, "gasPrice", BN_0); addDefault(tx, "maxFeePerGas", BN_0); addDefault(tx, "maxPriorityFeePerGas", BN_0); - addDefault(tx, "value", BN_0); + addDefault(tx, "value", 0); addDefault(tx, "data", "0x"); addDefault(tx, "accessList", []); addDefault(tx, "chainId", BN_0); @@ -156,17 +83,6 @@ function addDefaults(tx) { } describe("Tests Unsigned Transaction Parsing", function () { const tests = (0, utils_js_1.loadTests)("transactions"); - for (const test of tests) { - it(`parses unsigned legacy transaction: ${test.name}`, function () { - const tx = index_js_1.Transaction.from(test.unsignedLegacy); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - expected.chainId = BN_0; - assertTxEqual(tx, expected); - }); - } for (const test of tests) { if (!test.unsignedEip155) { continue; @@ -174,51 +90,15 @@ describe("Tests Unsigned Transaction Parsing", function () { it(`parses unsigned EIP-155 transaction: ${test.name}`, function () { const tx = index_js_1.Transaction.from(test.unsignedEip155); const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - assertTxEqual(tx, expected); - }); - } - for (const test of tests) { - it(`parses unsigned Berlin transaction: ${test.name}`, function () { - const tx = index_js_1.Transaction.from(test.unsignedBerlin); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - assertTxEqual(tx, expected); - }); - } - for (const test of tests) { - it(`parses unsigned London transaction: ${test.name}`, function () { - const tx = index_js_1.Transaction.from(test.unsignedLondon); - const expected = addDefaults(test.transaction); - expected.gasPrice = null; + expected.maxFeePerGas = 0; + expected.maxPriorityFeePerGas = 0; + expected.accessList = []; assertTxEqual(tx, expected); }); } }); describe("Tests Signed Transaction Parsing", function () { const tests = (0, utils_js_1.loadTests)("transactions"); - for (const test of tests) { - it(`parses signed legacy transaction: ${test.name}`, function () { - let tx = index_js_1.Transaction.from(test.signedLegacy); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - expected.chainId = BN_0; - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - assert_1.default.equal(tx.typeName, "legacy", "typeName"); - assert_1.default.ok(!!tx.signature, "signature:!null"); - assert_1.default.equal(tx.signature.r, test.signatureLegacy.r, "signature.r"); - assert_1.default.equal(tx.signature.s, test.signatureLegacy.s, "signature.s"); - assert_1.default.equal(BigInt(tx.signature.v), BigInt(test.signatureLegacy.v), "signature.v"); - tx = tx.clone(); - } - }); - } for (const test of tests) { if (!test.unsignedEip155) { continue; @@ -226,12 +106,11 @@ describe("Tests Signed Transaction Parsing", function () { it(`parses signed EIP-155 transaction: ${test.name}`, function () { let tx = index_js_1.Transaction.from(test.signedEip155); const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; + expected.maxFeePerGas = 0; + expected.maxPriorityFeePerGas = 0; + expected.accessList = []; for (let i = 0; i < 2; i++) { assertTxEqual(tx, expected); - assert_1.default.equal(tx.typeName, "legacy", "typeName"); assert_1.default.ok(!!tx.signature, "signature:!null"); assert_1.default.equal(tx.signature.r, test.signatureEip155.r, "signature.r"); assert_1.default.equal(tx.signature.s, test.signatureEip155.s, "signature.s"); @@ -239,70 +118,36 @@ describe("Tests Signed Transaction Parsing", function () { } }); } - for (const test of tests) { - it(`parses signed Berlin transaction: ${test.name}`, function () { - let tx = index_js_1.Transaction.from(test.signedBerlin); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - assert_1.default.equal(tx.typeName, "eip-2930", "typeName"); - assert_1.default.ok(!!tx.signature, "signature:!null"); - assert_1.default.equal(tx.signature.r, test.signatureBerlin.r, "signature.r"); - assert_1.default.equal(tx.signature.s, test.signatureBerlin.s, "signature.s"); - assert_1.default.equal(tx.signature.yParity, parseInt(test.signatureBerlin.v), "signature.v"); - tx = tx.clone(); - } - }); - } - for (const test of tests) { - it(`parses signed London transaction: ${test.name}`, function () { - let tx = index_js_1.Transaction.from(test.signedLondon); - const expected = addDefaults(test.transaction); - expected.gasPrice = null; - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - assert_1.default.equal(tx.typeName, "eip-1559", "typeName"); - assert_1.default.ok(!!tx.signature, "signature:!null"); - assert_1.default.equal(tx.signature.r, test.signatureLondon.r, "signature.r"); - assert_1.default.equal(tx.signature.s, test.signatureLondon.s, "signature.s"); - assert_1.default.equal(tx.signature.yParity, parseInt(test.signatureLondon.v), "signature.v"); - // Test cloning - tx = tx.clone(); - } - }); - } }); describe("Tests Transaction Parameters", function () { const badData = [ { name: "accessList=0x09", - data: "0x02c9010203040580070809", + data: "0x00c9010203040580070809", message: "invalid access list", argument: "accessList" }, { name: "accessList=[0x09]", - data: "0x02ca0102030405800708c109", + data: "0x00ca0102030405800708c109", message: "invalid address-slot set", argument: "accessList" }, { name: "accessList=[0x09,0x10]", - data: "0x02cb0102030405800708c20910", + data: "0x00cb0102030405800708c20910", message: "invalid address-slot set", argument: "accessList" }, { name: "accessList=[0x09,[HASH]] (bad address)", - data: "0x02ed0102030405800708e4e309e1a024412927c99a717115f5308c0ebd11136659b3cb6291abb4a8f87e9856a12538", + data: "0x00ed0102030405800708e4e309e1a024412927c99a717115f5308c0ebd11136659b3cb6291abb4a8f87e9856a12538", message: "invalid address", argument: "accessList" }, { name: "accessList=[ADDR,[0x09]] (bad slot)", - data: "0x02e10102030405800708d8d794939d33ff01840e9eeeb67525ec2f7035af41a4b1c109", + data: "0x00e10102030405800708d8d794939d33ff01840e9eeeb67525ec2f7035af41a4b1c109", message: "invalid slot", argument: "accessList" } diff --git a/lib.commonjs/_tests/test-transaction.js.map b/lib.commonjs/_tests/test-transaction.js.map index 1abdd514..3121055d 100644 --- a/lib.commonjs/_tests/test-transaction.js.map +++ b/lib.commonjs/_tests/test-transaction.js.map @@ -1 +1 @@ -{"version":3,"file":"test-transaction.js","sourceRoot":"","sources":["../../src.ts/_tests/test-transaction.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAC5B,yCAAuC;AAIvC,0CAAmD;AAGnD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAEvB,QAAQ,CAAC,wCAAwC,EAAE;IAC/C,MAAM,KAAK,GAAG,IAAA,oBAAS,EAAsB,cAAc,CAAC,CAAC;IAE7D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACtB,EAAE,CAAC,2CAA4C,IAAI,CAAC,IAAK,EAAE,EAAE;YACzD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAG,EAAE,IAAI,CAAC,WAAW,EAAE;gBAChD,IAAI,EAAE,CAAC;gBACP,UAAU,EAAE,SAAS;gBACrB,YAAY,EAAE,SAAS;gBACvB,oBAAoB,EAAE,SAAS;aAClC,CAAC,CAAC;YAEH,sDAAsD;YACtD,IAAI,MAAM,CAAC,OAAO,IAAI,IAAI,IAAI,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBAAE,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;aAAE;YAEzF,MAAM,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0EAA0E;YAChF,OAAO,EAAE,cAAc;YACvB,QAAQ,EAAE,YAAY;SACzB;KACJ,CAAC;IAEF,KAAK,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,OAAO,EAAE;QACrD,EAAE,CAAE,sCAAuC,IAAK,EAAE,EAAE;YAChD,gBAAM,CAAC,MAAM,CAAC,GAAG,EAAE;gBACf,qDAAqD;gBACrD,kBAAkB;gBAClB,MAAM,MAAM,GAAG,sBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACxB,CAAC,EAAE,CAAC,KAAU,EAAE,EAAE;gBACd,OAAO,CAAC,IAAA,kBAAO,EAAC,KAAK,EAAE,kBAAkB,CAAC;oBACtC,KAAK,CAAC,QAAQ,KAAK,QAAQ;oBAC3B,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAChE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KAEN;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-transaction.js","sourceRoot":"","sources":["../../src.ts/_tests/test-transaction.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAC5B,yCAAuC;AAGvC,0CAAmD;AAGnD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAEvB,QAAQ,CAAC,wCAAwC,EAAE;IAC/C,MAAM,KAAK,GAAG,IAAA,oBAAS,EAAsB,cAAc,CAAC,CAAA;IAE5D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACtB,gEAAgE;QAChE,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;YAAE,SAAS;SAAE;QACvC,EAAE,CAAC,4CAA6C,IAAI,CAAC,IAAK,EAAE,EAAE;YAC1D,MAAM,MAAM,GAAG,MAAM,CAAC,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BAAO,EAAC,KAAK,EAAE,kBAAkB,CAAC;oBACtC,KAAK,CAAC,QAAQ,KAAK,QAAQ;oBAC3B,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAChE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KAEN;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/test-wallet.js b/lib.commonjs/_tests/test-wallet.js index ca57c9c6..84d635a8 100644 --- a/lib.commonjs/_tests/test-wallet.js +++ b/lib.commonjs/_tests/test-wallet.js @@ -16,45 +16,21 @@ describe("Test Private Key Wallet", function () { }); describe("Test Transaction Signing", function () { const tests = (0, utils_js_1.loadTests)("transactions"); - for (const test of tests) { - it(`tests signing a legacy transaction: ${test.name}`, async function () { - const wallet = new index_js_1.Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 0, accessList: undefined, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { - txData.chainId = "0x00"; - } - const signed = await wallet.signTransaction(txData); - assert_1.default.equal(signed, test.signedLegacy, "signedLegacy"); - }); - } for (const test of tests) { if (!test.signedEip155) { continue; } it(`tests signing an EIP-155 transaction: ${test.name}`, async function () { const wallet = new index_js_1.Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 0, accessList: undefined, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); + const txData = Object.assign({}, test.transaction, { type: 0, accessList: [], maxFeePerGas: 0, maxPriorityFeePerGas: 0 }); const signed = await wallet.signTransaction(txData); + // let parsed = Transaction.from(signed); + // // console.log('txData: ', JSON.stringify(parsed)) + // // console.log('EXPECTED: ', test.signedEip155) + // // console.log("ACTUAL: ", signed) assert_1.default.equal(signed, test.signedEip155, "signedEip155"); }); } - for (const test of tests) { - it(`tests signing a Berlin transaction: ${test.name}`, async function () { - const wallet = new index_js_1.Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 1, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - const signed = await wallet.signTransaction(txData); - assert_1.default.equal(signed, test.signedBerlin, "signedBerlin"); - }); - } - for (const test of tests) { - it(`tests signing a London transaction: ${test.name}`, async function () { - const wallet = new index_js_1.Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 2 }); - const signed = await wallet.signTransaction(txData); - assert_1.default.equal(signed, test.signedLondon, "signedLondon"); - }); - } }); describe("Test Message Signing (EIP-191)", function () { }); diff --git a/lib.commonjs/_tests/test-wallet.js.map b/lib.commonjs/_tests/test-wallet.js.map index 67b83d31..ceddcd8e 100644 --- a/lib.commonjs/_tests/test-wallet.js.map +++ b/lib.commonjs/_tests/test-wallet.js.map @@ -1 +1 @@ -{"version":3,"file":"test-wallet.js","sourceRoot":"","sources":["../../src.ts/_tests/test-wallet.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,yCAAuC;AAOvC,0CAA2D;AAK3D,QAAQ,CAAC,yBAAyB,EAAE;IAChC,MAAM,KAAK,GAAG,IAAA,oBAAS,EAAkB,UAAU,CAAC,CAAC;IAErD,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;QAC5C,EAAE,CAAC,mBAAoB,IAAK,EAAE,EAAE;YAC5B,MAAM,MAAM,GAAG,IAAI,iBAAM,CAAC,UAAU,CAAC,CAAC;YACtC,gBAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;YAC5C,gBAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,0BAA0B,EAAE;IACjC,MAAM,KAAK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,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;QAEH,MAAM,GAAG,IAAI,iBAAM,CAAC,IAAA,kBAAO,EAAC,IAAA,sBAAW,EAAC,EAAE,CAAC,CAAC,CAAC,CAAC;KACjD;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/contract/factory.d.ts.map b/lib.commonjs/contract/factory.d.ts.map index a6cb1f79..14228f9d 100644 --- a/lib.commonjs/contract/factory.d.ts.map +++ b/lib.commonjs/contract/factory.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src.ts/contract/factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM5C,OAAO,EAAE,YAAY,EAA8B,MAAM,eAAe,CAAC;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,KAAK,EACR,iBAAiB,EAAE,kBAAkB,EAAE,yBAAyB,EACnE,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AASjE;;GAEG;AACH,qBAAa,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY;IAE5E;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAG,SAAS,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAG,MAAM,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,MAA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IAuE9F;;;;;;;OAOG;IACG,MAAM,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,YAAY,GAAG;QAAE,qBAAqB,IAAI,2BAA2B,CAAA;KAAE,GAAG,IAAI,CAAC,CAAC,EAAE,MAAM,YAAY,CAAC,CAAC;IAqBhK,MAAM,CAAC,kBAAkB,CAAC,WAAW,EAAE;QACnC,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,SAAS,CAAC;KACnB,GAAG,MAAM;IAQA,oBAAoB,CACtB,EAAE,EAAE,kBAAkB,GACrB,OAAO,CAAC,kBAAkB,CAAC;IAsBhC;;;OAGG;IACH,OAAO,CAAC,MAAM,EAAE,IAAI,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;IAI7D;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;CAgB7I"} \ No newline at end of file diff --git a/lib.commonjs/contract/factory.js.map b/lib.commonjs/contract/factory.js.map index 7ed73380..5c39f177 100644 --- a/lib.commonjs/contract/factory.js.map +++ b/lib.commonjs/contract/factory.js.map @@ -1 +1 @@ -{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src.ts/contract/factory.ts"],"names":[],"mappings":";;;AACA,8CAA4C;AAC5C,gDAG2B;AAE3B,+CAAyE;AAMzE,gDAAuD;AAKvD,0CAAkD;AAClD,sDAA2D;AAC3D,0DAAmD;AAGnD,mCAAmC;AACnC,sCAAsC;AAEtC;;GAEG;AACH,MAAa,eAAe;IAExB;;OAEG;IACM,SAAS,CAAa;IAE/B;;OAEG;IACM,QAAQ,CAAU;I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AA,kBAAO,EAAC,IAAA,iBAAM,EAAC,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;YACxD,CAAC,EAAE,CAAC;SACP;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAEH;;;OAGG;IACH,OAAO,CAAC,MAA6B;QACjC,OAAO,IAAI,eAAe,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,YAAY,CAA2D,MAAW,EAAE,MAAuB;QAC9G,IAAA,yBAAc,EAAC,MAAM,IAAI,IAAI,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAExE,IAAI,OAAM,CAAC,MAAM,CAAC,KAAK,QAAQ,EAAE;YAAE,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;SAAE;QAEjE,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;QAEvB,IAAI,QAAQ,GAAG,EAAE,CAAC;QAClB,IAAI,MAAM,CAAC,QAAQ,EAAE;YACjB,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;SAC9B;aAAM,IAAI,MAAM,CAAC,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE;YAC1C,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;SAClC;QAED,OAAO,IAAI,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;CACJ;AArND,0CAqNC"} \ No newline at end of file diff --git a/lib.commonjs/providers/format.d.ts.map b/lib.commonjs/providers/format.d.ts.map index 1cf6c039..f6900b4e 100644 --- a/lib.commonjs/providers/format.d.ts.map +++ b/lib.commonjs/providers/format.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src.ts/providers/format.ts"],"names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js/providers/format.js index e381cad7..eeaf4122 100644 --- a/lib.commonjs/providers/format.js +++ b/lib.commonjs/providers/format.js @@ -195,7 +195,6 @@ const _formatTransactionReceipt = object({ contractAddress: allowNull(index_js_1.getAddress, null), // should be allowNull(hash), but broken-EIP-658 support is handled in receipt index: index_js_4.getNumber, - root: allowNull(index_js_4.hexlify), gasUsed: index_js_4.getBigInt, logsBloom: allowNull(formatData), blockHash: formatHash, diff --git a/lib.commonjs/providers/format.js.map b/lib.commonjs/providers/format.js.map index d48ca306..a0bc18ce 100644 --- a/lib.commonjs/providers/format.js.map +++ b/lib.commonjs/providers/format.js.map @@ -1 +1 @@ -{"version":3,"file":"format.js","sourceRoot":"","sources":["../../src.ts/providers/format.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,kDAAmE;AACnE,iDAA8C;AAC9C,sDAAwD;AACxD,gDAG2B;AAQ3B,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAIvB,SAAgB,SAAS,CAAC,MAAkB,EAAE,SAAe;IACzD,OAAO,CAAC,UAAS,KAAU;QACvB,IAAI,KAAK,IAAI,IAAI,EAAE;YAAE,OAAO,SAAS,CAAC;SAAE;QACxC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACP,CAAC;AALD,8BAKC;AAED,SAAgB,OAAO,CAAC,MAAkB;IACtC,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;QACnB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YAAE,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;SAAE;QAC/D,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;AACP,CAAC;AALD,0BAKC;AAED,+DAA+D;AAC/D,kEAAkE;AAClE,iDAAiD;AACjD,SAAgB,MAAM,CA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K,CAAC,SAAS,EAAE;QACjB,MAAM,CAAC,SAAS,GAAG,oBAAS,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KACtD;SAAM;QACH,MAAM,CAAC,SAAS,GAAG,oBAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5C;IAED,2EAA2E;IAC3E,IAAI,MAAM,CAAC,OAAO,IAAI,IAAI,EAAE;QACxB,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC;QAC/C,IAAI,OAAO,IAAI,IAAI,EAAE;YAAE,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC;SAAE;KACrD;IAGD,uBAAuB;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgCE;IAEF,oCAAoC;IACpC,IAAI,MAAM,CAAC,SAAS,IAAI,IAAA,oBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QAC1D,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;KAC3B;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AAxID,8DAwIC"} \ No newline at end of file diff --git a/lib.commonjs/providers/formatting.d.ts b/lib.commonjs/providers/formatting.d.ts index 7e4bbb56..26aed200 100644 --- a/lib.commonjs/providers/formatting.d.ts +++ b/lib.commonjs/providers/formatting.d.ts @@ -214,11 +214,6 @@ export interface TransactionReceiptParams { * some nodes may have backfilled this data. */ status: null | number; - /** - * The root of this transaction in a pre-bazatium block. In - * post-byzantium blocks this is null. - */ - root: null | string; etxs: ReadonlyArray; } /** diff --git a/lib.commonjs/providers/formatting.d.ts.map b/lib.commonjs/providers/formatting.d.ts.map index 7d31d91a..65e78688 100644 --- a/lib.commonjs/providers/formatting.d.ts.map +++ b/lib.commonjs/providers/formatting.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO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AM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,oBAAoB,EAAE,IAAI,GAAG,MAAM,CAAC;IAEpC;;;OAGG;IACH,YAAY,EAAE,IAAI,GAAG,MAAM,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,UAAU,CAAC;IAI9B,WAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,WAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,SAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,OAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,aAAc,CAAC,EAAE,UAAU,CAAE;CAChC"} \ No newline at end of file +{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM1D;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAE/B;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAEnC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;O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newline at end of file diff --git a/lib.commonjs/providers/formatting.js.map b/lib.commonjs/providers/formatting.js.map index a9e540be..683aa25a 100644 --- a/lib.commonjs/providers/formatting.js.map +++ b/lib.commonjs/providers/formatting.js.map @@ -1 +1 @@ -{"version":3,"file":"formatting.js","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAgHF,CAAC;AAuSD,CAAC"} \ No newline at end of file +{"version":3,"file":"formatting.js","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAgHF,CAAC;AAoRD,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/providers/provider-jsonrpc.d.ts.map b/lib.commonjs/providers/provider-jsonrpc.d.ts.map index 4df77bd0..24a10911 100644 --- a/lib.commonjs/providers/provider-jsonrpc.d.ts.map +++ b/lib.commonjs/providers/provider-jsonrpc.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"provider-jsonrpc.d.ts","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAWH,OAAO,EAGH,YAAY,EACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAuB,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,mBAAmB,EA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C,GAAG,CAAC,CAAA;KAAE;IAkGrF;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,GAAG,KAAK;IA2FjE;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IAsB5E;;;;;;;;;;;OAWG;IAIG,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IA4B5D,YAAY,IAAI,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAKnD,OAAO,IAAI,IAAI;CAmBlB;AAED;;;;;;;GAOG;AACH,qBAAa,eAAgB,SAAQ,kBAAkB;;gBAGvC,GAAG,CAAC,EAAE,MAAM,GAAG,YAAY,EAAE,OAAO,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,yBAAyB;IAWlG,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,UAAU;IAK7C,cAAc,IAAI,YAAY;IAIxB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IAS5E,KAAK,CAAC,OAAO,EAAE,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;CAa9F"} \ No newline at end of file diff --git a/lib.commonjs/providers/provider-jsonrpc.js b/lib.commonjs/providers/provider-jsonrpc.js index 8fbf9d63..b4cc24b7 100644 --- a/lib.commonjs/providers/provider-jsonrpc.js +++ b/lib.commonjs/providers/provider-jsonrpc.js @@ -752,6 +752,7 @@ class JsonRpcApiProvider extends abstract_provider_js_1.AbstractProvider { * * Throws if the account doesn't exist. */ + // Works only if using a local node or browser wallet for this, otherwise cannot get accounts async getSigner(address) { if (address == null) { address = 0; diff --git a/lib.commonjs/providers/provider-jsonrpc.js.map b/lib.commonjs/providers/provider-jsonrpc.js.map index af11d271..1657b5cd 100644 --- a/lib.commonjs/providers/provider-jsonrpc.js.map +++ b/lib.commonjs/providers/provider-jsonrpc.js.map @@ -1 +1 @@ -{"version":3,"file":"provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,SAAS;AACT,yBAAyB;AAEzB,yQAAyQ;AAEzQ,8CAA2C;AAC3C,kDAAiE;AACjE,+CAAoD;AACpD,sDAAwD;AACxD,gDAI2B;AAE3B,iEAA+E;AAC/E,6DAAsD;AACtD,6CAAuC;AACvC,qEAA8F;AAY9F,MAAM,SAAS,GAAG,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC7E,gDAAgD;AAChD,SAAS,QAAQ,CAAU,KAAQ;IAC/B,IAAI,KAAK,IAAI,IAAI,IAAI,SAAS,CAAC,OAAO,CAAC,OAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,EAAE;QACxD,OAAO,KAAK,CAAC;KAChB;IAED,uBAAuB;IACvB,IAAI,OAAM,CAAO,KAAM,CAAC,UAAU,CAAC,KAAK,UAAU,EAAE;QAChD,OAAO,KAAK,CAAC;KAChB;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QAAE,OAAY,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;KAAE;IAEhE,IAAI,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;QAC5B,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YAC5C,KAAK,CAAC,GAAG,CAAC,GAAS,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AC5B,IAAI;YACA,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;SACrD;QAAC,OAAO,KAAK,EAAE,GAAG;KACtB;AACL,CAAC;AAED,SAAS,cAAc,CAAC,KAAU;IAC9B,MAAM,MAAM,GAAkB,EAAG,CAAC;IAClC,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,MAAM,CAAC;AAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,SAAS;AACT,yBAAyB;AAEzB,yQAAyQ;AAEzQ,8CAA2C;AAC3C,kDAAiE;AACjE,+CAAoD;AACpD,sDAAwD;AACxD,gDAI2B;AAE3B,iEAA+E;AAC/E,6DAAsD;AACtD,6CAAuC;AACvC,qEAA8F;AAY9F,MAAM,SAAS,GAAG,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC7E,gDAAgD;AAChD,SAAS,QAAQ,CAAU,KAAQ;IAC/B,IAAI,KAAK,IAAI,IAAI,IAAI,SAAS,CAAC,OAAO,CAAC,OAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,EAAE;QACxD,OAAO,KAAK,CAAC;KAChB;IAED,uBAAuB;IACvB,IAAI,OAAM,CAAO,KAAM,CAAC,UAAU,CAAC,KAAK,UAAU,EAAE;QAChD,OAAO,KAAK,CAAC;KAChB;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QAAE,OAAY,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;KAAE;IAEhE,IAAI,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;QAC5B,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,E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C;KACJ;IAED,mDAAmD;IACnD,IAAI,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;QAC5B,IAAI;YACA,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;SACrD;QAAC,OAAO,KAAK,EAAE,GAAG;KACtB;AACL,CAAC;AAED,SAAS,cAAc,CAAC,KAAU;IAC9B,MAAM,MAAM,GAAkB,EAAG,CAAC;IAClC,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,MAAM,CAAC;AAClB,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/providers/provider.d.ts b/lib.commonjs/providers/provider.d.ts index 4db385cd..7a583bca 100644 --- a/lib.commonjs/providers/provider.d.ts +++ b/lib.commonjs/providers/provider.d.ts @@ -600,13 +600,6 @@ export declare class TransactionReceipt implements TransactionReceiptParams, Ite * backfill this value. */ readonly status: null | number; - /** - * The root hash of this transaction. - * - * This is no present and was only included in pre-byzantium blocks, but - * could be used to validate certain parts of the receipt. - */ - readonly root: null | string; readonly etxs: ReadonlyArray; /** * @_ignore: diff --git a/lib.commonjs/providers/provider.d.ts.map b/lib.commonjs/providers/provider.d.ts.map index 6aadf882..90810b81 100644 --- a/lib.commonjs/providers/provider.d.ts.map +++ b/lib.commonjs/providers/provider.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src.ts/providers/provider.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1F,OAAO,KAAK,EAAE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AG,MAAM,CAAC,CAAC;IAEvD;;;OAGG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC;IAE1G;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACrD"} \ No newline at end of file diff --git a/lib.commonjs/providers/provider.js b/lib.commonjs/providers/provider.js index 2e559e49..6fa3f4da 100644 --- a/lib.commonjs/providers/provider.js +++ b/lib.commonjs/providers/provider.js @@ -620,19 +620,6 @@ class Log { exports.Log = Log; ////////////////////// // Transaction Receipt -/* -export interface LegacyTransactionReceipt { - byzantium: false; - status: null; - root: string; -} - -export interface ByzantiumTransactionReceipt { - byzantium: true; - status: number; - root: null; -} -*/ /** * A **TransactionReceipt** includes additional information about a * transaction that is only available after it has been mined. @@ -724,7 +711,6 @@ class TransactionReceipt { * This is no present and was only included in pre-byzantium blocks, but * could be used to validate certain parts of the receipt. */ - root; #logs; etxs; /** @@ -758,7 +744,6 @@ class TransactionReceipt { type: tx.type, //byzantium: tx.byzantium, status: tx.status, - root: tx.root }); } /** @@ -770,7 +755,7 @@ class TransactionReceipt { */ toJSON() { const { to, from, contractAddress, hash, index, blockHash, blockNumber, logsBloom, logs, //byzantium, - status, root } = this; + status } = this; return { _type: "TransactionReceipt", blockHash, blockNumber, @@ -780,7 +765,7 @@ class TransactionReceipt { from, gasPrice: toJson(this.gasPrice), gasUsed: toJson(this.gasUsed), - hash, index, logs, logsBloom, root, status, to + hash, index, logs, logsBloom, status, to }; } /** diff --git a/lib.commonjs/providers/provider.js.map b/lib.commonjs/providers/provider.js.map index 45cf27ab..5e703181 100644 --- a/lib.commonjs/providers/provider.js.map +++ b/lib.commonjs/providers/provider.js.map @@ -1 +1 @@ -{"version":3,"file":"provider.js","sourceRoot":"","sources":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C,UAAU,CAAC,IAAI,UAAU,IAAI,CAAC,EAAE,oBAAoB,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;QAChH,MAAM,EAAE,GAAG,IAAI,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QACxD,EAAE,CAAC,WAAW,GAAG,UAAU,CAAC;QAC5B,OAAO,EAAE,CAAC;IACd,CAAC;CACJ;AAteD,kDAseC;AAsCD,SAAS,yBAAyB,CAAC,KAAuC;IACtE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;AAC5E,CAAC;AAED,SAAS,gCAAgC,CAAC,EAA4D,EAAE,KAAgE;IACpK,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC;AACxD,CAAC;AAED,SAAS,8BAA8B,CAAC,EAA4D;IAChG,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC9C,CAAC;AAED,SAAS,sBAAsB,CAAC,GAAqJ;IACjL,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE;YAC9B,eAAe,EAAE,GAAG,CAAC,eAAe;YACpC,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACzC,KAAK,EAAE,GAAG,CAAC,KAAK;SACnB,EAAE,CAAC;AACR,CAAC"} \ No newline at end of file +{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src.ts/providers/provider.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,gDAG2B;AAC3B,sDAAwD;AA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E,CAAC,WAAW,GAAG,UAAU,CAAC;QAC5B,OAAO,EAAE,CAAC;IACd,CAAC;CACJ;AAteD,kDAseC;AAsCD,SAAS,yBAAyB,CAAC,KAAuC;IACtE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;AAC5E,CAAC;AAED,SAAS,gCAAgC,CAAC,EAA4D,EAAE,KAAgE;IACpK,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC;AACxD,CAAC;AAED,SAAS,8BAA8B,CAAC,EAA4D;IAChG,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC9C,CAAC;AAED,SAAS,sBAAsB,CAAC,GAAqJ;IACjL,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE;YAC9B,eAAe,EAAE,GAAG,CAAC,eAAe;YACpC,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACzC,KAAK,EAAE,GAAG,CAAC,KAAK;SACnB,EAAE,CAAC;AACR,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/transaction/transaction.d.ts.map b/lib.commonjs/transaction/transaction.d.ts.map index 989b6c20..ed07d2eb 100644 --- a/lib.commonjs/transaction/transaction.d.ts.map +++ b/lib.commonjs/transaction/transaction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,SAAS,EAAc,MAAM,oBAAoB,CAAC;AAStE,OAAO,KA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;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,IAAI,GAAG,MAAM,CAGjC;IAED;;;;;OAKG;IACH,QAAQ,IAAI,IAAI,IAAI,CAAC,WAAW,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,SAAS,CAAA;KAAE,CAAC;IAK1G;;;;;OAKG;IACH,IAAI,UAAU,IAAI,MAAM,CAavB;IAED;;;;;OAKG;IACH,IAAI,kBAAkB,IAAI,MAAM,CAW/B;IAED;;;OAGG;IACH,SAAS,IAAI,MAAM;IAInB;;;OAGG;IACH,UAAU,IAAI,KAAK,CAAC,MAAM,CAAC;IAyC3B;;OAEG;IACH,KAAK,IAAI,WAAW;IAIpB;;OAEG;IACH,MAAM,IAAI,GAAG;IA4Bb;;;OAGG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,GAAG,WAAW;CAkDlE"} \ No newline at end of file +{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,SAAS,EAAc,MAAM,oBAAoB,CAAC;AAStE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAU5D,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,MAAM;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;IAEhB;;OAEG;IACH,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,IAAI,KAAK,CAAC,MAAM,CAAC;IAyC3B;;OAEG;IACH,KAAK,IAAI,WAAW;IAIpB;;OAEG;IACH,MAAM,IAAI,GAAG;IA4Bb;;;OAGG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,GAAG,WAAW;CAgDlE"} \ No newline at end of file diff --git a/lib.commonjs/transaction/transaction.js b/lib.commonjs/transaction/transaction.js index aba8c8b3..2b27da13 100644 --- a/lib.commonjs/transaction/transaction.js +++ b/lib.commonjs/transaction/transaction.js @@ -76,7 +76,6 @@ function _parse(data) { nonce: handleNumber(fields[1], "nonce"), maxPriorityFeePerGas: maxPriorityFeePerGas, maxFeePerGas: maxFeePerGas, - gasPrice: null, gasLimit: handleUint(fields[4], "gasLimit"), to: handleAddress(fields[5]), value: handleUint(fields[6], "value"), @@ -102,7 +101,6 @@ function _parseStandardETx(data) { nonce: handleNumber(fields[1], "nonce"), maxPriorityFeePerGas: maxPriorityFeePerGas, maxFeePerGas: maxFeePerGas, - gasPrice: null, gasLimit: handleUint(fields[4], "gasLimit"), to: handleAddress(fields[5]), value: handleUint(fields[6], "value"), @@ -605,9 +603,6 @@ class Transaction { if (tx.gasLimit != null) { result.gasLimit = tx.gasLimit; } - if (tx.gasPrice != null) { - result.gasPrice = tx.gasPrice; - } if (tx.maxPriorityFeePerGas != null) { result.maxPriorityFeePerGas = tx.maxPriorityFeePerGas; } diff --git a/lib.commonjs/transaction/transaction.js.map b/lib.commonjs/transaction/transaction.js.map index a6ba27ec..ffaf1e92 100644 --- a/lib.commonjs/transaction/transaction.js.map +++ b/lib.commonjs/transaction/transaction.js.map @@ -1 +1 @@ -{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":";;;AACA,kDAAiD;AACjD,iDAAsE;AACtE,gDAG2B;AAE3B,mDAAgD;AAChD,6CAA8C;AAQ9C,MAAM,IAAI,GAAG,MA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AC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,IAAA,yBAAc,EAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SAC1G;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AApeD,kCAoeC"} \ No newline at end of file +{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":";;;AACA,kDAAiD;AACjD,iDAAsE;AACtE,gDAG2B;AAE3B,mDAAgD;AAChD,6CAA8C;AAQ9C,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AACvB,0BAA0B;AAC1B,2BAA2B;AAC3B,2BAA2B;AAC3B,4BAA4B;AAC5B,MAAM,WAAW,GAAG,MAAM,CAAC,oEAAoE,CAAC,CAAC;AAoGjG,SAAS,aAAa,CAAC,KAAa;IAChC,IAAI,KAAK,KAAK,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;KAAE;IACpC,OAAO,IAAA,qBAAU,EAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAU,EAAE,KAAa;IAC/C,IAAI;QACA,OAAO,IAAA,6BAAa,EAAC,KAAK,CAAC,CAAC;KAC/B;IAAC,OAAO,KAAU,EAAE;QACjB,IAAA,yBAAc,EAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KACtD;AACL,CAAC;AAED,SAAS,YAAY,CAAC,MAAc,EAAE,KAAa;IAC/C,IAAI,MAAM,KAAK,IAAI,EAAE;QAAE,OAAO,CAAC,CAAC;KAAE;IAClC,OAAO,IAAA,oBAAS,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AACpC,CAAC;AAED,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IAAI,IAAI,IAAI,EAAE;YACjB,IAAA,yBAAc,EAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,IAAA,yBAAc,EAAC,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SACtE;QAED,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE;YACjB,IAAA,yBAAc,EAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,IAAA,yBAAc,EAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SAC1G;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AAleD,kCAkeC"} \ No newline at end of file diff --git a/lib.commonjs/utils/shards.js b/lib.commonjs/utils/shards.js index fa9da2ca..5c3754ca 100644 --- a/lib.commonjs/utils/shards.js +++ b/lib.commonjs/utils/shards.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTxType = exports.getShardForAddress = void 0; -const constants_1 = require("../constants"); +const shards_js_1 = require("../constants/shards.js"); function getShardForAddress(address) { if (address.length < 4) return null; const byteCode = address.substring(2, 4).toUpperCase(); - for (const shardInfo of constants_1.ShardData) { - if (byteCode >= shardInfo.byte[0] && byteCode <= shardInfo.byte[1]) { + for (const shardInfo of shards_js_1.ShardData) { + if (byteCode >= shardInfo.byte[0].toUpperCase() && byteCode <= shardInfo.byte[1].toUpperCase()) { return shardInfo.shard; } } diff --git a/lib.commonjs/utils/shards.js.map b/lib.commonjs/utils/shards.js.map index 12d8d1e7..6e9aa8ef 100644 --- a/lib.commonjs/utils/shards.js.map +++ b/lib.commonjs/utils/shards.js.map @@ -1 +1 @@ -{"version":3,"file":"shards.js","sourceRoot":"","sources":["../../src.ts/utils/shards.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAGzC,SAAgB,kBAAkB,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACvD,KAAK,MAAM,SAAS,IAAI,qBAAS,EAAE;QAC/B,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAChE,OAAO,SAAS,CAAC,KAAK,CAAC;SAC1B;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AATD,gDASC;AAED,SAAgB,SAAS,CAAC,IAAmB,EAAG,EAAiB;IAC7D,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,OAAO,GAAG,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAEvC,IAAI,SAAS,KAAK,IAAI,IAAI,OAAO,KAAK,IAAI,EAAE;QACxC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACzD;IAED,OAAO,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;AAVD,8BAUC"} \ No newline at end of file +{"version":3,"file":"shards.js","sourceRoot":"","sources":["../../src.ts/utils/shards.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AAGnD,SAAgB,kBAAkB,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACvD,KAAK,MAAM,SAAS,IAAI,qBAAS,EAAE;QAC/B,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE;YAC5F,OAAO,SAAS,CAAC,KAAK,CAAC;SAC1B;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AATD,gDASC;AAED,SAAgB,SAAS,CAAC,IAAmB,EAAG,EAAiB;IAC7D,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,OAAO,GAAG,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAEvC,IAAI,SAAS,KAAK,IAAI,IAAI,OAAO,KAAK,IAAI,EAAE;QACxC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACzD;IAED,OAAO,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;AAVD,8BAUC"} \ No newline at end of file diff --git a/lib.esm/_tests/contracts/QRC20.d.ts b/lib.esm/_tests/contracts/QRC20.d.ts new file mode 100644 index 00000000..503cb874 --- /dev/null +++ b/lib.esm/_tests/contracts/QRC20.d.ts @@ -0,0 +1,50 @@ +declare const QRC20: { + _format: string; + contractName: string; + sourceName: string; + abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + name?: undefined; + outputs?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + bytecode: string; + deployedBytecode: string; + linkReferences: {}; + deployedLinkReferences: {}; +}; +export default QRC20; +//# sourceMappingURL=QRC20.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/contracts/QRC20.d.ts.map b/lib.esm/_tests/contracts/QRC20.d.ts.map new file mode 100644 index 00000000..d2320201 --- /dev/null +++ b/lib.esm/_tests/contracts/QRC20.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"QRC20.d.ts","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/QRC20.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4dV,CAAA;AAGD,eAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/contracts/QRC20.js b/lib.esm/_tests/contracts/QRC20.js new file mode 100644 index 00000000..878d85c2 --- /dev/null +++ b/lib.esm/_tests/contracts/QRC20.js @@ -0,0 +1,479 @@ +const QRC20 = { + "_format": "hh-sol-artifact-1", + "contractName": "QRC20", + "sourceName": "contracts/QRC20.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint256", + "name": "initialSupply_", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "ExternalTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint8[]", + "name": "chain", + "type": "uint8[]" + }, + { + "internalType": "address[]", + "name": "addr", + "type": "address[]" + } + ], + "name": "AddApprovedAddresses", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "ApprovedAddresses", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "Ranges", + "outputs": [ + { + "internalType": "uint8", + "name": "low", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "high", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minerTip", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "baseFee", + "type": "uint256" + } + ], + "name": "crossChainTransfer", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "getAddressLocation", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "incomingTransfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "a", + "type": "address" + } + ], + "name": "toBytes", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "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": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60806040523480156200001157600080fd5b5060405162001f7238038062001f72833981016040819052620000349162000325565b600f62000042848262000426565b50601062000051838262000426565b50601180546001600160a01b03191633908117909155819062000075908262000195565b505060408051808201825260008152601d60209182015260128054611d0061ffff199182161790915582518084018452601e8152603a90830152601380548216613a1e17905582518084018452603b815260579083015260148054821661573b17905582518084018452605881526073908301526015805482166173581790558251808401845260748152608f90830152601680548216618f74179055825180840184526090815260ab9083015260178054821661ab901790558251808401845260ac815260c79083015260188054821661c7ac1790558251808401845260c8815260e39083015260198054821661e3c8179055825180840190935260e4835260ff9290910191909152601a805490911661ffe4179055506200051a9050565b6001600160a01b038216620001f05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600e6000828254620002049190620004f2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028857600080fd5b81516001600160401b0380821115620002a557620002a562000260565b604051601f8301601f19908116603f01168101908282118183101715620002d057620002d062000260565b81604052838152602092508683858801011115620002ed57600080fd5b600091505b83821015620003115785820183015181830184015290820190620002f2565b600093810190920192909252949350505050565b6000806000606084860312156200033b57600080fd5b83516001600160401b03808211156200035357600080fd5b620003618783880162000276565b945060208601519150808211156200037857600080fd5b50620003878682870162000276565b925050604084015190509250925092565b600181811c90821680620003ad57607f821691505b602082108103620003ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025b57600081815260208120601f850160051c81016020861015620003fd5750805b601f850160051c820191505b818110156200041e5782815560010162000409565b505050505050565b81516001600160401b0381111562000442576200044262000260565b6200045a8162000453845462000398565b84620003d4565b602080601f831160018114620004925760008415620004795750858301515b600019600386901b1c1916600185901b1785556200041e565b600085815260208120601f198616915b82811015620004c357888601518255948401946001909101908401620004a2565b5085821015620004e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200051457634e487b7160e01b600052601160045260246000fd5b92915050565b611a48806200052a6000396000f3fe6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea26469706673582212204c6dd8a18c56cd6389a7fc7f0bf473d092abcc9aec3ae408859c35bbcc52713e64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea26469706673582212204c6dd8a18c56cd6389a7fc7f0bf473d092abcc9aec3ae408859c35bbcc52713e64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +}; +export default QRC20; +//# sourceMappingURL=QRC20.js.map \ No newline at end of file diff --git a/lib.esm/_tests/contracts/QRC20.js.map b/lib.esm/_tests/contracts/QRC20.js.map new file mode 100644 index 00000000..8ad2e590 --- /dev/null +++ b/lib.esm/_tests/contracts/QRC20.js.map @@ -0,0 +1 @@ +{"version":3,"file":"QRC20.js","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/QRC20.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG;IACZ,SAAS,EAAE,mBAAmB;IAC9B,cAAc,EAAE,OAAO;IACvB,YAAY,EAAE,qBAAqB;IACnC,KAAK,EAAE;QACL;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,OAAO;oBACf,MAAM,EAAE,QAAQ;iBACjB;gBACD;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,SAAS;oBACjB,MAAM,EAAE,QAAQ;iBACjB;gBACD;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,gBAAgB;oBACxB,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,iBAAiB,EAAE,YAAY;YAC/B,MAAM,EAAE,aAAa;SACtB;QACD;YACE,WAAW,EAAE,KAAK;YAClB,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,IAAI;oBACf,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,OAAO;oBACf,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,SAAS,EAAE,IAAI;oBACf,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,SAAS;oBACjB,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,SAAS,EAAE,KAAK;oBAChB,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,OAAO;oBACf,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,MAAM,EAAE,UAAU;YAClB,MAAM,EAAE,OAAO;SAChB;QACD;YACE,WAAW,EAAE,KAAK;YAClB,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,IAAI;oBACf,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,SAAS,EAAE,IAAI;oBACf,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,IAAI;oBACZ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MAAM;oBACtB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,MAAM;iBACf;aACF;YACD,iBAAiB,EAAE,YAAY;YAC/B,MAAM,EAAE,UAAU;SACnB;QACD;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,IAAI;oBACZ,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,QAAQ;oBAChB,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,MAAM,EAAE,cAAc;YACtB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,MAAM;oBACtB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,MAAM;iBACf;aACF;YACD,iBAAiB,EAAE,YAAY;YAC/B,MAAM,EAAE,UAAU;SACnB;KACF;IACD,UAAU,EAAE,wufAAwuf;IACpvf,kBAAkB,EAAE,opaAAopa;IACxqa,gBAAgB,EAAE,EAAE;IACpB,wBAAwB,EAAE,EAAE;CAC7B,CAAA;AAGD,eAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/contracts/QRC20.json b/lib.esm/_tests/contracts/QRC20.json new file mode 100644 index 00000000..bc12fc85 --- /dev/null +++ b/lib.esm/_tests/contracts/QRC20.json @@ -0,0 +1,477 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "QRC20", + "sourceName": "contracts/QRC20.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint256", + "name": "initialSupply_", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "ExternalTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint8[]", + "name": "chain", + "type": "uint8[]" + }, + { + "internalType": "address[]", + "name": "addr", + "type": "address[]" + } + ], + "name": "AddApprovedAddresses", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "ApprovedAddresses", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "Ranges", + "outputs": [ + { + "internalType": "uint8", + "name": "low", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "high", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minerTip", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "baseFee", + "type": "uint256" + } + ], + "name": "crossChainTransfer", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "getAddressLocation", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "incomingTransfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "a", + "type": "address" + } + ], + "name": "toBytes", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "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": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60806040523480156200001157600080fd5b5060405162001f8238038062001f82833981016040819052620000349162000335565b600f62000042848262000436565b50601062000051838262000436565b50601180546001600160a01b031916339081179091556a084595161401484a000000600e81905590620000859082620001a5565b505060408051808201825260008152601d60209182015260128054611d0061ffff199182161790915582518084018452601e8152603a90830152601380548216613a1e17905582518084018452603b815260579083015260148054821661573b17905582518084018452605881526073908301526015805482166173581790558251808401845260748152608f90830152601680548216618f74179055825180840184526090815260ab9083015260178054821661ab901790558251808401845260ac815260c79083015260188054821661c7ac1790558251808401845260c8815260e39083015260198054821661e3c8179055825180840190935260e4835260ff9290910191909152601a805490911661ffe4179055506200052a9050565b6001600160a01b038216620002005760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600e600082825462000214919062000502565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200029857600080fd5b81516001600160401b0380821115620002b557620002b562000270565b604051601f8301601f19908116603f01168101908282118183101715620002e057620002e062000270565b81604052838152602092508683858801011115620002fd57600080fd5b600091505b8382101562000321578582018301518183018401529082019062000302565b600093810190920192909252949350505050565b6000806000606084860312156200034b57600080fd5b83516001600160401b03808211156200036357600080fd5b620003718783880162000286565b945060208601519150808211156200038857600080fd5b50620003978682870162000286565b925050604084015190509250925092565b600181811c90821680620003bd57607f821691505b602082108103620003de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026b57600081815260208120601f850160051c810160208610156200040d5750805b601f850160051c820191505b818110156200042e5782815560010162000419565b505050505050565b81516001600160401b0381111562000452576200045262000270565b6200046a81620004638454620003a8565b84620003e4565b602080601f831160018114620004a25760008415620004895750858301515b600019600386901b1c1916600185901b1785556200042e565b600085815260208120601f198616915b82811015620004d357888601518255948401946001909101908401620004b2565b5085821015620004f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200052457634e487b7160e01b600052601160045260246000fd5b92915050565b611a48806200053a6000396000f3fe6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea264697066735822122027ddf0799d49f3722dc7495f521d95c21d57e2ebdd040c124e79a2a2289b1f4964736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea264697066735822122027ddf0799d49f3722dc7495f521d95c21d57e2ebdd040c124e79a2a2289b1f4964736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/lib.esm/_tests/contracts/TestContract.d.ts b/lib.esm/_tests/contracts/TestContract.d.ts new file mode 100644 index 00000000..c42d178a --- /dev/null +++ b/lib.esm/_tests/contracts/TestContract.d.ts @@ -0,0 +1,50 @@ +declare const TestContract: { + _format: string; + contractName: string; + sourceName: string; + abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + anonymous?: undefined; + outputs?: undefined; + stateMutability?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + bytecode: string; + deployedBytecode: string; + linkReferences: {}; + deployedLinkReferences: {}; +}; +export default TestContract; +//# sourceMappingURL=TestContract.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TestContract.d.ts.map b/lib.esm/_tests/contracts/TestContract.d.ts.map new file mode 100644 index 00000000..3f1bd915 --- /dev/null +++ b/lib.esm/_tests/contracts/TestContract.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TestContract.d.ts","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TestContract.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0MjB,CAAA;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TestContract.js b/lib.esm/_tests/contracts/TestContract.js new file mode 100644 index 00000000..8d293317 --- /dev/null +++ b/lib.esm/_tests/contracts/TestContract.js @@ -0,0 +1,205 @@ +const TestContract = { + "_format": "hh-sol-artifact-1", + "contractName": "TestContract", + "sourceName": "contracts/Test.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "CustomError1", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "value", + "type": "address" + } + ], + "name": "EventAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "value", + "type": "bytes" + } + ], + "name": "EventBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "value", + "type": "string" + } + ], + "name": "EventString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "EventUint256", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "testCallAdd", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "pass", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "testCustomError1", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "pass", + "type": "bool" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "testErrorString", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "valueUint256", + "type": "uint256" + }, + { + "internalType": "address", + "name": "valueAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "valueString", + "type": "string" + }, + { + "internalType": "bytes", + "name": "valueBytes", + "type": "bytes" + } + ], + "name": "testEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + } + ], + "name": "testPanic", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061058d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063c8d6fda711610050578063c8d6fda7146100a4578063db734248146100b9578063f24684e5146100cc57600080fd5b80633da613681461006c578063b206699b14610091575b600080fd5b61007f61007a3660046102aa565b6100df565b60405190815260200160405180910390f35b61007f61009f366004610321565b61013a565b6100b76100b2366004610374565b610167565b005b61007f6100c7366004610419565b61024d565b61007f6100da366004610473565b610295565b6000816000036101365760405162461bcd60e51b815260206004820152601360248201527f50616e69633a20636f6465206973207a65726f0000000000000000000000000060448201526064015b60405180910390fd5b5090565b600082828561015d5760405162461bcd60e51b815260040161012d9291906104be565b5091949350505050565b60405186907f85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea33790600090a260405173ffffffffffffffffffffffffffffffffffffffff8616907f52cb491081609a3d8c50cb8d5c1395de748f65789fc66e140e795decadd86c3090600090a27f7240e2f75cccc64acf37f699b7cc2726ccd9c0ed8afeafdbf7911af78d077bad84846040516102049291906104be565b60405180910390a17f06e852ba9138ee18ce13f482908b8634bc29d809282ea568cf505aca412b195e828260405161023d9291906104be565b60405180910390a1505050505050565b60008461028c578383836040517f180c751a00000000000000000000000000000000000000000000000000000000815260040161012d939291906104da565b50919392505050565b60006102a182846104fd565b90505b92915050565b6000602082840312156102bc57600080fd5b5035919050565b803580151581146102d357600080fd5b919050565b60008083601f8401126102ea57600080fd5b50813567ffffffffffffffff81111561030257600080fd5b60208301915083602082850101111561031a57600080fd5b9250929050565b60008060006040848603121561033657600080fd5b61033f846102c3565b9250602084013567ffffffffffffffff81111561035b57600080fd5b610367868287016102d8565b9497909650939450505050565b6000806000806000806080878903121561038d57600080fd5b86359550602087013573ffffffffffffffffffffffffffffffffffffffff811681146103b857600080fd5b9450604087013567ffffffffffffffff808211156103d557600080fd5b6103e18a838b016102d8565b909650945060608901359150808211156103fa57600080fd5b5061040789828a016102d8565b979a9699509497509295939492505050565b6000806000806060858703121561042f57600080fd5b610438856102c3565b935060208501359250604085013567ffffffffffffffff81111561045b57600080fd5b610467878288016102d8565b95989497509550505050565b6000806040838503121561048657600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006104d2602083018486610495565b949350505050565b8381526040602082015260006104f4604083018486610495565b95945050505050565b808201808211156102a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aa52c22ce2f4a856b56d32ae58c6b41a9dba4c7aed43a0872ffa898f157e67b564736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c8063c8d6fda711610050578063c8d6fda7146100a4578063db734248146100b9578063f24684e5146100cc57600080fd5b80633da613681461006c578063b206699b14610091575b600080fd5b61007f61007a3660046102aa565b6100df565b60405190815260200160405180910390f35b61007f61009f366004610321565b61013a565b6100b76100b2366004610374565b610167565b005b61007f6100c7366004610419565b61024d565b61007f6100da366004610473565b610295565b6000816000036101365760405162461bcd60e51b815260206004820152601360248201527f50616e69633a20636f6465206973207a65726f0000000000000000000000000060448201526064015b60405180910390fd5b5090565b600082828561015d5760405162461bcd60e51b815260040161012d9291906104be565b5091949350505050565b60405186907f85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea33790600090a260405173ffffffffffffffffffffffffffffffffffffffff8616907f52cb491081609a3d8c50cb8d5c1395de748f65789fc66e140e795decadd86c3090600090a27f7240e2f75cccc64acf37f699b7cc2726ccd9c0ed8afeafdbf7911af78d077bad84846040516102049291906104be565b60405180910390a17f06e852ba9138ee18ce13f482908b8634bc29d809282ea568cf505aca412b195e828260405161023d9291906104be565b60405180910390a1505050505050565b60008461028c578383836040517f180c751a00000000000000000000000000000000000000000000000000000000815260040161012d939291906104da565b50919392505050565b60006102a182846104fd565b90505b92915050565b6000602082840312156102bc57600080fd5b5035919050565b803580151581146102d357600080fd5b919050565b60008083601f8401126102ea57600080fd5b50813567ffffffffffffffff81111561030257600080fd5b60208301915083602082850101111561031a57600080fd5b9250929050565b60008060006040848603121561033657600080fd5b61033f846102c3565b9250602084013567ffffffffffffffff81111561035b57600080fd5b610367868287016102d8565b9497909650939450505050565b6000806000806000806080878903121561038d57600080fd5b86359550602087013573ffffffffffffffffffffffffffffffffffffffff811681146103b857600080fd5b9450604087013567ffffffffffffffff808211156103d557600080fd5b6103e18a838b016102d8565b909650945060608901359150808211156103fa57600080fd5b5061040789828a016102d8565b979a9699509497509295939492505050565b6000806000806060858703121561042f57600080fd5b610438856102c3565b935060208501359250604085013567ffffffffffffffff81111561045b57600080fd5b610467878288016102d8565b95989497509550505050565b6000806040838503121561048657600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006104d2602083018486610495565b949350505050565b8381526040602082015260006104f4604083018486610495565b95945050505050565b808201808211156102a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aa52c22ce2f4a856b56d32ae58c6b41a9dba4c7aed43a0872ffa898f157e67b564736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +}; +export default TestContract; +//# sourceMappingURL=TestContract.js.map \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TestContract.js.map b/lib.esm/_tests/contracts/TestContract.js.map new file mode 100644 index 00000000..4a60df9d --- /dev/null +++ b/lib.esm/_tests/contracts/TestContract.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TestContract.js","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TestContract.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG;IACnB,SAAS,EAAE,mBAAmB;IAC9B,cAAc,EAAE,cAAc;IAC9B,YAAY,EAAE,oBAAoB;IAClC,KAAK,E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E,cAAc;oBACtB,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,cAAc;oBACtB,MAAM,EAAE,SAAS;iBAClB;gBACD;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,aAAa;oBACrB,MAAM,EAAE,QAAQ;iBACjB;gBACD;oBACE,cAAc,EAAE,OAAO;oBACvB,MAAM,EAAE,YAAY;oBACpB,MAAM,EAAE,OAAO;iBAChB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,EAAE;YACb,iBAAiB,EAAE,YAAY;YAC/B,MAAM,EAAE,UAAU;SACnB;QACD;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,iBAAiB,EAAE,MAAM;YACzB,MAAM,EAAE,UAAU;SACnB;KACF;IACD,UAAU,EAAE,81FAA81F;IAC12F,kBAAkB,EAAE,8xFAA8xF;IAClzF,gBAAgB,EAAE,EAAE;IACpB,wBAAwB,EAAE,EAAE;CAC7B,CAAA;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TypedContract.d.ts b/lib.esm/_tests/contracts/TypedContract.d.ts new file mode 100644 index 00000000..01194bde --- /dev/null +++ b/lib.esm/_tests/contracts/TypedContract.d.ts @@ -0,0 +1,26 @@ +declare const TypedContract: { + _format: string; + contractName: string; + sourceName: string; + abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + }[]; + bytecode: string; + deployedBytecode: string; + linkReferences: {}; + deployedLinkReferences: {}; +}; +export default TypedContract; +//# sourceMappingURL=TypedContract.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TypedContract.d.ts.map b/lib.esm/_tests/contracts/TypedContract.d.ts.map new file mode 100644 index 00000000..101393e4 --- /dev/null +++ b/lib.esm/_tests/contracts/TypedContract.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TypedContract.d.ts","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TypedContract.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;CAs3DlB,CAAA;AAKD,eAAe,aAAa,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TypedContract.js b/lib.esm/_tests/contracts/TypedContract.js new file mode 100644 index 00000000..d78dc70f --- /dev/null +++ b/lib.esm/_tests/contracts/TypedContract.js @@ -0,0 +1,1913 @@ +const TypedContract = { + "_format": "hh-sol-artifact-1", + "contractName": "TypedContract", + "sourceName": "contracts/TestTyped.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes24", + "name": "", + "type": "bytes24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int208", + "name": "", + "type": "int208" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint176", + "name": "", + "type": "uint176" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes9", + "name": "", + "type": "bytes9" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int72", + "name": "", + "type": "int72" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint200", + "name": "", + "type": "uint200" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes20", + "name": "", + "type": "bytes20" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int32", + "name": "", + "type": "int32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint216", + "name": "", + "type": "uint216" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint184", + "name": "", + "type": "uint184" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint152", + "name": "", + "type": "uint152" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int248", + "name": "", + "type": "int248" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint80", + "name": "", + "type": "uint80" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes28", + "name": "", + "type": "bytes28" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes30", + "name": "", + "type": "bytes30" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int120", + "name": "", + "type": "int120" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes21", + "name": "", + "type": "bytes21" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint104", + "name": "", + "type": "uint104" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int96", + "name": "", + "type": "int96" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint224", + "name": "", + "type": "uint224" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int168", + "name": "", + "type": "int168" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int200", + "name": "", + "type": "int200" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int184", + "name": "", + "type": "int184" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes14", + "name": "", + "type": "bytes14" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint192", + "name": "", + "type": "uint192" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes2", + "name": "", + "type": "bytes2" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint24", + "name": "", + "type": "uint24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int112", + "name": "", + "type": "int112" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes6", + "name": "", + "type": "bytes6" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes3", + "name": "", + "type": "bytes3" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes17", + "name": "", + "type": "bytes17" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int224", + "name": "", + "type": "int224" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int128", + "name": "", + "type": "int128" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes18", + "name": "", + "type": "bytes18" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int104", + "name": "", + "type": "int104" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes7", + "name": "", + "type": "bytes7" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes25", + "name": "", + "type": "bytes25" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint40", + "name": "", + "type": "uint40" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint120", + "name": "", + "type": "uint120" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint168", + "name": "", + "type": "uint168" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int136", + "name": "", + "type": "int136" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint248", + "name": "", + "type": "uint248" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes8", + "name": "", + "type": "bytes8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int192", + "name": "", + "type": "int192" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int216", + "name": "", + "type": "int216" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint240", + "name": "", + "type": "uint240" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint112", + "name": "", + "type": "uint112" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes29", + "name": "", + "type": "bytes29" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int80", + "name": "", + "type": "int80" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int176", + "name": "", + "type": "int176" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes31", + "name": "", + "type": "bytes31" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint208", + "name": "", + "type": "uint208" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint88", + "name": "", + "type": "uint88" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes10", + "name": "", + "type": "bytes10" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes16", + "name": "", + "type": "bytes16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int88", + "name": "", + "type": "int88" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes12", + "name": "", + "type": "bytes12" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes27", + "name": "", + "type": "bytes27" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int64", + "name": "", + "type": "int64" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint136", + "name": "", + "type": "uint136" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint232", + "name": "", + "type": "uint232" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes26", + "name": "", + "type": "bytes26" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes5", + "name": "", + "type": "bytes5" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint48", + "name": "", + "type": "uint48" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int40", + "name": "", + "type": "int40" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint96", + "name": "", + "type": "uint96" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint160", + "name": "", + "type": "uint160" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int8", + "name": "", + "type": "int8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint72", + "name": "", + "type": "uint72" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int232", + "name": "", + "type": "int232" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int16", + "name": "", + "type": "int16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes15", + "name": "", + "type": "bytes15" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint56", + "name": "", + "type": "uint56" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes23", + "name": "", + "type": "bytes23" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int240", + "name": "", + "type": "int240" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int160", + "name": "", + "type": "int160" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint128", + "name": "", + "type": "uint128" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int48", + "name": "", + "type": "int48" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes13", + "name": "", + "type": "bytes13" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes22", + "name": "", + "type": "bytes22" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes19", + "name": "", + "type": "bytes19" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int152", + "name": "", + "type": "int152" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint144", + "name": "", + "type": "uint144" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int24", + "name": "", + "type": "int24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes11", + "name": "", + "type": "bytes11" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int56", + "name": "", + "type": "int56" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int144", + "name": "", + "type": "int144" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes1", + "name": "", + "type": "bytes1" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506134a7806100206000396000f3fe608060405234801561001057600080fd5b506004361061065c5760003560e01c8063a202e8c011610345578063cec31ded116101bd578063e96add8c11610104578063f3164597116100ad578063f85a090311610087578063f85a0903146120b7578063fa4d99c9146120fd578063fbf3e13a14612143578063fd1652cb1461218957600080fd5b8063f316459714611fe5578063f44076171461202b578063f7b0e3d51461207157600080fd5b8063eecd1129116100de578063eecd112914611f13578063ef4483be14611f59578063f0fb21ff14611f9f57600080fd5b8063e96add8c14611e41578063e9da42ca14611e87578063eb01940114611ecd57600080fd5b8063d92e6c0611610166578063e0fa6ea111610140578063e0fa6ea114611d6f578063e137fb7014611db5578063e8fb922314611dfb57600080fd5b8063d92e6c0614611c9d578063dad2ef4f14611ce3578063dafbc72414611d2957600080fd5b8063d4b789d811610197578063d4b789d814611bcb578063d4c0c48614611c11578063d7d7398414611c5757600080fd5b8063cec31ded14611af9578063d0e03b0714611b3f578063d20f679a14611b8557600080fd5b8063bbeb25e01161028c578063c233fd3311610235578063c84ad5801161020f578063c84ad580146119e1578063c8ddda4a14611a27578063cc69cf9714611a6d578063ccd94f9814611ab357600080fd5b8063c233fd331461190f578063c639604b14611955578063c847fe3b1461199b57600080fd5b8063c081607b11610266578063c081607b1461183d578063c1397e9914611883578063c1847bee146118c957600080fd5b8063bbeb25e01461176b578063bccdc9c4146117b1578063bf01c7f9146117f757600080fd5b8063ad87e2e1116102ee578063b860f47f116102c8578063b860f47f14611699578063ba607fac146116df578063bb73447f1461172557600080fd5b8063ad87e2e1146115c7578063b429b23c1461160d578063b7bab2861461165357600080fd5b8063a925e7621161031f578063a925e762146114f5578063a95d606e1461153b578063aa8de9461461158157600080fd5b8063a202e8c014611423578063a3ab9e7a14611469578063a6496f62146114af57600080fd5b806351e0489a116104d85780637c9affcb1161041f578063891a099d116103c85780639df2391c116103a25780639df2391c1461130b5780639faf388f146113515780639fcbede614611397578063a178b800146113dd57600080fd5b8063891a099d146112395780638e4884d11461127f5780639ded4e2b146112c557600080fd5b806381c4b4cc116103f957806381c4b4cc146111675780638275b290146111ad57806387ad7515146111f357600080fd5b80637c9affcb146110955780637fcc3d5d146110db578063803bf56d1461112157600080fd5b80636913a82b11610481578063769008e41161045b578063769008e414610fc35780637a3058c1146110095780637bc705c11461104f57600080fd5b80636913a82b14610ef15780636a678a7514610f3757806375b5533714610f7d57600080fd5b80636357d3b7116104b25780636357d3b714610e1f578063659665f914610e65578063679b530214610eab57600080fd5b806351e0489a14610d4d57806357301b0214610d935780635793d40814610dd957600080fd5b80632a0caa6a116105a7578063429545a4116105505780634961a7ce1161052a5780634961a7ce14610c355780634a3ccd5f14610c7b5780634fb7d4bd14610cc157806350fbcfb614610d0757600080fd5b8063429545a414610b6357806343c84f3314610ba957806346d79d1314610bef57600080fd5b806333c064151161058157806333c0641514610a9157806334bdbab714610ad75780634029cdee14610b1d57600080fd5b80632a0caa6a146109bf5780632a97dfbf14610a055780632f0d528b14610a4b57600080fd5b80631b46fa941161060957806325cb6b9a116105e357806325cb6b9a146108ed57806326888cda1461093357806328b01d811461097957600080fd5b80631b46fa941461081b5780631eb765fd1461086157806325bc2c82146108a757600080fd5b8063107810d51161063a578063107810d5146107495780631400a02f1461078f5780631a762a3a146107d557600080fd5b806303290450146106615780630e9ba011146106bd5780630f84821114610703575b600080fd5b6106a761066f3660046121cf565b5060408051808201909152600681527f75696e7433320000000000000000000000000000000000000000000000000000602082015290565b6040516106b491906121fc565b60405180910390f35b6106a76106cb36600461224a565b5060408051808201909152600781527f6279746573323400000000000000000000000000000000000000000000000000602082015290565b6106a7610711366004612275565b5060408051808201909152600681527f696e743230380000000000000000000000000000000000000000000000000000602082015290565b6106a7610757366004612298565b5060408051808201909152600781527f75696e7431373600000000000000000000000000000000000000000000000000602082015290565b6106a761079d3660046122d0565b5060408051808201909152600681527f6279746573340000000000000000000000000000000000000000000000000000602082015290565b6106a76107e3366004612312565b5060408051808201909152600681527f6279746573390000000000000000000000000000000000000000000000000000602082015290565b6106a7610829366004612354565b5060408051808201909152600581527f696e743732000000000000000000000000000000000000000000000000000000602082015290565b6106a761086f366004612377565b5060408051808201909152600781527f75696e7432303000000000000000000000000000000000000000000000000000602082015290565b6106a76108b53660046123b2565b5060408051808201909152600781527f6279746573323000000000000000000000000000000000000000000000000000602082015290565b6106a76108fb3660046123e1565b5060408051808201909152600581527f696e743332000000000000000000000000000000000000000000000000000000602082015290565b6106a7610941366004612404565b5060408051808201909152600781527f75696e7432313600000000000000000000000000000000000000000000000000602082015290565b6106a7610987366004612441565b5060408051808201909152600781527f75696e7431383400000000000000000000000000000000000000000000000000602082015290565b6106a76109cd36600461247a565b5060408051808201909152600781527f75696e7431353200000000000000000000000000000000000000000000000000602082015290565b6106a7610a133660046124af565b5060408051808201909152600681527f696e743234380000000000000000000000000000000000000000000000000000602082015290565b6106a7610a593660046124d2565b5060408051808201909152600681527f75696e7438300000000000000000000000000000000000000000000000000000602082015290565b6106a7610a9f3660046124fe565b5060408051808201909152600781527f6279746573323800000000000000000000000000000000000000000000000000602082015290565b6106a7610ae5366004612525565b5060408051808201909152600781527f6279746573333000000000000000000000000000000000000000000000000000602082015290565b6106a7610b2b36600461254a565b5060408051808201909152600681527f696e743132300000000000000000000000000000000000000000000000000000602082015290565b6106a7610b7136600461256d565b5060408051808201909152600781527f6279746573323100000000000000000000000000000000000000000000000000602082015290565b6106a7610bb736600461259b565b5060408051808201909152600781527f75696e7431303400000000000000000000000000000000000000000000000000602082015290565b6106a7610bfd3660046125ca565b5060408051808201909152600581527f696e743936000000000000000000000000000000000000000000000000000000602082015290565b6106a7610c433660046125ed565b5060408051808201909152600781527f75696e7432323400000000000000000000000000000000000000000000000000602082015290565b6106a7610c8936600461262b565b5060408051808201909152600681527f696e743136380000000000000000000000000000000000000000000000000000602082015290565b6106a7610ccf36600461264e565b5060408051808201909152600681527f696e743230300000000000000000000000000000000000000000000000000000602082015290565b6106a7610d15366004612671565b5060408051808201909152600681527f696e743138340000000000000000000000000000000000000000000000000000602082015290565b6106a7610d5b366004612694565b5060408051808201909152600781527f6279746573313400000000000000000000000000000000000000000000000000602082015290565b6106a7610da13660046126d6565b5060408051808201909152600781527f75696e7431393200000000000000000000000000000000000000000000000000602082015290565b6106a7610de7366004612710565b5060408051808201909152600681527f6279746573320000000000000000000000000000000000000000000000000000602082015290565b6106a7610e2d366004612752565b5060408051808201909152600681527f75696e7432340000000000000000000000000000000000000000000000000000602082015290565b6106a7610e73366004612777565b5060408051808201909152600681527f696e743131320000000000000000000000000000000000000000000000000000602082015290565b6106a7610eb936600461279a565b5060408051808201909152600681527f6279746573360000000000000000000000000000000000000000000000000000602082015290565b6106a7610eff3660046127dc565b5060408051808201909152600681527f75696e7431360000000000000000000000000000000000000000000000000000602082015290565b6106a7610f45366004612800565b5060408051808201909152600681527f6279746573330000000000000000000000000000000000000000000000000000602082015290565b6106a7610f8b366004612842565b5060408051808201909152600781527f6279746573313700000000000000000000000000000000000000000000000000602082015290565b6106a7610fd1366004612874565b5060408051808201909152600681527f696e743232340000000000000000000000000000000000000000000000000000602082015290565b6106a7611017366004612897565b5060408051808201909152600681527f696e743132380000000000000000000000000000000000000000000000000000602082015290565b6106a761105d3660046128ba565b5060408051808201909152600781527f6279746573313800000000000000000000000000000000000000000000000000602082015290565b6106a76110a33660046128eb565b5060408051808201909152600681527f696e743130340000000000000000000000000000000000000000000000000000602082015290565b6106a76110e936600461290e565b5060408051808201909152600681527f6279746573370000000000000000000000000000000000000000000000000000602082015290565b6106a761112f366004612950565b5060408051808201909152600781527f6279746573323500000000000000000000000000000000000000000000000000602082015290565b6106a761117536600461297a565b5060408051808201909152600681527f75696e7434300000000000000000000000000000000000000000000000000000602082015290565b6106a76111bb3660046129a1565b5060408051808201909152600781527f75696e7431323000000000000000000000000000000000000000000000000000602082015290565b6106a76112013660046129d2565b5060408051808201909152600781527f75696e7431363800000000000000000000000000000000000000000000000000602082015290565b6106a7611247366004612a09565b5060408051808201909152600681527f696e743133360000000000000000000000000000000000000000000000000000602082015290565b6106a761128d366004612a2c565b5060408051808201909152600781527f75696e7432343800000000000000000000000000000000000000000000000000602082015290565b6106a76112d3366004612a6d565b5060408051808201909152600681527f6279746573380000000000000000000000000000000000000000000000000000602082015290565b6106a7611319366004612aaf565b5060408051808201909152600681527f696e743139320000000000000000000000000000000000000000000000000000602082015290565b6106a761135f366004612ad2565b5060408051808201909152600681527f696e743231360000000000000000000000000000000000000000000000000000602082015290565b6106a76113a5366004612b9a565b5060408051808201909152600581527f6279746573000000000000000000000000000000000000000000000000000000602082015290565b6106a76113eb366004612beb565b5060408051808201909152600781527f75696e7432343000000000000000000000000000000000000000000000000000602082015290565b6106a7611431366004612c2b565b5060408051808201909152600781527f75696e7431313200000000000000000000000000000000000000000000000000602082015290565b6106a7611477366004612c5b565b5060408051808201909152600781527f6279746573323900000000000000000000000000000000000000000000000000602082015290565b6106a76114bd366004612c81565b5060408051808201909152600581527f696e743830000000000000000000000000000000000000000000000000000000602082015290565b6106a7611503366004612ca4565b5060408051808201909152600681527f696e743137360000000000000000000000000000000000000000000000000000602082015290565b6106a7611549366004612cc7565b5060408051808201909152600781527f6279746573333100000000000000000000000000000000000000000000000000602082015290565b6106a761158f366004612ceb565b5060408051808201909152600581527f75696e7438000000000000000000000000000000000000000000000000000000602082015290565b6106a76115d5366004612d0e565b5060408051808201909152600781527f75696e7432303800000000000000000000000000000000000000000000000000602082015290565b6106a761161b366004612d4a565b5060408051808201909152600681527f75696e7438380000000000000000000000000000000000000000000000000000602082015290565b6106a7611661366004612d77565b5060408051808201909152600781527f6279746573313000000000000000000000000000000000000000000000000000602082015290565b6106a76116a7366004612db9565b5060408051808201909152600781527f6279746573313600000000000000000000000000000000000000000000000000602082015290565b6106a76116ed366004612dfb565b5060408051808201909152600581527f696e743838000000000000000000000000000000000000000000000000000000602082015290565b6106a7611733366004612e1e565b5060408051808201909152600681527f75696e7436340000000000000000000000000000000000000000000000000000602082015290565b6106a7611779366004612e6d565b5060408051808201909152600781527f6164647265737300000000000000000000000000000000000000000000000000602082015290565b6106a76117bf366004612e8a565b5060408051808201909152600781527f6279746573313200000000000000000000000000000000000000000000000000602082015290565b6106a7611805366004612ecc565b5060408051808201909152600781527f6279746573323700000000000000000000000000000000000000000000000000602082015290565b6106a761184b366004612ef4565b5060408051808201909152600581527f696e743634000000000000000000000000000000000000000000000000000000602082015290565b6106a7611891366004612f17565b5060408051808201909152600781527f75696e7431333600000000000000000000000000000000000000000000000000602082015290565b6106a76118d7366004612f4a565b5060408051808201909152600781527f75696e7432333200000000000000000000000000000000000000000000000000602082015290565b6106a761191d366004612f89565b5060408051808201909152600781527f6279746573323600000000000000000000000000000000000000000000000000602082015290565b6106a7611963366004612fb2565b5060408051808201909152600681527f6279746573350000000000000000000000000000000000000000000000000000602082015290565b6106a76119a9366004612ff4565b5060408051808201909152600681527f75696e7434380000000000000000000000000000000000000000000000000000602082015290565b6106a76119ef36600461301c565b5060408051808201909152600581527f696e743430000000000000000000000000000000000000000000000000000000602082015290565b6106a7611a3536600461303f565b5060408051808201909152600681527f75696e7439360000000000000000000000000000000000000000000000000000602082015290565b6106a7611a7b366004612e6d565b5060408051808201909152600781527f75696e7431363000000000000000000000000000000000000000000000000000602082015290565b6106a7611ac136600461306d565b5060408051808201909152600481527f696e743800000000000000000000000000000000000000000000000000000000602082015290565b6106a7611b07366004613090565b5060408051808201909152600681527f75696e7437320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b4d3660046130bb565b5060408051808201909152600681527f696e743233320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b933660046130de565b5060408051808201909152600781527f6279746573333200000000000000000000000000000000000000000000000000602082015290565b6106a7611bd93660046130de565b5060408051808201909152600781527f75696e7432353600000000000000000000000000000000000000000000000000602082015290565b6106a7611c1f3660046130f7565b5060408051808201909152600581527f696e743136000000000000000000000000000000000000000000000000000000602082015290565b6106a7611c6536600461311a565b5060408051808201909152600781527f6279746573313500000000000000000000000000000000000000000000000000602082015290565b6106a7611cab36600461315c565b5060408051808201909152600681527f75696e7435360000000000000000000000000000000000000000000000000000602082015290565b6106a7611cf1366004613185565b5060408051808201909152600781527f6279746573323300000000000000000000000000000000000000000000000000602082015290565b6106a7611d373660046131b1565b5060408051808201909152600681527f696e743234300000000000000000000000000000000000000000000000000000602082015290565b6106a7611d7d3660046131d4565b5060408051808201909152600681527f696e743136300000000000000000000000000000000000000000000000000000602082015290565b6106a7611dc33660046131f7565b5060408051808201909152600781527f75696e7431323800000000000000000000000000000000000000000000000000602082015290565b6106a7611e09366004613229565b5060408051808201909152600581527f696e743438000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e4f36600461324c565b5060408051808201909152600481527f626f6f6c00000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e9536600461326e565b5060408051808201909152600781527f6279746573313300000000000000000000000000000000000000000000000000602082015290565b6106a7611edb3660046132b0565b5060408051808201909152600781527f6279746573323200000000000000000000000000000000000000000000000000602082015290565b6106a7611f213660046130de565b5060408051808201909152600681527f696e743235360000000000000000000000000000000000000000000000000000602082015290565b6106a7611f673660046132dd565b5060408051808201909152600781527f6279746573313900000000000000000000000000000000000000000000000000602082015290565b6106a7611fad36600461330d565b5060408051808201909152600681527f696e743135320000000000000000000000000000000000000000000000000000602082015290565b6106a7611ff3366004613330565b5060408051808201909152600781527f75696e7431343400000000000000000000000000000000000000000000000000602082015290565b6106a7612039366004612b9a565b5060408051808201909152600681527f737472696e670000000000000000000000000000000000000000000000000000602082015290565b6106a761207f366004613364565b5060408051808201909152600581527f696e743234000000000000000000000000000000000000000000000000000000602082015290565b6106a76120c5366004613387565b5060408051808201909152600781527f6279746573313100000000000000000000000000000000000000000000000000602082015290565b6106a761210b3660046133c9565b5060408051808201909152600581527f696e743536000000000000000000000000000000000000000000000000000000602082015290565b6106a76121513660046133ec565b5060408051808201909152600681527f696e743134340000000000000000000000000000000000000000000000000000602082015290565b6106a761219736600461340f565b5060408051808201909152600681527f6279746573310000000000000000000000000000000000000000000000000000602082015290565b6000602082840312156121e157600080fd5b813563ffffffff811681146121f557600080fd5b9392505050565b600060208083528351808285015260005b818110156122295785810183015185820160400152820161220d565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561225c57600080fd5b813567ffffffffffffffff19811681146121f557600080fd5b60006020828403121561228757600080fd5b81358060190b81146121f557600080fd5b6000602082840312156122aa57600080fd5b813575ffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156122e257600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561232457600080fd5b81357fffffffffffffffffff0000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561236657600080fd5b81358060080b81146121f557600080fd5b60006020828403121561238957600080fd5b813578ffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156123c457600080fd5b81356bffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156123f357600080fd5b81358060030b81146121f557600080fd5b60006020828403121561241657600080fd5b81357affffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561245357600080fd5b813576ffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561248c57600080fd5b813572ffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156124c157600080fd5b813580601e0b81146121f557600080fd5b6000602082840312156124e457600080fd5b813569ffffffffffffffffffff811681146121f557600080fd5b60006020828403121561251057600080fd5b813563ffffffff19811681146121f557600080fd5b60006020828403121561253757600080fd5b813561ffff19811681146121f557600080fd5b60006020828403121561255c57600080fd5b813580600e0b81146121f557600080fd5b60006020828403121561257f57600080fd5b81356affffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156125ad57600080fd5b81356cffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156125dc57600080fd5b813580600b0b81146121f557600080fd5b6000602082840312156125ff57600080fd5b81357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561263d57600080fd5b81358060140b81146121f557600080fd5b60006020828403121561266057600080fd5b81358060180b81146121f557600080fd5b60006020828403121561268357600080fd5b81358060160b81146121f557600080fd5b6000602082840312156126a657600080fd5b81357fffffffffffffffffffffffffffff000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156126e857600080fd5b813577ffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561272257600080fd5b81357fffff000000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561276457600080fd5b813562ffffff811681146121f557600080fd5b60006020828403121561278957600080fd5b813580600d0b81146121f557600080fd5b6000602082840312156127ac57600080fd5b81357fffffffffffff0000000000000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156127ee57600080fd5b813561ffff811681146121f557600080fd5b60006020828403121561281257600080fd5b81357fffffff0000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561285457600080fd5b81356effffffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561288657600080fd5b813580601b0b81146121f557600080fd5b6000602082840312156128a957600080fd5b813580600f0b81146121f557600080fd5b6000602082840312156128cc57600080fd5b81356dffffffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156128fd57600080fd5b813580600c0b81146121f557600080fd5b60006020828403121561292057600080fd5b81357fffffffffffffff00000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561296257600080fd5b813566ffffffffffffff19811681146121f557600080fd5b60006020828403121561298c57600080fd5b813564ffffffffff811681146121f557600080fd5b6000602082840312156129b357600080fd5b81356effffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156129e457600080fd5b813574ffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a1b57600080fd5b81358060100b81146121f557600080fd5b600060208284031215612a3e57600080fd5b81357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a7f57600080fd5b81357fffffffffffffffff000000000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ac157600080fd5b81358060170b81146121f557600080fd5b600060208284031215612ae457600080fd5b813580601a0b81146121f557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612b3f57612b3f612af5565b604051601f8501601f19908116603f01168101908282118183101715612b6757612b67612af5565b81604052809350858152868686011115612b8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bac57600080fd5b813567ffffffffffffffff811115612bc357600080fd5b8201601f81018413612bd457600080fd5b612be384823560208401612b24565b949350505050565b600060208284031215612bfd57600080fd5b81357dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c3d57600080fd5b81356dffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c6d57600080fd5b813562ffffff19811681146121f557600080fd5b600060208284031215612c9357600080fd5b81358060090b81146121f557600080fd5b600060208284031215612cb657600080fd5b81358060150b81146121f557600080fd5b600060208284031215612cd957600080fd5b813560ff19811681146121f557600080fd5b600060208284031215612cfd57600080fd5b813560ff811681146121f557600080fd5b600060208284031215612d2057600080fd5b813579ffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d5c57600080fd5b81356affffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d8957600080fd5b81357fffffffffffffffffffff00000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612dcb57600080fd5b81357fffffffffffffffffffffffffffffffff00000000000000000000000000000000811681146121f557600080fd5b600060208284031215612e0d57600080fd5b813580600a0b81146121f557600080fd5b600060208284031215612e3057600080fd5b813567ffffffffffffffff811681146121f557600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114612e6a57600080fd5b50565b600060208284031215612e7f57600080fd5b81356121f581612e48565b600060208284031215612e9c57600080fd5b81357fffffffffffffffffffffffff0000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ede57600080fd5b813564ffffffffff19811681146121f557600080fd5b600060208284031215612f0657600080fd5b81358060070b81146121f557600080fd5b600060208284031215612f2957600080fd5b813570ffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f5c57600080fd5b81357cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f9b57600080fd5b813565ffffffffffff19811681146121f557600080fd5b600060208284031215612fc457600080fd5b81357fffffffffff000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561300657600080fd5b813565ffffffffffff811681146121f557600080fd5b60006020828403121561302e57600080fd5b81358060040b81146121f557600080fd5b60006020828403121561305157600080fd5b81356bffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561307f57600080fd5b81358060000b81146121f557600080fd5b6000602082840312156130a257600080fd5b813568ffffffffffffffffff811681146121f557600080fd5b6000602082840312156130cd57600080fd5b813580601c0b81146121f557600080fd5b6000602082840312156130f057600080fd5b5035919050565b60006020828403121561310957600080fd5b81358060010b81146121f557600080fd5b60006020828403121561312c57600080fd5b81357fffffffffffffffffffffffffffffff0000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561316e57600080fd5b813566ffffffffffffff811681146121f557600080fd5b60006020828403121561319757600080fd5b813568ffffffffffffffffff19811681146121f557600080fd5b6000602082840312156131c357600080fd5b813580601d0b81146121f557600080fd5b6000602082840312156131e657600080fd5b81358060130b81146121f557600080fd5b60006020828403121561320957600080fd5b81356fffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561323b57600080fd5b81358060050b81146121f557600080fd5b60006020828403121561325e57600080fd5b813580151581146121f557600080fd5b60006020828403121561328057600080fd5b81357fffffffffffffffffffffffffff00000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156132c257600080fd5b813569ffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156132ef57600080fd5b81356cffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561331f57600080fd5b81358060120b81146121f557600080fd5b60006020828403121561334257600080fd5b813571ffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561337657600080fd5b81358060020b81146121f557600080fd5b60006020828403121561339957600080fd5b81357fffffffffffffffffffffff000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156133db57600080fd5b81358060060b81146121f557600080fd5b6000602082840312156133fe57600080fd5b81358060110b81146121f557600080fd5b60006020828403121561342157600080fd5b81357fff00000000000000000000000000000000000000000000000000000000000000811681146121f557600080fdfea2646970667358221220c03630ca6910d46ede5cae5ed1f6ae9571e1ccb99a0b3b83f560d5c9079c96db64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061065c5760003560e01c8063a202e8c011610345578063cec31ded116101bd578063e96add8c11610104578063f3164597116100ad578063f85a090311610087578063f85a0903146120b7578063fa4d99c9146120fd578063fbf3e13a14612143578063fd1652cb1461218957600080fd5b8063f316459714611fe5578063f44076171461202b578063f7b0e3d51461207157600080fd5b8063eecd1129116100de578063eecd112914611f13578063ef4483be14611f59578063f0fb21ff14611f9f57600080fd5b8063e96add8c14611e41578063e9da42ca14611e87578063eb01940114611ecd57600080fd5b8063d92e6c0611610166578063e0fa6ea111610140578063e0fa6ea114611d6f578063e137fb7014611db5578063e8fb922314611dfb57600080fd5b8063d92e6c0614611c9d578063dad2ef4f14611ce3578063dafbc72414611d2957600080fd5b8063d4b789d811610197578063d4b789d814611bcb578063d4c0c48614611c11578063d7d7398414611c5757600080fd5b8063cec31ded14611af9578063d0e03b0714611b3f578063d20f679a14611b8557600080fd5b8063bbeb25e01161028c578063c233fd3311610235578063c84ad5801161020f578063c84ad580146119e1578063c8ddda4a14611a27578063cc69cf9714611a6d578063ccd94f9814611ab357600080fd5b8063c233fd331461190f578063c639604b14611955578063c847fe3b1461199b57600080fd5b8063c081607b11610266578063c081607b1461183d578063c1397e9914611883578063c1847bee146118c957600080fd5b8063bbeb25e01461176b578063bccdc9c4146117b1578063bf01c7f9146117f757600080fd5b8063ad87e2e1116102ee578063b860f47f116102c8578063b860f47f14611699578063ba607fac146116df578063bb73447f1461172557600080fd5b8063ad87e2e1146115c7578063b429b23c1461160d578063b7bab2861461165357600080fd5b8063a925e7621161031f578063a925e762146114f5578063a95d606e1461153b578063aa8de9461461158157600080fd5b8063a202e8c014611423578063a3ab9e7a14611469578063a6496f62146114af57600080fd5b806351e0489a116104d85780637c9affcb1161041f578063891a099d116103c85780639df2391c116103a25780639df2391c1461130b5780639faf388f146113515780639fcbede614611397578063a178b800146113dd57600080fd5b8063891a099d146112395780638e4884d11461127f5780639ded4e2b146112c557600080fd5b806381c4b4cc116103f957806381c4b4cc146111675780638275b290146111ad57806387ad7515146111f357600080fd5b80637c9affcb146110955780637fcc3d5d146110db578063803bf56d1461112157600080fd5b80636913a82b11610481578063769008e41161045b578063769008e414610fc35780637a3058c1146110095780637bc705c11461104f57600080fd5b80636913a82b14610ef15780636a678a7514610f3757806375b5533714610f7d57600080fd5b80636357d3b7116104b25780636357d3b714610e1f578063659665f914610e65578063679b530214610eab57600080fd5b806351e0489a14610d4d57806357301b0214610d935780635793d40814610dd957600080fd5b80632a0caa6a116105a7578063429545a4116105505780634961a7ce1161052a5780634961a7ce14610c355780634a3ccd5f14610c7b5780634fb7d4bd14610cc157806350fbcfb614610d0757600080fd5b8063429545a414610b6357806343c84f3314610ba957806346d79d1314610bef57600080fd5b806333c064151161058157806333c0641514610a9157806334bdbab714610ad75780634029cdee14610b1d57600080fd5b80632a0caa6a146109bf5780632a97dfbf14610a055780632f0d528b14610a4b57600080fd5b80631b46fa941161060957806325cb6b9a116105e357806325cb6b9a146108ed57806326888cda1461093357806328b01d811461097957600080fd5b80631b46fa941461081b5780631eb765fd1461086157806325bc2c82146108a757600080fd5b8063107810d51161063a578063107810d5146107495780631400a02f1461078f5780631a762a3a146107d557600080fd5b806303290450146106615780630e9ba011146106bd5780630f84821114610703575b600080fd5b6106a761066f3660046121cf565b5060408051808201909152600681527f75696e7433320000000000000000000000000000000000000000000000000000602082015290565b6040516106b491906121fc565b60405180910390f35b6106a76106cb36600461224a565b5060408051808201909152600781527f6279746573323400000000000000000000000000000000000000000000000000602082015290565b6106a7610711366004612275565b5060408051808201909152600681527f696e743230380000000000000000000000000000000000000000000000000000602082015290565b6106a7610757366004612298565b5060408051808201909152600781527f75696e7431373600000000000000000000000000000000000000000000000000602082015290565b6106a761079d3660046122d0565b5060408051808201909152600681527f6279746573340000000000000000000000000000000000000000000000000000602082015290565b6106a76107e3366004612312565b5060408051808201909152600681527f6279746573390000000000000000000000000000000000000000000000000000602082015290565b6106a7610829366004612354565b5060408051808201909152600581527f696e743732000000000000000000000000000000000000000000000000000000602082015290565b6106a761086f366004612377565b5060408051808201909152600781527f75696e7432303000000000000000000000000000000000000000000000000000602082015290565b6106a76108b53660046123b2565b5060408051808201909152600781527f6279746573323000000000000000000000000000000000000000000000000000602082015290565b6106a76108fb3660046123e1565b5060408051808201909152600581527f696e743332000000000000000000000000000000000000000000000000000000602082015290565b6106a7610941366004612404565b5060408051808201909152600781527f75696e7432313600000000000000000000000000000000000000000000000000602082015290565b6106a7610987366004612441565b5060408051808201909152600781527f75696e7431383400000000000000000000000000000000000000000000000000602082015290565b6106a76109cd36600461247a565b5060408051808201909152600781527f75696e7431353200000000000000000000000000000000000000000000000000602082015290565b6106a7610a133660046124af565b5060408051808201909152600681527f696e743234380000000000000000000000000000000000000000000000000000602082015290565b6106a7610a593660046124d2565b5060408051808201909152600681527f75696e7438300000000000000000000000000000000000000000000000000000602082015290565b6106a7610a9f3660046124fe565b5060408051808201909152600781527f6279746573323800000000000000000000000000000000000000000000000000602082015290565b6106a7610ae5366004612525565b5060408051808201909152600781527f6279746573333000000000000000000000000000000000000000000000000000602082015290565b6106a7610b2b36600461254a565b5060408051808201909152600681527f696e743132300000000000000000000000000000000000000000000000000000602082015290565b6106a7610b7136600461256d565b5060408051808201909152600781527f6279746573323100000000000000000000000000000000000000000000000000602082015290565b6106a7610bb736600461259b565b5060408051808201909152600781527f75696e7431303400000000000000000000000000000000000000000000000000602082015290565b6106a7610bfd3660046125ca565b5060408051808201909152600581527f696e743936000000000000000000000000000000000000000000000000000000602082015290565b6106a7610c433660046125ed565b5060408051808201909152600781527f75696e7432323400000000000000000000000000000000000000000000000000602082015290565b6106a7610c8936600461262b565b5060408051808201909152600681527f696e743136380000000000000000000000000000000000000000000000000000602082015290565b6106a7610ccf36600461264e565b5060408051808201909152600681527f696e743230300000000000000000000000000000000000000000000000000000602082015290565b6106a7610d15366004612671565b5060408051808201909152600681527f696e743138340000000000000000000000000000000000000000000000000000602082015290565b6106a7610d5b366004612694565b5060408051808201909152600781527f6279746573313400000000000000000000000000000000000000000000000000602082015290565b6106a7610da13660046126d6565b5060408051808201909152600781527f75696e7431393200000000000000000000000000000000000000000000000000602082015290565b6106a7610de7366004612710565b5060408051808201909152600681527f6279746573320000000000000000000000000000000000000000000000000000602082015290565b6106a7610e2d366004612752565b5060408051808201909152600681527f75696e7432340000000000000000000000000000000000000000000000000000602082015290565b6106a7610e73366004612777565b5060408051808201909152600681527f696e743131320000000000000000000000000000000000000000000000000000602082015290565b6106a7610eb936600461279a565b5060408051808201909152600681527f6279746573360000000000000000000000000000000000000000000000000000602082015290565b6106a7610eff3660046127dc565b5060408051808201909152600681527f75696e7431360000000000000000000000000000000000000000000000000000602082015290565b6106a7610f45366004612800565b5060408051808201909152600681527f6279746573330000000000000000000000000000000000000000000000000000602082015290565b6106a7610f8b366004612842565b5060408051808201909152600781527f6279746573313700000000000000000000000000000000000000000000000000602082015290565b6106a7610fd1366004612874565b5060408051808201909152600681527f696e743232340000000000000000000000000000000000000000000000000000602082015290565b6106a7611017366004612897565b5060408051808201909152600681527f696e743132380000000000000000000000000000000000000000000000000000602082015290565b6106a761105d3660046128ba565b5060408051808201909152600781527f6279746573313800000000000000000000000000000000000000000000000000602082015290565b6106a76110a33660046128eb565b5060408051808201909152600681527f696e743130340000000000000000000000000000000000000000000000000000602082015290565b6106a76110e936600461290e565b5060408051808201909152600681527f6279746573370000000000000000000000000000000000000000000000000000602082015290565b6106a761112f366004612950565b5060408051808201909152600781527f6279746573323500000000000000000000000000000000000000000000000000602082015290565b6106a761117536600461297a565b5060408051808201909152600681527f75696e7434300000000000000000000000000000000000000000000000000000602082015290565b6106a76111bb3660046129a1565b5060408051808201909152600781527f75696e7431323000000000000000000000000000000000000000000000000000602082015290565b6106a76112013660046129d2565b5060408051808201909152600781527f75696e7431363800000000000000000000000000000000000000000000000000602082015290565b6106a7611247366004612a09565b5060408051808201909152600681527f696e743133360000000000000000000000000000000000000000000000000000602082015290565b6106a761128d366004612a2c565b5060408051808201909152600781527f75696e7432343800000000000000000000000000000000000000000000000000602082015290565b6106a76112d3366004612a6d565b5060408051808201909152600681527f6279746573380000000000000000000000000000000000000000000000000000602082015290565b6106a7611319366004612aaf565b5060408051808201909152600681527f696e743139320000000000000000000000000000000000000000000000000000602082015290565b6106a761135f366004612ad2565b5060408051808201909152600681527f696e743231360000000000000000000000000000000000000000000000000000602082015290565b6106a76113a5366004612b9a565b5060408051808201909152600581527f6279746573000000000000000000000000000000000000000000000000000000602082015290565b6106a76113eb366004612beb565b5060408051808201909152600781527f75696e7432343000000000000000000000000000000000000000000000000000602082015290565b6106a7611431366004612c2b565b5060408051808201909152600781527f75696e7431313200000000000000000000000000000000000000000000000000602082015290565b6106a7611477366004612c5b565b5060408051808201909152600781527f6279746573323900000000000000000000000000000000000000000000000000602082015290565b6106a76114bd366004612c81565b5060408051808201909152600581527f696e743830000000000000000000000000000000000000000000000000000000602082015290565b6106a7611503366004612ca4565b5060408051808201909152600681527f696e743137360000000000000000000000000000000000000000000000000000602082015290565b6106a7611549366004612cc7565b5060408051808201909152600781527f6279746573333100000000000000000000000000000000000000000000000000602082015290565b6106a761158f366004612ceb565b5060408051808201909152600581527f75696e7438000000000000000000000000000000000000000000000000000000602082015290565b6106a76115d5366004612d0e565b5060408051808201909152600781527f75696e7432303800000000000000000000000000000000000000000000000000602082015290565b6106a761161b366004612d4a565b5060408051808201909152600681527f75696e7438380000000000000000000000000000000000000000000000000000602082015290565b6106a7611661366004612d77565b5060408051808201909152600781527f6279746573313000000000000000000000000000000000000000000000000000602082015290565b6106a76116a7366004612db9565b5060408051808201909152600781527f6279746573313600000000000000000000000000000000000000000000000000602082015290565b6106a76116ed366004612dfb565b5060408051808201909152600581527f696e743838000000000000000000000000000000000000000000000000000000602082015290565b6106a7611733366004612e1e565b5060408051808201909152600681527f75696e7436340000000000000000000000000000000000000000000000000000602082015290565b6106a7611779366004612e6d565b5060408051808201909152600781527f6164647265737300000000000000000000000000000000000000000000000000602082015290565b6106a76117bf366004612e8a565b5060408051808201909152600781527f6279746573313200000000000000000000000000000000000000000000000000602082015290565b6106a7611805366004612ecc565b5060408051808201909152600781527f6279746573323700000000000000000000000000000000000000000000000000602082015290565b6106a761184b366004612ef4565b5060408051808201909152600581527f696e743634000000000000000000000000000000000000000000000000000000602082015290565b6106a7611891366004612f17565b5060408051808201909152600781527f75696e7431333600000000000000000000000000000000000000000000000000602082015290565b6106a76118d7366004612f4a565b5060408051808201909152600781527f75696e7432333200000000000000000000000000000000000000000000000000602082015290565b6106a761191d366004612f89565b5060408051808201909152600781527f6279746573323600000000000000000000000000000000000000000000000000602082015290565b6106a7611963366004612fb2565b5060408051808201909152600681527f6279746573350000000000000000000000000000000000000000000000000000602082015290565b6106a76119a9366004612ff4565b5060408051808201909152600681527f75696e7434380000000000000000000000000000000000000000000000000000602082015290565b6106a76119ef36600461301c565b5060408051808201909152600581527f696e743430000000000000000000000000000000000000000000000000000000602082015290565b6106a7611a3536600461303f565b5060408051808201909152600681527f75696e7439360000000000000000000000000000000000000000000000000000602082015290565b6106a7611a7b366004612e6d565b5060408051808201909152600781527f75696e7431363000000000000000000000000000000000000000000000000000602082015290565b6106a7611ac136600461306d565b5060408051808201909152600481527f696e743800000000000000000000000000000000000000000000000000000000602082015290565b6106a7611b07366004613090565b5060408051808201909152600681527f75696e7437320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b4d3660046130bb565b5060408051808201909152600681527f696e743233320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b933660046130de565b5060408051808201909152600781527f6279746573333200000000000000000000000000000000000000000000000000602082015290565b6106a7611bd93660046130de565b5060408051808201909152600781527f75696e7432353600000000000000000000000000000000000000000000000000602082015290565b6106a7611c1f3660046130f7565b5060408051808201909152600581527f696e743136000000000000000000000000000000000000000000000000000000602082015290565b6106a7611c6536600461311a565b5060408051808201909152600781527f6279746573313500000000000000000000000000000000000000000000000000602082015290565b6106a7611cab36600461315c565b5060408051808201909152600681527f75696e7435360000000000000000000000000000000000000000000000000000602082015290565b6106a7611cf1366004613185565b5060408051808201909152600781527f6279746573323300000000000000000000000000000000000000000000000000602082015290565b6106a7611d373660046131b1565b5060408051808201909152600681527f696e743234300000000000000000000000000000000000000000000000000000602082015290565b6106a7611d7d3660046131d4565b5060408051808201909152600681527f696e743136300000000000000000000000000000000000000000000000000000602082015290565b6106a7611dc33660046131f7565b5060408051808201909152600781527f75696e7431323800000000000000000000000000000000000000000000000000602082015290565b6106a7611e09366004613229565b5060408051808201909152600581527f696e743438000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e4f36600461324c565b5060408051808201909152600481527f626f6f6c00000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e9536600461326e565b5060408051808201909152600781527f6279746573313300000000000000000000000000000000000000000000000000602082015290565b6106a7611edb3660046132b0565b5060408051808201909152600781527f6279746573323200000000000000000000000000000000000000000000000000602082015290565b6106a7611f213660046130de565b5060408051808201909152600681527f696e743235360000000000000000000000000000000000000000000000000000602082015290565b6106a7611f673660046132dd565b5060408051808201909152600781527f6279746573313900000000000000000000000000000000000000000000000000602082015290565b6106a7611fad36600461330d565b5060408051808201909152600681527f696e743135320000000000000000000000000000000000000000000000000000602082015290565b6106a7611ff3366004613330565b5060408051808201909152600781527f75696e7431343400000000000000000000000000000000000000000000000000602082015290565b6106a7612039366004612b9a565b5060408051808201909152600681527f737472696e670000000000000000000000000000000000000000000000000000602082015290565b6106a761207f366004613364565b5060408051808201909152600581527f696e743234000000000000000000000000000000000000000000000000000000602082015290565b6106a76120c5366004613387565b5060408051808201909152600781527f6279746573313100000000000000000000000000000000000000000000000000602082015290565b6106a761210b3660046133c9565b5060408051808201909152600581527f696e743536000000000000000000000000000000000000000000000000000000602082015290565b6106a76121513660046133ec565b5060408051808201909152600681527f696e743134340000000000000000000000000000000000000000000000000000602082015290565b6106a761219736600461340f565b5060408051808201909152600681527f6279746573310000000000000000000000000000000000000000000000000000602082015290565b6000602082840312156121e157600080fd5b813563ffffffff811681146121f557600080fd5b9392505050565b600060208083528351808285015260005b818110156122295785810183015185820160400152820161220d565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561225c57600080fd5b813567ffffffffffffffff19811681146121f557600080fd5b60006020828403121561228757600080fd5b81358060190b81146121f557600080fd5b6000602082840312156122aa57600080fd5b813575ffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156122e257600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561232457600080fd5b81357fffffffffffffffffff0000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561236657600080fd5b81358060080b81146121f557600080fd5b60006020828403121561238957600080fd5b813578ffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156123c457600080fd5b81356bffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156123f357600080fd5b81358060030b81146121f557600080fd5b60006020828403121561241657600080fd5b81357affffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561245357600080fd5b813576ffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561248c57600080fd5b813572ffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156124c157600080fd5b813580601e0b81146121f557600080fd5b6000602082840312156124e457600080fd5b813569ffffffffffffffffffff811681146121f557600080fd5b60006020828403121561251057600080fd5b813563ffffffff19811681146121f557600080fd5b60006020828403121561253757600080fd5b813561ffff19811681146121f557600080fd5b60006020828403121561255c57600080fd5b813580600e0b81146121f557600080fd5b60006020828403121561257f57600080fd5b81356affffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156125ad57600080fd5b81356cffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156125dc57600080fd5b813580600b0b81146121f557600080fd5b6000602082840312156125ff57600080fd5b81357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561263d57600080fd5b81358060140b81146121f557600080fd5b60006020828403121561266057600080fd5b81358060180b81146121f557600080fd5b60006020828403121561268357600080fd5b81358060160b81146121f557600080fd5b6000602082840312156126a657600080fd5b81357fffffffffffffffffffffffffffff000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156126e857600080fd5b813577ffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561272257600080fd5b81357fffff000000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561276457600080fd5b813562ffffff811681146121f557600080fd5b60006020828403121561278957600080fd5b813580600d0b81146121f557600080fd5b6000602082840312156127ac57600080fd5b81357fffffffffffff0000000000000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156127ee57600080fd5b813561ffff811681146121f557600080fd5b60006020828403121561281257600080fd5b81357fffffff0000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561285457600080fd5b81356effffffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561288657600080fd5b813580601b0b81146121f557600080fd5b6000602082840312156128a957600080fd5b813580600f0b81146121f557600080fd5b6000602082840312156128cc57600080fd5b81356dffffffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156128fd57600080fd5b813580600c0b81146121f557600080fd5b60006020828403121561292057600080fd5b81357fffffffffffffff00000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561296257600080fd5b813566ffffffffffffff19811681146121f557600080fd5b60006020828403121561298c57600080fd5b813564ffffffffff811681146121f557600080fd5b6000602082840312156129b357600080fd5b81356effffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156129e457600080fd5b813574ffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a1b57600080fd5b81358060100b81146121f557600080fd5b600060208284031215612a3e57600080fd5b81357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a7f57600080fd5b81357fffffffffffffffff000000000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ac157600080fd5b81358060170b81146121f557600080fd5b600060208284031215612ae457600080fd5b813580601a0b81146121f557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612b3f57612b3f612af5565b604051601f8501601f19908116603f01168101908282118183101715612b6757612b67612af5565b81604052809350858152868686011115612b8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bac57600080fd5b813567ffffffffffffffff811115612bc357600080fd5b8201601f81018413612bd457600080fd5b612be384823560208401612b24565b949350505050565b600060208284031215612bfd57600080fd5b81357dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c3d57600080fd5b81356dffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c6d57600080fd5b813562ffffff19811681146121f557600080fd5b600060208284031215612c9357600080fd5b81358060090b81146121f557600080fd5b600060208284031215612cb657600080fd5b81358060150b81146121f557600080fd5b600060208284031215612cd957600080fd5b813560ff19811681146121f557600080fd5b600060208284031215612cfd57600080fd5b813560ff811681146121f557600080fd5b600060208284031215612d2057600080fd5b813579ffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d5c57600080fd5b81356affffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d8957600080fd5b81357fffffffffffffffffffff00000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612dcb57600080fd5b81357fffffffffffffffffffffffffffffffff00000000000000000000000000000000811681146121f557600080fd5b600060208284031215612e0d57600080fd5b813580600a0b81146121f557600080fd5b600060208284031215612e3057600080fd5b813567ffffffffffffffff811681146121f557600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114612e6a57600080fd5b50565b600060208284031215612e7f57600080fd5b81356121f581612e48565b600060208284031215612e9c57600080fd5b81357fffffffffffffffffffffffff0000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ede57600080fd5b813564ffffffffff19811681146121f557600080fd5b600060208284031215612f0657600080fd5b81358060070b81146121f557600080fd5b600060208284031215612f2957600080fd5b813570ffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f5c57600080fd5b81357cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f9b57600080fd5b813565ffffffffffff19811681146121f557600080fd5b600060208284031215612fc457600080fd5b81357fffffffffff000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561300657600080fd5b813565ffffffffffff811681146121f557600080fd5b60006020828403121561302e57600080fd5b81358060040b81146121f557600080fd5b60006020828403121561305157600080fd5b81356bffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561307f57600080fd5b81358060000b81146121f557600080fd5b6000602082840312156130a257600080fd5b813568ffffffffffffffffff811681146121f557600080fd5b6000602082840312156130cd57600080fd5b813580601c0b81146121f557600080fd5b6000602082840312156130f057600080fd5b5035919050565b60006020828403121561310957600080fd5b81358060010b81146121f557600080fd5b60006020828403121561312c57600080fd5b81357fffffffffffffffffffffffffffffff0000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561316e57600080fd5b813566ffffffffffffff811681146121f557600080fd5b60006020828403121561319757600080fd5b813568ffffffffffffffffff19811681146121f557600080fd5b6000602082840312156131c357600080fd5b813580601d0b81146121f557600080fd5b6000602082840312156131e657600080fd5b81358060130b81146121f557600080fd5b60006020828403121561320957600080fd5b81356fffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561323b57600080fd5b81358060050b81146121f557600080fd5b60006020828403121561325e57600080fd5b813580151581146121f557600080fd5b60006020828403121561328057600080fd5b81357fffffffffffffffffffffffffff00000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156132c257600080fd5b813569ffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156132ef57600080fd5b81356cffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561331f57600080fd5b81358060120b81146121f557600080fd5b60006020828403121561334257600080fd5b813571ffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561337657600080fd5b81358060020b81146121f557600080fd5b60006020828403121561339957600080fd5b81357fffffffffffffffffffffff000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156133db57600080fd5b81358060060b81146121f557600080fd5b6000602082840312156133fe57600080fd5b81358060110b81146121f557600080fd5b60006020828403121561342157600080fd5b81357fff00000000000000000000000000000000000000000000000000000000000000811681146121f557600080fdfea2646970667358221220c03630ca6910d46ede5cae5ed1f6ae9571e1ccb99a0b3b83f560d5c9079c96db64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +}; +export default TypedContract; +//# sourceMappingURL=TypedContract.js.map \ No newline at end of file diff --git a/lib.esm/_tests/contracts/TypedContract.js.map b/lib.esm/_tests/contracts/TypedContract.js.map new file mode 100644 index 00000000..2ee01c4a --- /dev/null +++ b/lib.esm/_tests/contracts/TypedContract.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TypedContract.js","sourceRoot":"","sources":["../../../src.ts/_tests/contracts/TypedContract.ts"],"names":[],"mappings":"AAAA,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,mBAAmB;IAC9B,cAAc,EAAE,eAAe;IAC/B,YAAY,EAAE,yBAAyB;IACvC,KAAK,EAAE;QACL;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,iBAAiB,EAAE,MAAM;YACzB,MAAM,EAAE,UAAU;SACnB;QACD;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,SAAS;oBACzB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,SAAS;iBAClB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,iBAAiB,EAAE,MAAM;YACzB,MAAM,EAAE,UAAU;SACnB;QACD;YACE,QAAQ,EAAE;gBACR;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE;gBACT;oBACE,cAAc,EAAE,QAAQ;oBACxB,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,iBAAiB,EAAE,MAAM;YACzB,MAAM,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iBACjB;aACF;YACD,iBAAiB,EAAE,MAAM;YACzB,MAAM,EAAE,UAAU;SACnB;KACF;IACD,UAAU,EAAE,k50BAAk50B;IAC950B,kBAAkB,EAAE,k10BAAk10B;IACt20B,gBAAgB,EAAE,EAAE;IACpB,wBAAwB,EAAE,EAAE;CAC7B,CAAA;AAKD,eAAe,aAAa,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/create-provider.d.ts.map b/lib.esm/_tests/create-provider.d.ts.map index 67034659..3e7a7376 100644 --- a/lib.esm/_tests/create-provider.d.ts.map +++ b/lib.esm/_tests/create-provider.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"create-provider.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA4BpD,wBAAgB,cAAc,IAAI,IAAI,CAKrC;AAED,eAAO,MAAM,aAAa,mBAAuD,CAAC;AAQlF,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAInE;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,CAgBtF;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGxE;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAIzD"} \ No newline at end of file +{"version":3,"file":"create-provider.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAyBpD,wBAAgB,cAAc,IAAI,IAAI,CAKrC;AAED,eAAO,MAAM,aAAa,mBAAuD,CAAC;AAQlF,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAInE;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,CAetF;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGxE;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAIzD"} \ No newline at end of file diff --git a/lib.esm/_tests/create-provider.js b/lib.esm/_tests/create-provider.js index 43fb8f18..b93fd7b9 100644 --- a/lib.esm/_tests/create-provider.js +++ b/lib.esm/_tests/create-provider.js @@ -1,22 +1,14 @@ -import { FallbackProvider, isError, } from "../index.js"; +import { isError, JsonRpcProvider, } from "../index.js"; +import dotenv from "dotenv"; +dotenv.config(); ; -const ethNetworks = ["default", "mainnet"]; +const quaiNetworks = ["colosseum"]; const ProviderCreators = [ { - name: "FallbackProvider", - networks: ethNetworks, + name: "JsonRpcProvider", + networks: quaiNetworks, create: function (network) { - const providers = []; - for (const providerName of ["JsonRpcProvider"]) { - const provider = getProvider(providerName, network); - if (provider) { - providers.push(provider); - } - } - if (providers.length === 0) { - throw new Error("UNSUPPORTED NETWORK"); - } - return new FallbackProvider(providers); + return new JsonRpcProvider(process.env.RPC_URL, network); } }, ]; @@ -49,7 +41,6 @@ export function getProvider(provider, network) { if (setup == false) { throw new Error("MUST CALL setupProviders in root context"); } - console.log(`getProvider: ${provider}.${network}`); const creator = getCreator(provider); try { if (creator) { @@ -72,7 +63,7 @@ export function checkProvider(provider, network) { return (creator != null); } export function connect(network) { - const provider = getProvider("InfuraProvider", network); + const provider = getProvider("JsonRpcProvider", network); if (provider == null) { throw new Error(`could not connect to ${network}`); } diff --git a/lib.esm/_tests/create-provider.js.map b/lib.esm/_tests/create-provider.js.map index 128a3689..9c56620d 100644 --- a/lib.esm/_tests/create-provider.js.map +++ b/lib.esm/_tests/create-provider.js.map @@ -1 +1 @@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AAU,CAAC,QAAQ,CAAC,CAAC;IACrC,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,OAAe;IACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAyB,OAAQ,EAAE,CAAC,CAAC;KAAE;IAC/E,OAAO,QAAQ,CAAC;AACpB,CAAC"} \ No newline at end of file +{"version":3,"file":"create-provider.js","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,EACP,eAAe,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,EAAE,CAAC;AAMf,CAAC;AAEF,MAAM,YAAY,GAAG,CAAE,WAAW,CAAE,CAAC;AAErC,MAAM,gBAAgB,GAA2B;IAC7C;QACI,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC7D,CAAC;KACJ;CACJ,CAAC;AAGF,IAAI,KAAK,GAAG,KAAK,CAAC;AAClB,MAAM,OAAO,GAAsB,EAAG,CAAC;AACvC,MAAM,UAAU,cAAc;IAC1B,KAAK,CAAC;QACF,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;YAAE,IAAI,EAAE,CAAC;SAAE;IAC3C,CAAC,CAAC,CAAC;IACH,KAAK,GAAG,IAAI,CAAC;AACjB,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CA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O,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACrC,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,OAAe;IACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACzD,IAAI,QAAQ,IAAI,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAyB,OAAQ,EAAE,CAAC,CAAC;KAAE;IAC/E,OAAO,QAAQ,CAAC;AACpB,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-contract-integ.js b/lib.esm/_tests/test-contract-integ.js index f9fab9e3..d829da62 100644 --- a/lib.esm/_tests/test-contract-integ.js +++ b/lib.esm/_tests/test-contract-integ.js @@ -1,75 +1,84 @@ import assert from "assert"; import { quais } from "../index.js"; +import dotenv from "dotenv"; +import QRC20 from "./contracts/QRC20.js"; +import { stall } from "./utils.js"; +dotenv.config(); describe("Tests contract integration", function () { - const provider = new quais.JsonRpcProvider("http:/\/127.0.0.1:8545"); - const abi = [ - "constructor(address owner, uint maxSupply)", - "function mint(address target) returns (bool minted)", - "function totalSupply() view returns (uint supply)", - "function balanceOf(address target) view returns (uint balance)", - "event Minted(address target)" - ]; - let address = null; - it("deploys a contract", async function () { - this.timeout(10000); - const bytecode = "0x60c060405234801561001057600080fd5b506040516105863803806105868339818101604052810190610032919061010e565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508060a08181525050505061014e565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a58261007a565b9050919050565b6100b58161009a565b81146100c057600080fd5b50565b6000815190506100d2816100ac565b92915050565b6000819050919050565b6100eb816100d8565b81146100f657600080fd5b50565b600081519050610108816100e2565b92915050565b6000806040838503121561012557610124610075565b5b6000610133858286016100c3565b9250506020610144858286016100f9565b9150509250929050565b60805160a051610414610172600039600060fa0152600061021f01526104146000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806318160ddd146100515780636a6278421461006f57806370a082311461009f5780638da5cb5b146100cf575b600080fd5b6100596100ed565b604051610066919061025c565b60405180910390f35b610089600480360381019061008491906102da565b6100f6565b6040516100969190610322565b60405180910390f35b6100b960048036038101906100b491906102da565b6101d2565b6040516100c6919061025c565b60405180910390f35b6100d761021b565b6040516100e4919061034c565b60405180910390f35b60008054905090565b60007f00000000000000000000000000000000000000000000000000000000000000006000541061012657600080fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061017690610396565b919050555060008081548092919061018d90610396565b91905055507f90ddedd5a25821bba11fbb98de02ec1f75c1be90ae147d6450ce873e7b78b5d8826040516101c1919061034c565b60405180910390a160019050919050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000819050919050565b61025681610243565b82525050565b6000602082019050610271600083018461024d565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102a78261027c565b9050919050565b6102b78161029c565b81146102c257600080fd5b50565b6000813590506102d4816102ae565b92915050565b6000602082840312156102f0576102ef610277565b5b60006102fe848285016102c5565b91505092915050565b60008115159050919050565b61031c81610307565b82525050565b60006020820190506103376000830184610313565b92915050565b6103468161029c565b82525050565b6000602082019050610361600083018461033d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006103a182610243565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036103d3576103d2610367565b5b60018201905091905056fea26469706673582212200a979ea2bfdf429b5546fa25906c9d20a3d67ef5fbe531f31d2cc83533e3239564736f6c63430008120033"; - const signer = await provider.getSigner(0); - const factory = new quais.ContractFactory(abi, bytecode, signer); - const contract = await factory.deploy(signer, 100); + const provider = new quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const abi = QRC20.abi; + const bytecode = QRC20.bytecode; + const constructorArgs = { + name: 'Testing', + symbol: 'Test', + totalSupply: Math.pow(10, 3), + }; + let contract; + let address; + before(async function () { + this.timeout(100000); + const factory = new quais.ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy(constructorArgs.name, constructorArgs.symbol, constructorArgs.totalSupply, { + gasLimit: 5000000 + }); address = await contract.getAddress(); - await contract.waitForDeployment(); - const deployed = await provider.getCode(address); - assert.ok(deployed != "0x", "has bytescode"); + console.log('Contract deployed to:', address); + let tries = 0; + const POLLING_TRIES = 10; // define POLLING_TRIES if not defined elsewhere + let deployed = false; + let code = await provider.getCode(address); + while (tries < POLLING_TRIES && !deployed) { + code = await provider.getCode(address); + if (code != "0x") { + deployed = true; + } + tries += 1; + await stall(10000); // Ensure stall is defined or use a different delay mechanism + } + if (!deployed) { + throw new Error("Contract deployment failed"); + } + }); + it("confirms the contract deployment", function () { + assert.ok(address, "Contract address should be available"); + assert.ok(contract, "Contract instance should be available"); }); it("runs contract operations", async function () { - this.timeout(10000); + this.timeout(100000); assert.ok(address != null); - const signer = await provider.getSigner(0); const CustomContract = quais.BaseContract.buildClass(abi); - const contract = new CustomContract(address, signer); //quais.Contract.from(address, abi, signer); + const contract = new CustomContract(address, wallet); //quais.Contract.from(address, abi, signer); // Test implicit staticCall (i.e. view/pure) { const supply0 = await contract.totalSupply(); - assert.equal(supply0, BigInt(0), "initial supply 0; default"); + assert.equal(supply0, BigInt(1000), "initial supply 0; default"); } // Test explicit staticCall { const supply0 = await contract.totalSupply.staticCall(); - assert.equal(supply0, BigInt(0), "initial supply 0; staticCall"); + assert.equal(supply0, BigInt(1000), "initial supply 0; staticCall"); } // Test staticCallResult (positional and named) { const supply0 = await contract.totalSupply.staticCallResult(); - assert.equal(supply0[0], BigInt(0), "initial supply 0; staticCallResult"); - assert.equal(supply0.supply, BigInt(0), "initial supply 0; staticCallResult"); + assert.equal(supply0[0], BigInt(1000), "initial supply 0; staticCallResult"); } - // Test populateTransaction - const txInfo = await contract.mint.populateTransaction(signer); - assert.equal(txInfo.to, address, "populateTransaction.to"); - const txInfoData = quais.hexlify(quais.concat([ - "0x6a627842", - quais.zeroPadValue(await signer.getAddress(), 32) - ])); - assert.equal(txInfo.data, txInfoData, "populateTransaction.data"); - // Test minting (default) - const tx = await contract.mint(signer); - const receipt = await tx.wait(); - assert.ok(receipt, "receipt"); + const reciever = '0x0aff86a125b29b25a9e418c2fb64f1753532c0ca'; + // Test transfer (default) + const tx = await contract.transfer(reciever, BigInt(1)); + await stall(60000); + const receipt = await provider.getTransactionReceipt(tx.hash); + await stall(10000); + assert.ok(receipt, "receipt not null"); + const contractAddr = await contract.getAddress(); // Check the receipt has parsed the events assert.equal(receipt.logs.length, 1, "logs.length"); - assert.ok(receipt instanceof quais.ContractTransactionReceipt, "receipt typeof"); - assert.ok(receipt.logs[0] instanceof quais.EventLog, "receipt.log typeof"); - assert.equal(receipt.logs[0].fragment && receipt.logs[0].fragment.name, "Minted", "logs[0].fragment.name"); - assert.equal(receipt.logs[0].args[0], await signer.getAddress(), "logs[0].args[0]"); - assert.equal(receipt.logs[0].args.target, await signer.getAddress(), "logs[0].args.target"); - // Check the state has been adjusted - assert.equal(await contract.totalSupply(), BigInt(1), "initial supply 1; default"); - assert.equal(await contract.balanceOf(signer), BigInt(1), "balanceOf(signer)"); - // Test minting (explicit) - const tx2 = await contract.mint.send(signer); - await tx2.wait(); + assert.ok(receipt instanceof quais.TransactionReceipt, "receipt typeof"); + assert.ok(receipt.logs[0] instanceof quais.Log, "receipt.log typeof"); + assert.equal(receipt.logs[0].address, contractAddr, "Proper target address"); // Check the state has been adjusted - assert.equal(await contract.totalSupply(), BigInt(2), "initial supply 2; default"); + assert.equal(await contract.balanceOf(reciever), BigInt(1), "balanceOf(signer)"); }); }); //# sourceMappingURL=test-contract-integ.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-contract-integ.js.map b/lib.esm/_tests/test-contract-integ.js.map index b96dc85f..82086627 100644 --- a/lib.esm/_tests/test-contract-integ.js.map +++ b/lib.esm/_tests/test-contract-integ.js.map @@ -1 +1 @@ -{"version":3,"file":"test-contract-integ.js","sourceRoot":"","sources":["../../src.ts/_tests/test-contract-integ.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAQpC,QAAQ,CAAC,4BAA4B,EAAE;IACnC,MAAM,QAAQ,GAAG,IAAI,KAAK,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC;IAErE,MAAM,GAAG,GAAG;QACR,4CAA4C;QAC5C,qDAAqD;QACrD,mDAAmD;QACnD,gEAAgE;QAChE,8BAA8B;KACjC,CAAC;IAEF,IAAI,OAAO,GAAkB,IAAI,CAAC;IAElC,EAAE,CAAC,oBAAoB,EAAE,KAAK;QAC1B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEpB,MAAM,QAAQ,GAAG,gxFAAgxF,CAAC;QAClyF,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QAE3C,MAAM,OAAO,GAAG,IAAI,KAAK,CAAC,eAAe,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAEjE,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACnD,OAAO,GAAG,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC;QAEtC,MAAM,QAAQ,CAAC,iBAAiB,EAAE,CAAC;QAEnC,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,MAAM,CAAC,EAAE,CAAC,QAAQ,IAAI,IAAI,EAAE,eAAe,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;IAEH,EAAE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.esm/_tests/test-contract.js @@ -1,147 +1,138 @@ import assert from "assert"; import { getProvider, setupProviders } from "./create-provider.js"; -import { Contract, EventLog, isError, Typed, Wallet } from "../index.js"; +import { Contract, ContractFactory, isError, Typed, } from "../index.js"; +import TestContract from "./contracts/TestContract.js"; +import TypedContract from "./contracts/TypedContract.js"; +import { quais } from "../index.js"; +import { stall } from "./utils.js"; setupProviders(); describe("Test Contract", function () { - const addr = "0x99417252Aad7B065940eBdF50d665Fb8879c5958"; - const abi = [ - "error CustomError1(uint256 code, string message)", - "event EventUint256(uint256 indexed value)", - "event EventAddress(address indexed value)", - "event EventString(string value)", - "event EventBytes(bytes value)", - "function testCustomError1(bool pass, uint code, string calldata message) pure returns (uint256)", - "function testErrorString(bool pass, string calldata message) pure returns (uint256)", - "function testPanic(uint256 code) returns (uint256)", - "function testEvent(uint256 valueUint256, address valueAddress, string valueString, bytes valueBytes) public", - "function testCallAdd(uint256 a, uint256 b) pure returns (uint256 result)", - ]; + const provider = new quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const abi = TestContract.abi; + const bytecode = TestContract.bytecode; + let contract; + let addr; + before(async function () { + this.timeout(60000); + await stall(10000); + const factory = new ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy({ gasLimit: 5000000, maxFeePerGas: quais.parseUnits('10', 'gwei'), maxPriorityFeePerGas: quais.parseUnits('3', 'gwei') }); + addr = await contract.getAddress(); + console.log("Contract deployed to: ", addr); + await stall(30000); + }); it("tests contract calls", async function () { this.timeout(10000); - const provider = getProvider("InfuraProvider", "goerli"); - const contract = new Contract(addr, abi, provider); assert.equal(await contract.testCallAdd(4, 5), BigInt(9), "testCallAdd(4, 5)"); assert.equal(await contract.testCallAdd(6, 0), BigInt(6), "testCallAdd(6, 0)"); }); - it("tests events", async function () { - this.timeout(60000); - const provider = getProvider("InfuraProvider", "goerli"); - assert.ok(provider); - const contract = new Contract(addr, abi, provider); - const signer = new Wallet((process.env.FAUCET_PRIVATEKEY), provider); - const contractSigner = contract.connect(signer); - const vUint256 = 42; - const vAddrName = "quais.eth"; - const vAddr = "0x228568EA92aC5Bc281c1E30b1893735c60a139F1"; - const vString = "Hello"; - const vBytes = "0x12345678"; - let hash = null; - // Test running a listener for a specific event - const specificEvent = new Promise((resolve, reject) => { - contract.on("EventUint256", async (value, event) => { - // Triggered by someone else - if (hash == null || hash !== event.log.transactionHash) { - return; - } - try { - assert.equal(event.filter, "EventUint256", "event.filter"); - assert.equal(event.fragment.name, "EventUint256", "event.fragment.name"); - assert.equal(event.log.address, addr, "event.log.address"); - assert.equal(event.args.length, 1, "event.args.length"); - assert.equal(event.args[0], BigInt(42), "event.args[0]"); - const count = await contract.listenerCount("EventUint256"); - await event.removeListener(); - assert.equal(await contract.listenerCount("EventUint256"), count - 1, "decrement event count"); - resolve(null); - } - catch (e) { - event.removeListener(); - reject(e); - } - }); - }); - // Test running a listener on all (i.e. "*") events - const allEvents = new Promise((resolve, reject) => { - const waitingFor = { - EventUint256: vUint256, - EventAddress: vAddr, - EventString: vString, - EventBytes: vBytes - }; - contract.on("*", (event) => { - // Triggered by someone else - if (hash == null || hash !== event.log.transactionHash) { - return; - } - try { - const name = event.eventName; - assert.equal(event.args[0], waitingFor[name], `${name}`); - delete waitingFor[name]; - if (Object.keys(waitingFor).length === 0) { - event.removeListener(); - resolve(null); - } - } - catch (error) { - reject(error); - } - }); - }); - // Send a transaction to trigger some events - const tx = await contractSigner.testEvent(vUint256, vAddr, vString, vBytes); - hash = tx.hash; - const checkEvent = (filter, event) => { - const values = { - EventUint256: vUint256, - EventString: vString, - EventAddress: vAddr, - EventBytes: vBytes - }; - assert.ok(event instanceof EventLog, `queryFilter(${filter}):isEventLog`); - const name = event.eventName; - assert.equal(event.address, addr, `queryFilter(${filter}):address`); - assert.equal(event.args[0], values[name], `queryFilter(${filter}):args[0]`); - }; - const checkEventFilter = async (filter) => { - const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); - assert.equal(events.length, 1, `queryFilter(${filter}).length`); - checkEvent(filter, events[0]); - return events[0]; - }; - const receipt = await tx.wait(); - // Check the logs in the receipt - for (const log of receipt.logs) { - checkEvent("receipt", log); - } - // Various options for queryFilter - await checkEventFilter("EventUint256"); - await checkEventFilter(["EventUint256"]); - await checkEventFilter([["EventUint256"]]); - await checkEventFilter("EventUint256(uint)"); - await checkEventFilter(["EventUint256(uint)"]); - await checkEventFilter([["EventUint256(uint)"]]); - await checkEventFilter([["EventUint256", "EventUint256(uint)"]]); - await checkEventFilter("0x85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea337"); - // Query by Event - await checkEventFilter(contract.filters.EventUint256); - // Query by Deferred Topic Filter; address - await checkEventFilter(contract.filters.EventUint256(vUint256)); - // Query by Deferred Topic Filter; address - await checkEventFilter(contract.filters.EventAddress(vAddr)); - // Query by Deferred Topic Filter; ENS name => address - await checkEventFilter(contract.filters.EventAddress(vAddrName)); - // Multiple Methods - { - const filter = [["EventUint256", "EventString"]]; - const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); - assert.equal(events.length, 2, `queryFilter(${filter}).length`); - for (const event of events) { - checkEvent(filter, event); - } - } - await specificEvent; - await allEvents; - }); + //Awaiting Quai subscrigbe functionality + // it("tests events", async function() { + // this.timeout(60000); + // assert.ok(provider) + // const vUint256 = 42; + // const vAddrName = "quais.eth"; + // const vAddr = "0x228568EA92aC5Bc281c1E30b1893735c60a139F1"; + // const vString = "Hello"; + // const vBytes = "0x12345678"; + // let hash: null | string = null; + // // Test running a listener for a specific event + // const specificEvent = new Promise((resolve, reject) => { + // contract.on("EventUint256", async (value, event) => { + // // Triggered by someone else + // if (hash == null || hash !== event.log.transactionHash) { return; } + // try { + // assert.equal(event.filter, "EventUint256", "event.filter"); + // assert.equal(event.fragment.name, "EventUint256", "event.fragment.name"); + // assert.equal(event.log.address, addr, "event.log.address"); + // assert.equal(event.args.length, 1, "event.args.length"); + // assert.equal(event.args[0], BigInt(42), "event.args[0]"); + // const count = await contract.listenerCount("EventUint256"); + // await event.removeListener(); + // assert.equal(await contract.listenerCount("EventUint256"), count - 1, "decrement event count"); + // resolve(null); + // } catch (e) { + // event.removeListener(); + // reject(e); + // } + // }); + // }); + // // Test running a listener on all (i.e. "*") events + // const allEvents = new Promise((resolve, reject) => { + // const waitingFor: Record = { + // EventUint256: vUint256, + // EventAddress: vAddr, + // EventString: vString, + // EventBytes: vBytes + // }; + // contract.on("*", (event: ContractEventPayload) => { + // // Triggered by someone else + // if (hash == null || hash !== event.log.transactionHash) { return; } + // try { + // const name = event.eventName; + // assert.equal(event.args[0], waitingFor[name], `${ name }`); + // delete waitingFor[name]; + // if (Object.keys(waitingFor).length === 0) { + // event.removeListener(); + // resolve(null); + // } + // } catch (error) { + // reject(error); + // } + // }); + // }); + // // Send a transaction to trigger some events + // const tx = await contractSigner.testEvent(vUint256, vAddr, vString, vBytes); + // hash = tx.hash; + // const checkEvent = (filter: ContractEventName, event: EventLog | Log) => { + // const values: Record = { + // EventUint256: vUint256, + // EventString: vString, + // EventAddress: vAddr, + // EventBytes: vBytes + // }; + // assert.ok(event instanceof EventLog, `queryFilter(${ filter }):isEventLog`); + // const name = event.eventName; + // assert.equal(event.address, addr, `queryFilter(${ filter }):address`); + // assert.equal(event.args[0], values[name], `queryFilter(${ filter }):args[0]`); + // }; + // const checkEventFilter = async (filter: ContractEventName) => { + // const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); + // assert.equal(events.length, 1, `queryFilter(${ filter }).length`); + // checkEvent(filter, events[0]); + // return events[0]; + // }; + // const receipt = await tx.wait(); + // // Check the logs in the receipt + // for (const log of receipt.logs) { checkEvent("receipt", log); } + // // Various options for queryFilter + // await checkEventFilter("EventUint256"); + // await checkEventFilter([ "EventUint256" ]); + // await checkEventFilter([ [ "EventUint256" ] ]); + // await checkEventFilter("EventUint256(uint)"); + // await checkEventFilter([ "EventUint256(uint)" ]); + // await checkEventFilter([ [ "EventUint256(uint)" ] ]); + // await checkEventFilter([ [ "EventUint256", "EventUint256(uint)" ] ]); + // await checkEventFilter("0x85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea337"); + // // Query by Event + // await checkEventFilter(contract.filters.EventUint256); + // // Query by Deferred Topic Filter; address + // await checkEventFilter(contract.filters.EventUint256(vUint256)); + // // Query by Deferred Topic Filter; address + // await checkEventFilter(contract.filters.EventAddress(vAddr)); + // // Query by Deferred Topic Filter; ENS name => address + // await checkEventFilter(contract.filters.EventAddress(vAddrName)); + // // Multiple Methods + // { + // const filter = [ [ "EventUint256", "EventString" ] ]; + // const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); + // assert.equal(events.length, 2, `queryFilter(${ filter }).length`); + // for (const event of events) { checkEvent(filter, event); } + // } + // await specificEvent; + // await allEvents; + // }); it("tests the _in_ operator for functions", function () { const contract = new Contract(addr, abi); assert.equal("testCallAdd" in contract, true, "has(testCallAdd)"); @@ -202,19 +193,20 @@ describe("Test Typed Contract Interaction", function () { valueFunc: (type) => { return "someString"; } } ]; - const abi = []; - for (let i = 1; i <= 32; i++) { - abi.push(`function testTyped(uint${i * 8}) public pure returns (string memory)`); - abi.push(`function testTyped(int${i * 8}) public pure returns (string memory)`); - abi.push(`function testTyped(bytes${i}) public pure returns (string memory)`); - } - abi.push(`function testTyped(address) public pure returns (string memory)`); - abi.push(`function testTyped(bool) public pure returns (string memory)`); - abi.push(`function testTyped(bytes memory) public pure returns (string memory)`); - abi.push(`function testTyped(string memory) public pure returns (string memory)`); - const addr = "0x838f41545DA5e18AA0e1ab391085d22E172B7B02"; - const provider = getProvider("InfuraProvider", "goerli"); - const contract = new Contract(addr, abi, provider); + const abi = TypedContract.abi; + const provider = new quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const bytecode = TypedContract.bytecode; + let contract; + let addr; + before(async function () { + this.timeout(120000); + const factory = new ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy({ gasLimit: 5000000, maxFeePerGas: quais.parseUnits('10', 'gwei'), maxPriorityFeePerGas: quais.parseUnits('3', 'gwei'), }); + addr = await contract.getAddress(); + console.log("Contract deployed to: ", addr); + await stall(50000); + }); for (const { types, valueFunc } of tests) { for (const type of types) { const value = valueFunc(type); diff --git a/lib.esm/_tests/test-contract.js.map b/lib.esm/_tests/test-contract.js.map index 35b6365f..a1940dce 100644 --- a/lib.esm/_tests/test-contract.js.map +++ b/lib.esm/_tests/test-contract.js.map @@ -1 +1 @@ -{"version":3,"file":"test-contract.js","sourceRoot":"","sources":["../../src.ts/_tests/test-contract.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EACH,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAC7C,MAAM,aAAa,CAAC;AAGrB,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,eAAe,EAAE;IACtB,MAAM,IAAI,GAAG,4CAA4C,CAAC;IAC1D,MAAM,GAAG,GAAG;QACR,kDAAkD;QAElD,2CAA2C;QAC3C,2CAA2C;QAC3C,iCAAiC;QACjC,+BAA+B;QAE/B,iGAAiG;QACjG,qFAAqF;QACrF,oDAAoD;QACpD,6GAA6G;QAC7G,0EAA0E;KAC7E,CAAC;IAEF,EAAE,CAAC,sBAAsB,EAAE,KAAK;QAC5B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEpB,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;QAEnD,MAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CA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C7B,OAAO,MAAM,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAA;gBAC1D,CAAC,CAAC;gBAEF,IAAI,MAAM,IAAI,IAAI,EAAE;oBAChB,MAAM,IAAI,EAAE,CAAC;oBACb,8BAA8B;oBAC9B,0CAA0C;oBAC1C,sBAAsB;oBACtB,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;iBACnB;qBAAM;oBACH,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,UAAS,KAAU;wBAC1C,IAAI,KAAK,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,EAAE;4BAAE,OAAO,IAAI,CAAC;yBAAE;wBAClD,IAAI,OAAO,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE;4BACpC,OAAO,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC;yBACxC;wBACD,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;wBACzB,OAAO,IAAI,CAAC;oBAChB,CAAC,CAAC,CAAC;iBACN;YACL,CAAC,CAAC,CAAC;SACN;KACJ;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-hash.js b/lib.esm/_tests/test-hash.js index 22590112..4b5e8d5c 100644 --- a/lib.esm/_tests/test-hash.js +++ b/lib.esm/_tests/test-hash.js @@ -127,17 +127,17 @@ describe("Test EIP-191 Personal Message Hash", function () { { test: "hello-world", message: "Hello World", - hash: "0xa1de988600a42c4b4ab089b619297c17d53cffae5d5120d82d8a92d0bb3b78f2" + hash: "0xca6464b285e602e01f3261caa151da2bd35fe19cb3532f7acd0d594ca0d810c5" }, { test: "binary-message", message: new Uint8Array([0x42, 0x43]), - hash: "0x0d3abc18ec299cf9b42ba439ac6f7e3e6ec9f5c048943704e30fc2d9c7981438" + hash: "0xd2ca8706bdbb1255b510b6acf42339faabf95bb8192cc7c562a6019ad8463c60" }, { test: "hex-looking-string", message: "0x4243", - hash: "0x6d91b221f765224b256762dcba32d62209cf78e9bebb0a1b758ca26c76db3af4" + hash: "0xcfe58e0f243f48080feeeb86f9b27e35f65955d3b39a644478c376b2733d9804" } ]; for (const test of tests) { diff --git a/lib.esm/_tests/test-provider-jsonrpc.js b/lib.esm/_tests/test-provider-jsonrpc.js index 42c8213c..e0a10d70 100644 --- a/lib.esm/_tests/test-provider-jsonrpc.js +++ b/lib.esm/_tests/test-provider-jsonrpc.js @@ -16,13 +16,13 @@ function createProvider(testFunc) { let result = testFunc(req.method, req.params, blockNumber); if (result === undefined) { switch (req.method) { - case "eth_blockNumber": + case "quai_blockNumber": result = blockNumber; break; - case "eth_chainId": + case "quai_chainId": result = "0x1337"; break; - case "eth_accounts": + case "quai_accounts": result = [wallet.address]; break; default: @@ -75,9 +75,9 @@ describe("Ensure Catchable Errors", function () { let count = 0; const provider = createProvider((method, params, blockNumber) => { switch (method) { - case "eth_sendTransaction": + case "quai_sendTransaction": return txObj.hash; - case "eth_getTransactionByHash": { + case "quai_getTransactionByHash": { count++; // First time; fail! if (count === 1) { @@ -122,9 +122,9 @@ describe("Ensure Catchable Errors", function () { // in getTransaction const provider = createProvider((method, params, blockNumber) => { switch (method) { - case "eth_sendTransaction": + case "quai_sendTransaction": return txObj.hash; - case "eth_getTransactionByHash": { + case "quai_getTransactionByHash": { count++; // The fully valid tx response const result = Object.assign({}, txObj.toJSON(), txObj.signature.toJSON(), { hash: txObj.hash, from: wallet.address, sig: null }); diff --git a/lib.esm/_tests/test-provider-jsonrpc.js.map b/lib.esm/_tests/test-provider-jsonrpc.js.map index c3e433ff..3dbd7a29 100644 --- a/lib.esm/_tests/test-provider-jsonrpc.js.map +++ b/lib.esm/_tests/test-provider-jsonrpc.js.map @@ -1 +1 @@ -{"version":3,"file":"test-provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/_tests/test-provider-jsonrpc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5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AAM,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;oBAE3D,qCAAqC;oBACrC,IAAI,KAAK,GAAG,CAAC,EAAE;wBAAE,OAAO,MAAM,CAAC,CAAC,CAAC;qBAAE;oBAEnC,QAAQ;oBACR,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC;oBAEtB,OAAO,MAAM,CAAC;iBACjB;aACJ;YAED,OAAO,SAAS,CAAC;QACrB,CAAC,CAAC,CAAC;QAEH,8BAA8B;QAC9B,IAAI,QAAQ,GAAiB,IAAI,CAAC;QAClC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACvB,IAAI,OAAO,CAAC,CAAC,EAAE,eAAe,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE;gBACrE,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,KAAK,WAAW,IAAI,CAAC,CAAC,KAAK,CAAC,YAAY,KAAK,WAAW,EAAE;oBAC1E,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC;iBACtB;aACJ;QACL,CAAC,CAAC,CAAC;QAEH,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,SAAS,EAAE,CAAC;QAE1C,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAChD,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,sBAAsB,CAAC,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,yBAAyB,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-avatar.d.ts b/lib.esm/_tests/test-providers-avatar.d.ts deleted file mode 100644 index 437efc50..00000000 --- a/lib.esm/_tests/test-providers-avatar.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=test-providers-avatar.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-avatar.d.ts.map b/lib.esm/_tests/test-providers-avatar.d.ts.map deleted file mode 100644 index a6b72dd5..00000000 --- a/lib.esm/_tests/test-providers-avatar.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-avatar.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-avatar.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-avatar.js b/lib.esm/_tests/test-providers-avatar.js deleted file mode 100644 index d5c1eacd..00000000 --- a/lib.esm/_tests/test-providers-avatar.js +++ /dev/null @@ -1,32 +0,0 @@ -import assert from "assert"; -import { connect, setupProviders } from "./create-provider.js"; -setupProviders(); -describe("Resolve ENS avatar", function () { - [ - { title: "data", name: "data-avatar.tests.quais.eth", value: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAMAAACeL25MAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUQ4NTEyNUIyOEIwMTFFQzg0NTBDNTU2RDk1NTA5NzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUQ4NTEyNUMyOEIwMTFFQzg0NTBDNTU2RDk1NTA5NzgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1RDg1MTI1OTI4QjAxMUVDODQ1MEM1NTZEOTU1MDk3OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1RDg1MTI1QTI4QjAxMUVDODQ1MEM1NTZEOTU1MDk3OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkbM0uMAAAAGUExURQAA/wAAAHtivz4AAAAOSURBVHjaYmDABAABBgAAFAABaEkyYwAAAABJRU5ErkJggg==" }, - { title: "ipfs", name: "ipfs-avatar.tests.quais.eth", value: "https:/\/gateway.ipfs.io/ipfs/QmQsQgpda6JAYkFoeVcj5iPbwV3xRcvaiXv3bhp1VuYUqw" }, - { title: "url", name: "url-avatar.tests.quais.eth", value: "https:/\/quais.org/static/logo.png" }, - ].forEach((test) => { - it(`Resolves avatar for ${test.title}`, async function () { - this.timeout(60000); - const provider = connect("goerli"); - const avatar = await provider.getAvatar(test.name); - assert.equal(test.value, avatar, "avatar url"); - }); - }); - /* - // @TODO: Set up some examples on goerli - [ - { title: "ERC-1155", name: "nick.eth", value: "https:/\/lh3.googleusercontent.com/hKHZTZSTmcznonu8I6xcVZio1IF76fq0XmcxnvUykC-FGuVJ75UPdLDlKJsfgVXH9wOSmkyHw0C39VAYtsGyxT7WNybjQ6s3fM3macE" }, - // { title: "ERC-721", name: "brantly.eth", value: "https:/\/api.wrappedpunks.com/images/punks/2430.png" } - ].forEach((test) => { - it(`Resolves avatar for ${ test.title }`, async function() { - this.timeout(60000); - const provider = connect("mainnet"); - const avatar = await provider.getAvatar(test.name); - assert.equal(avatar, test.value, "avatar url"); - }); - }); - */ -}); -//# sourceMappingURL=test-providers-avatar.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-avatar.js.map b/lib.esm/_tests/test-providers-avatar.js.map deleted file mode 100644 index df3dcb71..00000000 --- a/lib.esm/_tests/test-providers-avatar.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-avatar.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-avatar.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE/D,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,oBAAoB,EAAE;IAC3B;QACI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,KAAK,EAAE,owCAAowC,EAAE;QACn0C,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,KAAK,EAAE,8EAA8E,EAAE;QAC7I,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,EAAE,KAAK,EAAE,oCAAoC,EAAE;KACpG,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACf,EAAE,CAAC,uBAAwB,IAAI,CAAC,KAAM,EAAE,EAAE,KAAK;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YACpB,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnC,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;QACnD,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IACP;;;;;;;;;;;;;MAaE;AACF,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-ccip.d.ts b/lib.esm/_tests/test-providers-ccip.d.ts deleted file mode 100644 index 7fb8212e..00000000 --- a/lib.esm/_tests/test-providers-ccip.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=test-providers-ccip.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-ccip.d.ts.map b/lib.esm/_tests/test-providers-ccip.d.ts.map deleted file mode 100644 index 50188a3f..00000000 --- a/lib.esm/_tests/test-providers-ccip.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-ccip.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-ccip.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-ccip.js b/lib.esm/_tests/test-providers-ccip.js deleted file mode 100644 index 78cd69ae..00000000 --- a/lib.esm/_tests/test-providers-ccip.js +++ /dev/null @@ -1,138 +0,0 @@ -import assert from "assert"; -import { concat, dataLength, keccak256, toBeArray, isCallException, isError } from "../index.js"; -import { connect, setupProviders } from "./create-provider.js"; -setupProviders(); -describe("Test CCIP execution", function () { - // This matches the verify method in the Solidity contract against the - // processed data from the endpoint - const verify = function (sender, data, result) { - const check = concat([ - toBeArray(dataLength(sender)), sender, - toBeArray(dataLength(data)), data - ]); - assert.equal(result, keccak256(check), "response is equal"); - }; - const address = "0x6C5ed35574a9b4d163f75bBf0595F7540D8FCc2d"; - const calldata = "0x1234"; - it("testGet passes under normal operation", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testGet(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - const result = await provider.call(tx); - verify(address, calldata, result); - }); - it("testGet should fail with CCIP not explicitly enabled by overrides", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testGet(bytes callData = "0x1234") - const tx = { - to: address, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const offchainErrorData = "0x556f18300000000000000000000000006c5ed35574a9b4d163f75bbf0595f7540d8fcc2d00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return (isCallException(error) && error.data === offchainErrorData); - }); - }); - it("testGet should fail with CCIP explicitly disabled on provider", async function () { - this.timeout(60000); - const provider = connect("goerli"); - provider.disableCcipRead = true; - // testGetFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const offchainErrorData = "0x556f18300000000000000000000000006c5ed35574a9b4d163f75bbf0595f7540d8fcc2d00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return (isCallException(error) && error.data === offchainErrorData); - }); - }); - it("testGetFail should fail if all URLs 5xx", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testGetFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x36f9cea6000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const infoJson = '{"urls":["https:/\/quais.ricmoo.workers.dev/status/500/{sender}/{data}"],"errorMessages":["hello world"]}'; - return (isError(error, "OFFCHAIN_FAULT") && error.reason === "500_SERVER_ERROR" && - JSON.stringify(error.info) === infoJson); - }); - }); - it("testGetSenderFail should fail if sender does not match", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testGetSenderFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x64bff6d1000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000", - }; - await assert.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const errorArgsJson = '["0x0000000000000000000000000000000000000000",["https://quais.ricmoo.workers.dev/test-ccip-read/{sender}/{data}"],"0x1234","0xb1494be1","0x4d792065787472612064617461"]'; - const offchainErrorData = "0x556f1830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return (isCallException(error) && error.data === offchainErrorData && - error.revert && - error.revert.signature === "OffchainLookup(address,string[],bytes,bytes4,bytes)" && - JSON.stringify(error.revert.args) === errorArgsJson); - }); - }); - it("testGetMissing should fail if early URL 4xx", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testGetMissing(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x4ece8d7d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - await assert.rejects(async function () { - const result = await provider.call(tx); - console.log(result); - }, (error) => { - const infoJson = '{"url":"https:/\/quais.ricmoo.workers.dev/status/404/{sender}/{data}","errorMessage":"hello world"}'; - return (isError(error, "OFFCHAIN_FAULT") && error.reason === "404_MISSING_RESOURCE" && - JSON.stringify(error.info || "") === infoJson); - }); - }); - it("testGetFallback passes if any URL returns correctly", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testGetFallback(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xedf4a021000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - const result = await provider.call(tx); - verify(address, calldata, result); - }); - it("testPost passes under normal operation", async function () { - this.timeout(60000); - const provider = connect("goerli"); - // testPost(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x66cab49d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - }; - const result = await provider.call(tx); - verify(address, calldata, result); - }); -}); -//# sourceMappingURL=test-providers-ccip.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-ccip.js.map b/lib.esm/_tests/test-providers-ccip.js.map deleted file mode 100644 index e087d4f6..00000000 --- a/lib.esm/_tests/test-providers-ccip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-ccip.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-ccip.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACH,MAAM,EAAE,UAAU,EAClB,SAAS,EACT,SAAS,EACT,eAAe,EAAE,OAAO,EAC3B,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE/D,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,qBAAqB,EAAE;IAE5B,sEAAsE;IACtE,mCAAmC;IACnC,MAAM,MAAM,GAAG,UAAS,MAAc,EAAE,IAAY,EAAE,MAAc;QAChE,MAAM,KAAK,GAAG,MAAM,CAAC;YACjB,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM;YACrC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI;SACpC,CAAC,CAAC;QACH,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,mBAAmB,CAAC,CAAC;IAChE,CAAC,CAAA;IAED,MAAM,OAAO,GAAG,4CAA4C,CAAC;IAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC;IAE1B,EAAE,CAAC,uCAAuC,EAAE,KAAK;QAC7C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEpB,MAAM,QAAQ,GAAG,OAAO,CA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bb906bbc..aa655cab 100644 --- a/lib.esm/_tests/test-providers-data.js +++ b/lib.esm/_tests/test-providers-data.js @@ -1,202 +1,322 @@ import assert from "assert"; -import { checkProvider, getProvider, setupProviders, providerNames } from "./create-provider.js"; -import { retryIt } from "./utils.js"; -import { networkFeatureAtBlock, networkNames, testAddress, testBlock, testReceipt, testTransaction } from "./blockchain-data.js"; -setupProviders(); -function forEach(prefix, tests, func) { - for (const networkName of networkNames) { - const networkTests = tests[networkName]; - if (networkTests == null) { - continue; - } - for (const test of networkTests) { - for (const providerName of providerNames) { - if (!checkProvider(providerName, networkName)) { - continue; - } - // Let the testcase skip this by returning null - const testFunc = func(providerName, test); - if (testFunc == null) { - continue; - } - // Prepare the testcase - retryIt(`${prefix}: ${providerName}:${networkName}.${test.test}`, async function () { - // Create a provider - const provider = getProvider(providerName, networkName); - try { - assert.ok(provider != null, "missing provider"); - await testFunc(provider); - } - catch (error) { - // Shutdown socket-based provider, otherwise its socket will prevent - // this process from exiting - if (provider.destroy) { - provider.destroy(); - } - throw error; - } - // Shutdown socket-based provider, otherwise its socket will prevent - // this process from exiting - if (provider.destroy) { - provider.destroy(); - } - }); - } +// import { +// checkProvider, getProvider, providerNames +// } from "./create-provider.js"; +// import { retryIt } from "./utils.js"; +//import type { Provider } from "../index.js"; +import { quais } from "../index.js"; +import axios from 'axios'; +import { stall } from "./utils.js"; +// import { +// networkFeatureAtBlock, networkNames, +// testAddress, testBlock, testReceipt, testTransaction +// } from "./blockchain-data.js"; +// import type { TestBlockchainNetwork } from "./blockchain-data.js"; +//setupProviders(); +const providerC1 = new quais.JsonRpcProvider(process.env.RPC_URL); +const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', providerC1); +const destinationC1 = '0x0aff86a125b29b25a9e418c2fb64f1753532c0ca'; +const destinationC2 = '0x261ee260b611a0e4c76c8f148cdf7cad65e0daf8'; +function equals(name, actual, expected) { + if (expected && expected.eq) { + if (actual == null) { + assert.ok(false, name + " - actual big number null"); } + expected = BigInt(expected); + actual = BigInt(actual); + assert.ok(expected.eq(actual), name + " matches"); } -} -describe("Test Provider Address operations", function () { - forEach("test getBalance(address)", testAddress, (providerName, test) => { - if (test.balance == null) { - return null; - } - return async (provider) => { - assert.equal(await provider.getBalance(test.address), test.balance); - }; - }); - forEach("test getCode(address)", testAddress, (providerName, test) => { - if (test.code == null) { - return null; + else if (Array.isArray(expected)) { + if (actual == null) { + assert.ok(false, name + " - actual array null"); } - return async (provider) => { - assert.equal(await provider.getCode(test.address), test.code); - }; - }); - /* - forEach("test lookupAddress(address)", testAddress, (provider, test) => { - if (test.name == null) { return null; } - return async () => { - assert.equal(await provider.lookupAddress(test.address), test.name); - }; - }); - - forEach("test resolveName(name)", testAddress, (provider, test) => { - if (test.name == null) { return null; } - return async () => { - assert.equal(await provider.lookupAddress((test.name)), test.address); - }; - }); - */ - forEach("test getStorage(address)", testAddress, (providerName, test) => { - if (test.storage == null) { - return null; + assert.equal(actual.length, expected.length, name + " array lengths match"); + for (let i = 0; i < expected.length; i++) { + equals("(" + name + " - item " + i + ")", actual[i], expected[i]); } - return async (provider) => { - for (const key in test.storage) { - assert.equal(await provider.getStorage(test.address, key), test.storage[key]); + } + else if (typeof (expected) === "object") { + if (actual == null) { + if (expected === actual) { + return; } - }; - }); - forEach("test getTransactionCount(address)", testAddress, (providerName, test) => { - if (test.balance == null) { - return null; - } - return async (provider) => { - assert.equal(await provider.getTransactionCount(test.address), test.nonce); - }; - }); -}); -function assertObj(prefix, actual, expected) { - assert.ok(actual != null, `${prefix} is null`); - for (const key in expected) { - if (expected[key] === undefined) { - continue; + assert.ok(false, name + " - actual object null"); } - assert.equal(actual[key], expected[key], `${prefix}.${key}`); + let keys = {}; + Object.keys(expected).forEach((key) => { keys[key] = true; }); + Object.keys(actual).forEach((key) => { keys[key] = true; }); + Object.keys(keys).forEach((key) => { + if (typeof actual[key] === "string" && actual[key].toLowerCase && key === "type") { + actual[key] = actual[key].toLowerCase(); + } + equals("(" + name + " - key + " + key + ")", actual[key], expected[key]); + }); } -} -function assertBlock(actual, expected) { - // Check transactions - for (let i = 0; i < expected.transactions.length; i++) { - const expectedTx = expected.transactions[i]; - if (typeof (expectedTx) === "string") { - assert.equal(actual.transactions[i], expectedTx, `block.transactions[${i}]`); + else { + if (actual == null) { + assert.ok(false, name + " - actual null"); + } + // Modify this part for case-insensitive comparison for string values + if (typeof actual === 'string' && typeof expected === 'string') { + assert.equal(actual.toLowerCase(), expected.toLowerCase(), name + " matches (case-insensitive)"); } else { - throw new Error("@TODO"); + assert.equal(actual, expected, name + " matches"); } } - // Remove the transactions and test keys - expected = Object.assign({}, expected, { transactions: undefined, test: undefined }); - // Check remaining keys - assertObj("block", actual, expected); } -function assertTransaction(actual, expected) { - // @TODO: Accesslist - // Check signature - assertObj("tx.signature", actual.signature, expected.signature); - // Remove the transactions and test keys - expected = Object.assign({}, expected, { - accessList: undefined, - signature: undefined, - test: undefined - }); - // Check remaining keys - assertObj("tx", actual, expected); +async function getRPCGasPrice(url) { + try { + let response; + do { + response = await axios.post(url || "http://localhost:8610", { + jsonrpc: "2.0", + method: "quai_gasPrice", + params: [], + id: 1 + }); + } while (response.data.result == null); + return response.data.result; + } + catch (error) { + throw new Error(`Error fetching block: ${error.message}`); + } } -function assertReceipt(actual, expected) { - // Check logs - for (let i = 0; i < expected.logs.length; i++) { - let expectedLog = expected.logs[i]; - for (let j = 0; j < expectedLog.topics.length; j++) { - assert.equal(actual.logs[i].topics[j], expectedLog.topics[j], `receipt.logs[${i}].topics[${j}]`); - } - expectedLog = Object.assign({}, expectedLog, { topics: undefined }); - assertObj(`receipt.log[${i}]`, actual.logs[i], expectedLog); +async function sendTransaction(to) { + let txResponse; + let typeValue; + try { + do { + const prefix = to.substring(0, 4); + typeValue = (Number(prefix) > 29) ? 2 : 0; + const gas = await getRPCGasPrice(process.env.RPC_URL); + let tx = { + from: wallet.address, + to, + value: quais.parseEther("0.1"), + gasPrice: gas * 2, + maxFeePerGas: quais.parseUnits('20', 'gwei'), + maxPriorityFeePerGas: quais.parseUnits('20', 'gwei'), + nonce: await providerC1.getTransactionCount(wallet.address, 'latest'), + data: '', + type: typeValue, + gasLimit: typeValue == 0 ? 21000 : 42000, + chainId: Number(process.env.CHAIN_ID || 1337), + }; + txResponse = await wallet.sendTransaction(tx); + await stall(15000); + } while (txResponse.hash == null); + console.log(`Transaction hash for type ${typeValue}: `, txResponse.hash); + return txResponse; } - // Remove the transactions and test keys - expected = Object.assign({}, expected, { logs: undefined, test: undefined }); - // In Byzantium, the root was dropped and the status was added - if (networkFeatureAtBlock("byzantium", expected.blockNumber)) { - expected = Object.assign({}, expected, { root: undefined }); + catch (error) { + console.error('Failed to send Transaction: ', error); + return null; } - else { - expected = Object.assign({}, expected, { status: undefined }); +} +async function fetchRPCBlock(blockNumber) { + try { + let response; + do { + response = await axios.post(process.env.RPC_URL || "http://localhost:8610", { + jsonrpc: "2.0", + method: "quai_getBlockByNumber", + params: [ + blockNumber || '0xA', + false + ], + id: 1 + }); + } while (response.data.result.hash == null); + return response.data.result; + } + catch (error) { + throw error; + } +} +async function fetchRPCBalance(address, url) { + try { + let response; + do { + response = await axios.post(url, { + jsonrpc: "2.0", + method: "quai_getBalance", + params: [ + address, + 'latest' + ], + id: 1 + }); + } while (response.data.result == null); + return response.data.result; + } + catch (error) { + throw new Error(`Error fetching block: ${error.message}`); + } +} +async function fetchRPCTxReceipt(hash, url) { + try { + let response; + do { + response = await axios.post(url, { + jsonrpc: "2.0", + method: "quai_getTransactionReceipt", + params: [ + hash + ], + id: 1 + }); + await stall(5000); + } while (response.data.result.blockHash == null); + return response.data.result; + } + catch (error) { + throw new Error(`Error fetching block: ${error.message}`); } - // Check remaining keys - assertObj("receipt", actual, expected); } describe("Test Provider Block operations", function () { - forEach("test getBlock(blockHash)", testBlock, (providerName, test) => { - // quaiscan does not support getting a block by blockhash - if (providerName === "quaiscanProvider") { - return null; - } - return async (provider) => { - assertBlock(await provider.getBlock(test.hash), test); + let block; + before(async () => { + const rpcBlock = await fetchRPCBlock('0xA'); + block = { + hash: rpcBlock.hash, + number: rpcBlock.number.map((stringNumber) => Number(stringNumber)), + transactions: rpcBlock.transactions, + parentHash: rpcBlock.parentHash, + parentEntropy: rpcBlock.parentEntropy.map((entropy) => BigInt(entropy)), + extTransactions: rpcBlock.extTransactions, + timestamp: Number(rpcBlock.timestamp), + nonce: rpcBlock.nonce, + difficulty: BigInt(rpcBlock.difficulty), + gasLimit: BigInt(rpcBlock.gasLimit), + gasUsed: BigInt(rpcBlock.gasUsed), + miner: rpcBlock.miner, + extraData: rpcBlock.extraData, + transactionsRoot: rpcBlock.transactionsRoot, + stateRoot: rpcBlock.stateRoot, + receiptsRoot: rpcBlock.receiptsRoot, + baseFeePerGas: BigInt(rpcBlock.baseFeePerGas), + extRollupRoot: rpcBlock.extRollupRoot, + extTransactionsRoot: rpcBlock.extTransactionsRoot, + location: rpcBlock.location, + manifestHash: rpcBlock.manifestHash, + mixHash: rpcBlock.mixHash, + order: rpcBlock.order, + parentDeltaS: rpcBlock.parentDeltaS.map((delta) => BigInt(delta)), + sha3Uncles: rpcBlock.sha3Uncles, + size: BigInt(rpcBlock.size), + uncles: rpcBlock.uncles, + subManifest: rpcBlock.subManifest, + totalEntropy: BigInt(rpcBlock.totalEntropy), }; }); - forEach("test getBlock(blockNumber)", testBlock, (providerName, test) => { - return async (provider) => { - assertBlock(await provider.getBlock(test.number), test); + it('should fetch block by number', async function () { + let responseBlock = await providerC1.getBlock('0xA'); + assert.ok(responseBlock != null, "block != null"); + let { provider, ...formatBlock } = { + ...responseBlock, + transactions: responseBlock.transactions, + extTransactions: responseBlock.extTransactions }; + equals("Block by Number", formatBlock, block); }); -}); -describe("Test Provider Transaction operations", function () { - forEach("test getTransaction(hash)", testTransaction, (providerName, test) => { - return async (provider) => { - assertTransaction(await provider.getTransaction(test.hash), test); + it('should fetch block by hash', async function () { + assert.ok(block.hash != null, 'block.hash != null'); + let responseBlock = await providerC1.getBlock(block.hash); + assert.ok(responseBlock != null, "block != null"); + let { provider, ...formatBlock } = { + ...responseBlock, + transactions: responseBlock.transactions, + extTransactions: responseBlock.extTransactions }; + equals("Block by Hash", formatBlock, block); }); - forEach("test getTransactionReceipt(hash)", testReceipt, (providerName, test) => { - return async (provider) => { - const receipt = await provider.getTransactionReceipt(test.hash); - assert.ok(receipt != null, "receipt != null"); - // Cloudflare doesn't return the root in legacy receipts; but it isn't - // *actually* that important, so we'll give it a pass... - if (providerName === "CloudflareProvider" || providerName === "AnkrProvider" || providerName === "PocketProvider") { - test = Object.assign({}, test, { root: undefined }); - } - //if (providerName === "PocketProvider") { - //} - assertReceipt(receipt, test); +}); +describe("Test Transaction operations", function () { + let internalTx; + let internalToExternalTx; + it('should fetch balance after internal tx', async function () { + this.timeout(60000); + const oldBal = await fetchRPCBalance(destinationC1, process.env.RPC_URL || "http://localhost:8610"); + internalTx = await sendTransaction(destinationC1); + await stall(30000); + const expectedBal = BigInt(internalTx.value); + const balance = await providerC1.getBalance(destinationC1); + const actualBal = Number(balance) - Number(oldBal); + assert.equal(actualBal, Number(expectedBal)); + }); + it('should get transaction receipt for internal tx', async function () { + this.timeout(60000); + const receipt = await fetchRPCTxReceipt(internalTx.hash, process.env.RPC_URL || "http://localhost:8610"); + const expectedReceipt = { + blockHash: receipt.blockHash, + contractAddress: receipt.contractAddress || null, + blockNumber: Number(receipt.blockNumber), + cumulativeGasUsed: BigInt(receipt.cumulativeGasUsed), + gasPrice: BigInt(receipt.effectiveGasPrice), + etxs: receipt.etxs, + gasUsed: BigInt(receipt.gasUsed), + logs: receipt.logs, + logsBloom: receipt.logsBloom, + status: Number(receipt.status), + to: receipt.to, + from: receipt.from, + hash: receipt.transactionHash, + index: Number(receipt.transactionIndex), + type: receipt.type, }; + const receiptResponse = await providerC1.getTransactionReceipt(internalTx.hash); + let { provider, ...receiptResult } = { + ...receiptResponse, + logs: receiptResponse?.logs + }; + equals("Internal Tx Receipt", receiptResult, expectedReceipt); }); - forEach("test lookupAddress(addr) == null", testReceipt, (providerName, test) => { - return async (provider) => { - const name = await provider.lookupAddress("0x0123456789012345678901234567890123456789"); - assert.ok(name == null, "name == null"); + it("should fetch transaction receipt for internal to external tx", async function () { + this.timeout(120000); + internalToExternalTx = await sendTransaction(destinationC2); + await stall(60000); + const receipt = await fetchRPCTxReceipt(internalToExternalTx.hash, process.env.RPC_URL || "http://localhost:8610"); + await stall(30000); + const etx = receipt.etxs[0]; + const expectedReceipt = { + blockHash: receipt.blockHash, + blockNumber: Number(receipt.blockNumber), + contractAddress: receipt.contractAddress || null, + cumulativeGasUsed: BigInt(receipt.cumulativeGasUsed), + gasPrice: BigInt(receipt.effectiveGasPrice), + etxs: [ + { + type: Number(etx.type), + nonce: Number(etx.nonce), + maxPriorityFeePerGas: BigInt(etx.maxPriorityFeePerGas), + maxFeePerGas: BigInt(etx.maxFeePerGas), + gas: BigInt(etx.gas), + value: BigInt(etx.value), + input: etx.input, + to: etx.to, + from: etx.sender, + hash: etx.hash, + chainId: Number(etx.chainId), + accessList: etx.accessList, + } + ], + gasUsed: BigInt(receipt.gasUsed), + logs: receipt.logs, + logsBloom: receipt.logsBloom, + status: Number(receipt.status), + to: receipt.to, + from: receipt.from, + hash: receipt.transactionHash, + index: Number(receipt.transactionIndex), + type: Number(receipt.type), + }; + const receiptResponse = await providerC1.getTransactionReceipt(internalToExternalTx.hash); + let { provider, ...receiptResult } = { + ...receiptResponse, + logs: receiptResponse?.logs }; + equals("Internal to External Tx Receipt", receiptResult, expectedReceipt); }); }); //# sourceMappingURL=test-providers-data.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-data.js.map b/lib.esm/_tests/test-providers-data.js.map index 5396b61b..9e1247dc 100644 --- a/lib.esm/_tests/test-providers-data.js.map +++ b/lib.esm/_tests/test-providers-data.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-data.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-data.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM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,MAAM,CAAC,MAAM,CAAC,EAAG,EAAG,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;aACzD;YAED,0CAA0C;YAC1C,GAAG;YAEH,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,kCAAkC,EAAE,WAAW,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,EAAE;QAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,EAAE;YACtB,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,aAAa,CAAC,4CAA4C,CAAC,CAAA;YACvF,MAAM,CAAC,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC;QAC5C,CAAC,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-providers-data.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-data.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,WAAW;AACX,gDAAgD;AAChD,iCAAiC;AACjC,wCAAwC;AAExC,8CAA8C;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,WAAW;AACX,2CAA2C;AAC3C,2DAA2D;AAC3D,iCAAiC;AAEjC,qEAAqE;AAGrE,mBAAmB;AAGnB,MAAM,UAAU,GAAG,IAAI,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAClE,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,EAAE,EAAE,UAAU,CAAC,CAAC;AACjF,MAAM,aAAa,GAAG,4CAA4C,CAAA;A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AAO,CAAC,gBAAgB,CAAC;YACvC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SAC7B,CAAA;QACD,MAAM,eAAe,GAAG,MAAM,UAAU,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAC1F,IAAI,EAAE,QAAQ,EAAE,GAAG,aAAa,EAAE,GAAG;YACjC,GAAG,eAAe;YAClB,IAAI,EAAE,eAAe,EAAE,IAAI;SAC9B,CAAC;QACF,MAAM,CAAC,iCAAiC,EAAE,aAAa,EAAE,eAAe,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAA"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-errors.js b/lib.esm/_tests/test-providers-errors.js index b5973efa..8112d512 100644 --- a/lib.esm/_tests/test-providers-errors.js +++ b/lib.esm/_tests/test-providers-errors.js @@ -2,6 +2,9 @@ import assert from "assert"; import { concat, dataSlice, id, toBeArray, zeroPadValue, isCallException, isError, Wallet } from "../index.js"; import { getProvider, setupProviders, providerNames } from "./create-provider.js"; import { stall } from "./utils.js"; +//require('dotenv').config(); +import dotenv from "dotenv"; +dotenv.config(); setupProviders(); describe("Tests Provider Call Exception", function () { const panics = [ @@ -16,8 +19,8 @@ describe("Tests Provider Call Exception", function () { //{ code: 0x41, reason: "OUT_OF_MEMORY" }, //{ code: 0x51, reason: "UNINITIALIZED_FUNCTION_CALL" }, ]; - const testAddr = "0xF20Ba47c47a32fc2d9ad846fF06f2fa6e89eeC74"; - const networkName = "goerli"; + const testAddr = "0x0aff86a125b29b25a9e418c2fb64f1753532c0ca"; //Cyprus1 + const networkName = "colosseum"; for (const { code, reason } of panics) { for (const method of ["call", "estimateGas"]) { for (const providerName of providerNames) { @@ -129,7 +132,7 @@ describe("Tests Provider Call Exception", function () { }); describe("Test Provider Blockchain Errors", function () { const wallet = new Wallet((process.env.FAUCET_PRIVATEKEY)); - const networkName = "goerli"; + const networkName = "colosseum"; for (const providerName of providerNames) { const provider = getProvider(providerName, networkName); if (provider == null) { diff --git a/lib.esm/_tests/test-providers-errors.js.map b/lib.esm/_tests/test-providers-errors.js.map index e00d71f8..dc4cbf1c 100644 --- a/lib.esm/_tests/test-providers-errors.js.map +++ b/lib.esm/_tests/test-providers-errors.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-errors.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-errors.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACH,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,YAAY,EAC9C,eAAe,EAAE,OAAO,EACxB,MAAM,EACT,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAiBnC,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,+BAA+B,EAAE;IAEtC,MAAM,MAAM,GAA4C;QACpD,0CAA0C;QAC1C,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE;QACtC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE;QAClC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE;QACxC,6CAA6C;QAC7C,6CAA6C;QAC7C,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE;QACzC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,mBAAmB,EAAE;QAC3C,0CAA0C;QAC1C,wDAAwD;KAC3D,CAAC;IAEF,MAAM,QAAQ,GAAG,4CAA4C,CAAC;IAE9D,MAAM,WAAW,GAAG,QAAQ,CAAC;IAC7B,KAAK,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,MAAM,EAAE;QACnC,KAAK,MAAM,MAAM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KAAK,EAAE,eAAe,CAAC,EAAE;oBAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;iBACtB;gBACD,OAAO,OAAO,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;YAC3C,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KACN;AAEL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-providers-errors.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-errors.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACH,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,YAAY,EAC9C,eAAe,EAAE,OAAO,EACxB,MAAM,EACT,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGnC,6BAA6B;AAC7B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,EAAE,CAAC;AAehB,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,+BAA+B,EAAE;IAEtC,MAAM,MAAM,GAA4C;QACpD,0CAA0C;QAC1C,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE;QACtC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE;QAClC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE;QACxC,6CAA6C;QAC7C,6CAA6C;QAC7C,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE;QACzC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,mBAAmB,EAAE;QAC3C,0CAA0C;QAC1C,wDAAwD;KAC3D,CAAC;IAEF,MAAM,QAAQ,GAAG,4CAA4C,CAAC,CAAC,SAAS;I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;gBACH,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YACpB,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE;gBACT,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,eAAe,CAAC,EAAE;oBAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;iBACtB;gBACD,OAAO,OAAO,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;YAC3C,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KACN;AAEL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-fallback.d.ts.map b/lib.esm/_tests/test-providers-fallback.d.ts.map index 04e6d50d..b3469193 100644 --- a/lib.esm/_tests/test-providers-fallback.d.ts.map +++ b/lib.esm/_tests/test-providers-fallback.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-fallback.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,gBAAgB,EAAoB,OAAO,EAE9C,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,oBAAoB,EACvB,MAAM,aAAa,CAAC;AAWrB,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,oBAAoB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAEpE,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAEjB,OAAO,EAAE,SAAS;IAKxB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAElC,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;CAGzD"} \ No newline at end of file +{"version":3,"file":"test-providers-fallback.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,gBAAgB,EAAoB,OAAO,EAC9C,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,oBAAoB,EACvB,MAAM,aAAa,CAAC;AAWrB,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,oBAAoB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAEpE,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAEjB,OAAO,EAAE,SAAS;IAKxB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAElC,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;CAGzD"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-fallback.js b/lib.esm/_tests/test-providers-fallback.js index 9b7a83f7..09a65304 100644 --- a/lib.esm/_tests/test-providers-fallback.js +++ b/lib.esm/_tests/test-providers-fallback.js @@ -1,5 +1,5 @@ import assert from "assert"; -import { isError, makeError, AbstractProvider, FallbackProvider, Network, ZeroAddress } from "../index.js"; +import { isError, makeError, AbstractProvider, FallbackProvider, Network } from "../index.js"; const network = Network.from("mainnet"); function stall(duration) { return new Promise((resolve) => { setTimeout(resolve, duration); }); @@ -16,10 +16,9 @@ export class MockProvider extends AbstractProvider { } } describe("Test Fallback broadcast", function () { - const txHash = "0x33017397ef7c7943dee3b422aec52b0a210de58d73d49c1b3ce455970f01c83a"; + const txHash = "0xe9fb92945282cf04f7bb3027d690fdaab6d601c99a7cdd0a5eb41d1a5c0893d5"; async function test(actions) { - // https://sepolia.etherscan.io/tx/0x33017397ef7c7943dee3b422aec52b0a210de58d73d49c1b3ce455970f01c83a - const tx = "0x02f87683aa36a7048459682f00845d899ef982520894b5bdaa442bb34f27e793861c456cd5bdc527ac8c89056bc75e2d6310000080c001a07503893743e94445b2361a444343757e6f59d52e19e9b3f65eb138d802eaa972a06e4e9bc10ff55474f9aac0a4c284733b4195cb7b273de5e7465ce75a168e0c38"; + const tx = "0x00f8788223288202898504a817c8008504a817c800825208940aff86a125b29b25a9e418c2fb64f1753532c0ca88016345785d8a000080c001a0711d47f0f6828721f336430ca87277534d0134de5f04ce3629085f8d5371c129a061c4838dec40c296cfad6fe771d502c26e209089124e6f702c64353b3ca195c1"; const providers = actions.map(({ timeout, error }) => { return new MockProvider(async (r) => { if (r.method === "getBlockNumber") { @@ -47,14 +46,6 @@ describe("Test Fallback broadcast", function () { ]); assert(result.hash === txHash, "result.hash === txHash"); }); - it("picks late non-failed broadcasts with quorum-met red-herrings", async function () { - const result = await test([ - { timeout: 200, error: makeError("bad nonce", "NONCE_EXPIRED") }, - { timeout: 400, error: makeError("bad nonce", "NONCE_EXPIRED") }, - { timeout: 1000 }, - ]); - assert(result.hash === txHash, "result.hash === txHash"); - }); it("insufficient funds short-circuit broadcast", async function () { await assert.rejects(async function () { const result = await test([ @@ -70,64 +61,4 @@ describe("Test Fallback broadcast", function () { }); }); }); -describe("Test Inflight Quorum", function () { - // Fires the %%actions%% as providers which will delay before returning, - // and returns an array of arrays, where each sub-array indicates which - // providers were inflight at once. - async function test(actions, quorum) { - const inflights = [[]]; - const configs = actions.map(({ delay, stallTimeout, priority, weight }, index) => ({ - provider: new MockProvider(async (r) => { - if (r.method === "getBlockNumber") { - return 1; - } - if (r.method === "getBalance") { - // Add this as inflight - let last = inflights.pop(); - if (last == null) { - throw new Error("no elements"); - } - inflights.push(last); - last = last.slice(); - last.push(index); - inflights.push(last); - // Do the thing - await stall(delay); - // Remove as inflight - last = inflights.pop(); - if (last == null) { - throw new Error("no elements"); - } - inflights.push(last); - last = last.filter((v) => (v !== index)); - inflights.push(last); - return 0; - } - console.log(r); - throw new Error(`unhandled method: ${r.method}`); - }), - stallTimeout, priority, weight - })); - const provider = new FallbackProvider(configs, network, { - cacheTimeout: -1, pollingInterval: 100, - quorum - }); - await provider.getBalance(ZeroAddress); - return inflights; - } - // See: #4298 - it("applies weights against inflight requests", async function () { - this.timeout(2000); - const inflights = await test([ - { delay: 50, stallTimeout: 1000, priority: 1, weight: 2 }, - { delay: 50, stallTimeout: 1000, priority: 1, weight: 2 }, - ], 2); - // Make sure there is never more than 1 inflight provider at once - for (const running of inflights) { - assert.ok(running.length <= 1, `too many inflight requests: ${JSON.stringify(inflights)}`); - } - }); - // @TODO: add lots more tests, checking on priority, weight and stall - // configurations -}); //# sourceMappingURL=test-providers-fallback.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-fallback.js.map b/lib.esm/_tests/test-providers-fallback.js.map index 8f894437..dd882d56 100644 --- a/lib.esm/_tests/test-providers-fallback.js.map +++ b/lib.esm/_tests/test-providers-fallback.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-fallback.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACH,OAAO,EAAE,SAAS,EAElB,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAC3C,WAAW,EACd,MAAM,aAAa,CAAC;AAQrB,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAExC,SAAS,KAAK,CAAC,QAAgB;IAC3B,OAAQ,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzE,CAAC;AAKD,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACrC,QAAQ,CAAY;IAE7B,YAAY,OAAkB;QAC1B,KAAK,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,cAAc,KAAuB,OAAO,OAAO,CAAC,CAAC,CAAC;IAE5D,KAAK,CAAC,OAAO,CAAC,GAAyB;QACnC,OAAO,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC;CACJ;AAED,Q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CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,qBAAsB,CAAC,CAAC,MAAO,EAAE,CAAC,CAAC;YACvD,CAAC,CAAC;YACF,YAAY,EAAE,QAAQ,EAAE,MAAM;SACjC,CAAC,CAAC,CAAC;QAEJ,MAAM,QAAQ,GAAG,IAAI,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE;YACpD,YAAY,EAAE,CAAC,CAAC,EAAE,eAAe,EAAE,GAAG;YACtC,MAAM;SACT,CAAC,CAAC;QACH,MAAM,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAEvC,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,aAAa;IACb,EAAE,CAAC,2CAA2C,EAAE,KAAK;QACjD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAEnB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC;YACzB,EAAE,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;YACzD,EAAE,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;SAC5D,EAAE,CAAC,CAAC,CAAC;QAEN,iEAAiE;QACjE,KAAK,MAAM,OAAO,IAAI,SAAS,EAAE;YAC7B,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAE,+BAAgC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAE,EAAE,CAAC,CAAC;SAChG;IACL,CAAC,CAAC,CAAC;IAEH,qEAAqE;IACrE,wBAAwB;AAC5B,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-providers-fallback.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-fallback.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5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E,UAAS,KAAc;YACtB,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC7C,OAAO,IAAI,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-send.d.ts b/lib.esm/_tests/test-providers-send.d.ts deleted file mode 100644 index f13272e6..00000000 --- a/lib.esm/_tests/test-providers-send.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=test-providers-send.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-send.d.ts.map b/lib.esm/_tests/test-providers-send.d.ts.map deleted file mode 100644 index 8a21e3e5..00000000 --- a/lib.esm/_tests/test-providers-send.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-send.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-send.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-send.js b/lib.esm/_tests/test-providers-send.js deleted file mode 100644 index 7488a68b..00000000 --- a/lib.esm/_tests/test-providers-send.js +++ /dev/null @@ -1,49 +0,0 @@ -import assert from "assert"; -import { isError, Wallet } from "../index.js"; -import { getProvider, providerNames, setupProviders } from "./create-provider.js"; -function stall(duration) { - return new Promise((resolve) => { setTimeout(resolve, duration); }); -} -setupProviders(); -describe("Sends Transactions", function () { - const wallet = new Wallet((process.env.FAUCET_PRIVATEKEY)); - console.log("Faucet Address:", wallet.address); - const networkName = "goerli"; - for (const providerName of providerNames) { - const provider = getProvider(providerName, networkName); - if (provider == null) { - continue; - } - it(`tests sending: ${providerName}`, async function () { - this.timeout(180000); - const w = wallet.connect(provider); - const dustAddr = Wallet.createRandom().address; - // Retry if another CI instance used our value - let tx = null; - for (let i = 0; i < 10; i++) { - try { - tx = await w.sendTransaction({ - to: dustAddr, - value: 42, - type: 2 - }); - break; - } - catch (error) { - if (isError(error, "REPLACEMENT_UNDERPRICED") || isError(error, "NONCE_EXPIRED")) { - await stall(1000); - continue; - } - throw error; - } - } - assert.ok(!!tx, "too many retries"); - //const receipt = - await provider.waitForTransaction(tx.hash, null, 60000); //tx.wait(); - //console.log(receipt); - const balance = await provider.getBalance(dustAddr); - assert.equal(balance, BigInt(42), "target balance after send"); - }); - } -}); -//# sourceMappingURL=test-providers-send.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-send.js.map b/lib.esm/_tests/test-providers-send.js.map deleted file mode 100644 index cca1cb45..00000000 --- a/lib.esm/_tests/test-providers-send.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-send.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-send.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAIlF,SAAS,KAAK,CAAC,QAAgB;IAC3B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxE,CAAC;AAED,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,oBAAoB,EAAE;IAE3B,MAAM,MAAM,GAAG,IAAI,MAAM,CAAS,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAE/C,MAAM,WAAW,GAAG,QAAQ,CAAC;IAC7B,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE;QACtC,MAAM,QAAQ,GAAG,WAAW,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QACxD,IAAI,Q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AC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-wildcard.d.ts b/lib.esm/_tests/test-providers-wildcard.d.ts deleted file mode 100644 index b6f58c07..00000000 --- a/lib.esm/_tests/test-providers-wildcard.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=test-providers-wildcard.d.ts.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-wildcard.d.ts.map b/lib.esm/_tests/test-providers-wildcard.d.ts.map deleted file mode 100644 index efa9077b..00000000 --- a/lib.esm/_tests/test-providers-wildcard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-wildcard.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-wildcard.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-wildcard.js b/lib.esm/_tests/test-providers-wildcard.js deleted file mode 100644 index 5dc89bc9..00000000 --- a/lib.esm/_tests/test-providers-wildcard.js +++ /dev/null @@ -1,16 +0,0 @@ -import assert from "assert"; -import { connect, setupProviders } from "./create-provider.js"; -setupProviders(); -describe("Test EIP-2544 ENS wildcards", function () { - const provider = connect("goerli"); - it("Resolves recursively", async function () { - const resolver = await provider.getResolver("ricmoose.hatch.eth"); - assert.ok(resolver, "failed to get resolver"); - assert.equal(resolver.address, "0x15abA1fa74Bfdecd63A71218DC632d4328Db8168", "address"); - assert.equal(await resolver.supportsWildcard(), true, "supportsWildcard()"); - // Test pass-through avatar - assert.equal(await resolver.getAvatar(), "https:/\/static.ricmoo.com/uploads/profile-06cb9c3031c9.jpg", "getAvatar()"); - assert.equal(await resolver.getAddress(), "0x4B711A377B1b3534749FBe5e59Bcf7F94d92EA98", "getAddress()"); - }); -}); -//# sourceMappingURL=test-providers-wildcard.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-wildcard.js.map b/lib.esm/_tests/test-providers-wildcard.js.map deleted file mode 100644 index e9974510..00000000 --- a/lib.esm/_tests/test-providers-wildcard.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"test-providers-wildcard.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-wildcard.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE/D,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,6BAA6B,EAAE;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEnC,EAAE,CAAC,sBAAsB,EAAE,KAAK;QAC5B,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAClE,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,CAAC,CAAC;QAE9C,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,4CAA4C,EAAE,SAAS,CAAC,CAAC;QACxF,MAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC;QAE5E,2BAA2B;QAC3B,MAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,SAAS,EAAE,EAAE,6DAA6D,EAAE,aAAa,CAAC,CAAC;QAEvH,MAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,EAAE,4CAA4C,EAAE,cAAc,CAAC,CAAC;IAC5G,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-transaction.js b/lib.esm/_tests/test-transaction.js index 28b8a8c5..652bcef5 100644 --- a/lib.esm/_tests/test-transaction.js +++ b/lib.esm/_tests/test-transaction.js @@ -4,22 +4,6 @@ import { isError, Transaction } from "../index.js"; const BN_0 = BigInt(0); describe("Tests Unsigned Transaction Serializing", function () { const tests = loadTests("transactions"); - for (const test of tests) { - it(`serialized unsigned legacy transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }); - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { - txData.chainId = "0x00"; - } - const tx = Transaction.from(txData); - assert.equal(tx.unsignedSerialized, test.unsignedLegacy, "unsignedLegacy"); - }); - } for (const test of tests) { // Unsupported parameters for EIP-155; i.e. unspecified chain ID if (!test.unsignedEip155) { @@ -36,44 +20,9 @@ describe("Tests Unsigned Transaction Serializing", function () { assert.equal(tx.unsignedSerialized, test.unsignedEip155, "unsignedEip155"); }); } - for (const test of tests) { - it(`serialized unsigned Berlin transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 1, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }); - const tx = Transaction.from(txData); - assert.equal(tx.unsignedSerialized, test.unsignedBerlin, "unsignedBerlin"); - }); - } - for (const test of tests) { - it(`serialized unsigned London transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { type: 2 }); - const tx = Transaction.from(txData); - assert.equal(tx.unsignedSerialized, test.unsignedLondon, "unsignedLondon"); - }); - } }); describe("Tests Signed Transaction Serializing", function () { const tests = loadTests("transactions"); - for (const test of tests) { - it(`serialized signed legacy transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined, - signature: test.signatureLegacy - }); - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { - txData.chainId = "0x00"; - } - const tx = Transaction.from(txData); - assert.equal(tx.serialized, test.signedLegacy, "signedLegacy"); - }); - } for (const test of tests) { if (!test.unsignedEip155) { continue; @@ -81,36 +30,15 @@ describe("Tests Signed Transaction Serializing", function () { it(`serialized signed EIP-155 transaction: ${test.name}`, function () { const txData = Object.assign({}, test.transaction, { type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined, + accessList: [], + maxFeePerGas: 0, + maxPriorityFeePerGas: 0, signature: test.signatureEip155 }); const tx = Transaction.from(txData); assert.equal(tx.serialized, test.signedEip155, "signedEip155"); }); } - for (const test of tests) { - it(`serialized signed Berlin transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 1, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }, { signature: test.signatureBerlin }); - const tx = Transaction.from(txData); - assert.equal(tx.serialized, test.signedBerlin, "signedBerlin"); - }); - } - for (const test of tests) { - it(`serialized signed London transaction: ${test.name}`, function () { - const txData = Object.assign({}, test.transaction, { - type: 2, - signature: test.signatureLondon - }); - const tx = Transaction.from(txData); - assert.equal(tx.serialized, test.signedLondon, "signedLondon"); - }); - } }); function assertTxUint(actual, _expected, name) { const expected = (_expected != null ? BigInt(_expected) : null); @@ -142,10 +70,9 @@ function addDefaults(tx) { tx = Object.assign({}, tx); addDefault(tx, "nonce", 0); addDefault(tx, "gasLimit", BN_0); - addDefault(tx, "gasPrice", BN_0); addDefault(tx, "maxFeePerGas", BN_0); addDefault(tx, "maxPriorityFeePerGas", BN_0); - addDefault(tx, "value", BN_0); + addDefault(tx, "value", 0); addDefault(tx, "data", "0x"); addDefault(tx, "accessList", []); addDefault(tx, "chainId", BN_0); @@ -153,17 +80,6 @@ function addDefaults(tx) { } describe("Tests Unsigned Transaction Parsing", function () { const tests = loadTests("transactions"); - for (const test of tests) { - it(`parses unsigned legacy transaction: ${test.name}`, function () { - const tx = Transaction.from(test.unsignedLegacy); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - expected.chainId = BN_0; - assertTxEqual(tx, expected); - }); - } for (const test of tests) { if (!test.unsignedEip155) { continue; @@ -171,51 +87,15 @@ describe("Tests Unsigned Transaction Parsing", function () { it(`parses unsigned EIP-155 transaction: ${test.name}`, function () { const tx = Transaction.from(test.unsignedEip155); const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - assertTxEqual(tx, expected); - }); - } - for (const test of tests) { - it(`parses unsigned Berlin transaction: ${test.name}`, function () { - const tx = Transaction.from(test.unsignedBerlin); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - assertTxEqual(tx, expected); - }); - } - for (const test of tests) { - it(`parses unsigned London transaction: ${test.name}`, function () { - const tx = Transaction.from(test.unsignedLondon); - const expected = addDefaults(test.transaction); - expected.gasPrice = null; + expected.maxFeePerGas = 0; + expected.maxPriorityFeePerGas = 0; + expected.accessList = []; assertTxEqual(tx, expected); }); } }); describe("Tests Signed Transaction Parsing", function () { const tests = loadTests("transactions"); - for (const test of tests) { - it(`parses signed legacy transaction: ${test.name}`, function () { - let tx = Transaction.from(test.signedLegacy); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - expected.chainId = BN_0; - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - assert.equal(tx.typeName, "legacy", "typeName"); - assert.ok(!!tx.signature, "signature:!null"); - assert.equal(tx.signature.r, test.signatureLegacy.r, "signature.r"); - assert.equal(tx.signature.s, test.signatureLegacy.s, "signature.s"); - assert.equal(BigInt(tx.signature.v), BigInt(test.signatureLegacy.v), "signature.v"); - tx = tx.clone(); - } - }); - } for (const test of tests) { if (!test.unsignedEip155) { continue; @@ -223,12 +103,11 @@ describe("Tests Signed Transaction Parsing", function () { it(`parses signed EIP-155 transaction: ${test.name}`, function () { let tx = Transaction.from(test.signedEip155); const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; + expected.maxFeePerGas = 0; + expected.maxPriorityFeePerGas = 0; + expected.accessList = []; for (let i = 0; i < 2; i++) { assertTxEqual(tx, expected); - assert.equal(tx.typeName, "legacy", "typeName"); assert.ok(!!tx.signature, "signature:!null"); assert.equal(tx.signature.r, test.signatureEip155.r, "signature.r"); assert.equal(tx.signature.s, test.signatureEip155.s, "signature.s"); @@ -236,70 +115,36 @@ describe("Tests Signed Transaction Parsing", function () { } }); } - for (const test of tests) { - it(`parses signed Berlin transaction: ${test.name}`, function () { - let tx = Transaction.from(test.signedBerlin); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - assert.equal(tx.typeName, "eip-2930", "typeName"); - assert.ok(!!tx.signature, "signature:!null"); - assert.equal(tx.signature.r, test.signatureBerlin.r, "signature.r"); - assert.equal(tx.signature.s, test.signatureBerlin.s, "signature.s"); - assert.equal(tx.signature.yParity, parseInt(test.signatureBerlin.v), "signature.v"); - tx = tx.clone(); - } - }); - } - for (const test of tests) { - it(`parses signed London transaction: ${test.name}`, function () { - let tx = Transaction.from(test.signedLondon); - const expected = addDefaults(test.transaction); - expected.gasPrice = null; - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - assert.equal(tx.typeName, "eip-1559", "typeName"); - assert.ok(!!tx.signature, "signature:!null"); - assert.equal(tx.signature.r, test.signatureLondon.r, "signature.r"); - assert.equal(tx.signature.s, test.signatureLondon.s, "signature.s"); - assert.equal(tx.signature.yParity, parseInt(test.signatureLondon.v), "signature.v"); - // Test cloning - tx = tx.clone(); - } - }); - } }); describe("Tests Transaction Parameters", function () { const badData = [ { name: "accessList=0x09", - data: "0x02c9010203040580070809", + data: "0x00c9010203040580070809", message: "invalid access list", argument: "accessList" }, { name: "accessList=[0x09]", - data: "0x02ca0102030405800708c109", + data: "0x00ca0102030405800708c109", message: "invalid address-slot set", argument: "accessList" }, { name: "accessList=[0x09,0x10]", - data: "0x02cb0102030405800708c20910", + data: "0x00cb0102030405800708c20910", message: "invalid address-slot set", argument: "accessList" }, { name: "accessList=[0x09,[HASH]] (bad address)", - data: "0x02ed0102030405800708e4e309e1a024412927c99a717115f5308c0ebd11136659b3cb6291abb4a8f87e9856a12538", + data: "0x00ed0102030405800708e4e309e1a024412927c99a717115f5308c0ebd11136659b3cb6291abb4a8f87e9856a12538", message: "invalid address", argument: "accessList" }, { name: "accessList=[ADDR,[0x09]] (bad slot)", - data: "0x02e10102030405800708d8d794939d33ff01840e9eeeb67525ec2f7035af41a4b1c109", + data: "0x00e10102030405800708d8d794939d33ff01840e9eeeb67525ec2f7035af41a4b1c109", message: "invalid slot", argument: "accessList" } diff --git a/lib.esm/_tests/test-transaction.js.map b/lib.esm/_tests/test-transaction.js.map index 4446de94..9bbcabfc 100644 --- a/lib.esm/_tests/test-transaction.js.map +++ b/lib.esm/_tests/test-transaction.js.map @@ -1 +1 @@ -{"version":3,"file":"test-transaction.js","sourceRoot":"","sources":["../../src.ts/_tests/test-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAGnD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAEvB,QAAQ,CAAC,wCAAwC,EAAE;IAC/C,MAAM,KAAK,GAAG,SAAS,CAAsB,cAAc,CAAC,CAAC;IAE7D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACtB,EAAE,CAAC,2CAA4C,IAAI,CAAC,IAAK,EAAE,EAAE;YACzD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAG,EAAE,IAAI,CAAC,WAAW,EAAE;gBAChD,IAAI,EAAE,CAAC;gBACP,UAAU,EAAE,SAAS;gBACrB,YAAY,EAAE,SAAS;gBACvB,oBAAoB,EAAE,SAAS;aAClC,CAAC,CAAC;YAEH,sDAAsD;YACtD,IAAI,MAAM,CAAC,OAAO,IAAI,IAAI,IAAI,QAAQ,CAAC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AAqC;YAC3C,IAAI,EAAE,0EAA0E;YAChF,OAAO,EAAE,cAAc;YACvB,QAAQ,EAAE,YAAY;SACzB;KACJ,CAAC;IAEF,KAAK,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,OAAO,EAAE;QACrD,EAAE,CAAE,sCAAuC,IAAK,EAAE,EAAE;YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE;gBACf,qDAAqD;gBACrD,kBAAkB;gBAClB,MAAM,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACxB,CAAC,EAAE,CAAC,KAAU,EAAE,EAAE;gBACd,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,kBAAkB,CAAC;oBACtC,KAAK,CAAC,QAAQ,KAAK,QAAQ;oBAC3B,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAChE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KAEN;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"test-transaction.js","sourceRoot":"","sources":["../../src.ts/_tests/test-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAGnD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAEvB,QAAQ,CAAC,wCAAwC,EAAE;IAC/C,MAAM,KAAK,GAAG,SAAS,CAAsB,cAAc,CAAC,CAAA;IAE5D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACtB,gEAAgE;QAChE,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;YAA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ACvB,CAAC,EAAE,CAAC,KAAU,EAAE,EAAE;gBACd,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,kBAAkB,CAAC;oBACtC,KAAK,CAAC,QAAQ,KAAK,QAAQ;oBAC3B,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAChE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;KAEN;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-wallet.js b/lib.esm/_tests/test-wallet.js index 855f2959..abb834fd 100644 --- a/lib.esm/_tests/test-wallet.js +++ b/lib.esm/_tests/test-wallet.js @@ -13,45 +13,21 @@ describe("Test Private Key Wallet", function () { }); describe("Test Transaction Signing", function () { const tests = loadTests("transactions"); - for (const test of tests) { - it(`tests signing a legacy transaction: ${test.name}`, async function () { - const wallet = new Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 0, accessList: undefined, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { - txData.chainId = "0x00"; - } - const signed = await wallet.signTransaction(txData); - assert.equal(signed, test.signedLegacy, "signedLegacy"); - }); - } for (const test of tests) { if (!test.signedEip155) { continue; } it(`tests signing an EIP-155 transaction: ${test.name}`, async function () { const wallet = new Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 0, accessList: undefined, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); + const txData = Object.assign({}, test.transaction, { type: 0, accessList: [], maxFeePerGas: 0, maxPriorityFeePerGas: 0 }); const signed = await wallet.signTransaction(txData); + // let parsed = Transaction.from(signed); + // // console.log('txData: ', JSON.stringify(parsed)) + // // console.log('EXPECTED: ', test.signedEip155) + // // console.log("ACTUAL: ", signed) assert.equal(signed, test.signedEip155, "signedEip155"); }); } - for (const test of tests) { - it(`tests signing a Berlin transaction: ${test.name}`, async function () { - const wallet = new Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 1, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - const signed = await wallet.signTransaction(txData); - assert.equal(signed, test.signedBerlin, "signedBerlin"); - }); - } - for (const test of tests) { - it(`tests signing a London transaction: ${test.name}`, async function () { - const wallet = new Wallet(test.privateKey); - const txData = Object.assign({}, test.transaction, { type: 2 }); - const signed = await wallet.signTransaction(txData); - assert.equal(signed, test.signedLondon, "signedLondon"); - }); - } }); describe("Test Message Signing (EIP-191)", function () { }); diff --git a/lib.esm/_tests/test-wallet.js.map b/lib.esm/_tests/test-wallet.js.map index 1f473ee7..1ecb7cea 100644 --- a/lib.esm/_tests/test-wallet.js.map +++ b/lib.esm/_tests/test-wallet.js.map @@ -1 +1 @@ -{"version":3,"file":"test-wallet.js","sourceRoot":"","sources":["../../src.ts/_tests/test-wallet.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAOvC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAK3D,QAAQ,CAAC,yBAAyB,EAAE;IAChC,MAAM,KAAK,GAAG,SAAS,CAAkB,UAAU,CAAC,CAAC;IAErD,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;QAC5C,EAAE,CAAC,mBAAoB,IAAK,EAAE,EAAE;YAC5B,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;YACtC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;YAC5C,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,C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,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YACjE,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;QAEH,MAAM,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;KACjD;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/contract/factory.d.ts.map b/lib.esm/contract/factory.d.ts.map index a6cb1f79..14228f9d 100644 --- a/lib.esm/contract/factory.d.ts.map +++ b/lib.esm/contract/factory.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src.ts/contract/factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM5C,OAAO,EAAE,YAAY,EAA8B,MAAM,eAAe,CAAC;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,KAAK,EACR,iBAAiB,EAAE,kBAAkB,EAAE,yBAAyB,EACnE,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AASjE;;GAEG;AACH,qBAAa,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY;IAE5E;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAG,SAAS,CAAC;IAE/B;;OAEG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AC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAuE9F;;;;;;;OAOG;IACG,MAAM,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,YAAY,GAAG;QAAE,qBAAqB,IAAI,2BAA2B,CAAA;KAAE,GAAG,IAAI,CAAC,CAAC,EAAE,MAAM,YAAY,CAAC,CAAC;IAqBhK,MAAM,CAAC,kBAAkB,CAAC,WAAW,EAAE;QACnC,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,SAAS,CAAC;KACnB,GAAG,MAAM;IAQA,oBAAoB,CACtB,EAAE,EAAE,kBAAkB,GACrB,OAAO,CAAC,kBAAkB,CAAC;IAsBhC;;;OAGG;IACH,OAAO,CAAC,MAAM,EAAE,IAAI,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;IAI7D;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;CAgB7I"} \ No newline at end of file diff --git a/lib.esm/contract/factory.js.map b/lib.esm/contract/factory.js.map index be266fd9..73bc5fa4 100644 --- a/lib.esm/contract/factory.js.map +++ b/lib.esm/contract/factory.js.map @@ -1 +1 @@ -{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src.ts/contract/factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACH,MAAM,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAC3C,MAAM,EAAE,cAAc,EACzB,MAAM,mBAAmB,CA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ACjB,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;SAC9B;aAAM,IAAI,MAAM,CAAC,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE;YAC1C,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;SAClC;QAED,OAAO,IAAI,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;CACJ"} \ No newline at end of file diff --git a/lib.esm/providers/format.d.ts.map b/lib.esm/providers/format.d.ts.map index 1cf6c039..f6900b4e 100644 --- a/lib.esm/providers/format.d.ts.map +++ b/lib.esm/providers/format.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src.ts/providers/format.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACR,WAAW,EAAE,SAAS,EACtB,wBAAwB,EAAE,yBAAyB,EAAE,SAAS,EACjE,MAAM,iBAAiB,CAAC;AAKzB,MAAM,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC;AAE7C,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,GAAG,GAAG,UAAU,CAKzE;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAKtD;AAKD,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAwB/G;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAQjD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGhD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,CAG7C;AAED,wBAAgB,aAAa,CAAC,KAAK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a,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,CAKhD;AAgBD,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,SAAS,CAE/C;AAuCD,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,WAAW,CAWnD;AAeD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,SAAS,CAEtD;AAoBD,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,SAAS,CAE/C;AAyBD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,GAAG,wBAAwB,CAG7E;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,GAAG,yBAAyB,CAwI/E"} \ No newline at end of file diff --git a/lib.esm/providers/format.js b/lib.esm/providers/format.js index f74ad51c..910173d9 100644 --- a/lib.esm/providers/format.js +++ b/lib.esm/providers/format.js @@ -4,7 +4,7 @@ import { getAddress, getCreateAddress } from "../address/index.js"; import { Signature } from "../crypto/index.js"; import { accessListify } from "../transaction/index.js"; -import { getBigInt, getNumber, hexlify, isHexString, zeroPadValue, assert, assertArgument } from "../utils/index.js"; +import { getBigInt, getNumber, isHexString, zeroPadValue, assert, assertArgument } from "../utils/index.js"; const BN_0 = BigInt(0); export function allowNull(format, nullValue) { return (function (value) { @@ -181,7 +181,6 @@ const _formatTransactionReceipt = object({ contractAddress: allowNull(getAddress, null), // should be allowNull(hash), but broken-EIP-658 support is handled in receipt index: getNumber, - root: allowNull(hexlify), gasUsed: getBigInt, logsBloom: allowNull(formatData), blockHash: formatHash, diff --git a/lib.esm/providers/format.js.map b/lib.esm/providers/format.js.map index cd7a5d1b..90874cf0 100644 --- a/lib.esm/providers/format.js.map +++ b/lib.esm/providers/format.js.map @@ -1 +1 @@ -{"version":3,"file":"format.js","sourceRoot":"","sources":["../../src.ts/providers/format.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,qBA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,SAAS,GAAG,IAAI,CAAC;KAC3B;IAED,OAAO,MAAM,CAAC;AAClB,CAAC"} \ No newline at end of file diff --git a/lib.esm/providers/formatting.d.ts b/lib.esm/providers/formatting.d.ts index 7e4bbb56..26aed200 100644 --- a/lib.esm/providers/formatting.d.ts +++ b/lib.esm/providers/formatting.d.ts @@ -214,11 +214,6 @@ export interface TransactionReceiptParams { * some nodes may have backfilled this data. */ status: null | number; - /** - * The root of this transaction in a pre-bazatium block. In - * post-byzantium blocks this is null. - */ - root: null | string; etxs: ReadonlyArray; } /** diff --git a/lib.esm/providers/formatting.d.ts.map b/lib.esm/providers/formatting.d.ts.map index 7d31d91a..65e78688 100644 --- a/lib.esm/providers/formatting.d.ts.map +++ b/lib.esm/providers/formatting.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM1D;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAE/B;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAEnC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,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AAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,oBAAoB,EAAE,IAAI,GAAG,MAAM,CAAC;IAEpC;;;OAGG;IACH,YAAY,EAAE,IAAI,GAAG,MAAM,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,UAAU,CAAC;IAI9B,WAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,WAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,SAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,OAAY,CAAC,EAAE,MAAM,CAAE;IAEvB,aAAc,CAAC,EAAE,UAAU,CAAE;CAChC"} \ No newline at end of file diff --git a/lib.esm/providers/formatting.js.map b/lib.esm/providers/formatting.js.map index 86a8cabf..799b4426 100644 --- a/lib.esm/providers/formatting.js.map +++ b/lib.esm/providers/formatting.js.map @@ -1 +1 @@ -{"version":3,"file":"formatting.js","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgHF,CAAC;AAuSD,CAAC"} \ No newline at end of file +{"version":3,"file":"formatting.js","sourceRoot":"","sources":["../../src.ts/providers/formatting.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgHF,CAAC;AAoRD,CAAC"} \ No newline at end of file diff --git a/lib.esm/providers/provider-jsonrpc.d.ts.map b/lib.esm/providers/provider-jsonrpc.d.ts.map index 4df77bd0..24a10911 100644 --- a/lib.esm/providers/provider-jsonrpc.d.ts.map +++ b/lib.esm/providers/provider-jsonrpc.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"provider-jsonrpc.d.ts","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"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;IAWlG,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,UAAU;IAK7C,cAAc,IAAI,YAAY;IAIxB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IAS5E,KAAK,CAAC,OAAO,EAAE,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;CAa9F"} \ No newline at end of file diff --git a/lib.esm/providers/provider-jsonrpc.js b/lib.esm/providers/provider-jsonrpc.js index abc6a125..5d6e7703 100644 --- a/lib.esm/providers/provider-jsonrpc.js +++ b/lib.esm/providers/provider-jsonrpc.js @@ -748,6 +748,7 @@ export class JsonRpcApiProvider extends AbstractProvider { * * Throws if the account doesn't exist. */ + // Works only if using a local node or browser wallet for this, otherwise cannot get accounts async getSigner(address) { if (address == null) { address = 0; diff --git a/lib.esm/providers/provider-jsonrpc.js.map b/lib.esm/providers/provider-jsonrpc.js.map index 4f0974b6..1dd05a95 100644 --- a/lib.esm/providers/provider-jsonrpc.js.map +++ b/lib.esm/providers/provider-jsonrpc.js.map @@ -1 +1 @@ -{"version":3,"file":"provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,SAAS;AACT,yBAAyB;AAEzB,yQAAyQ;AAEzQ,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EACH,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,U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AAE;QAC5B,IAAI;YACA,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;SACzC;QAAC,OAAO,KAAK,EAAE,GAAG;KACtB;IAED,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,eAAe,CAAC,KAAU,EAAE,MAAqB;IACtD,IAAI,KAAK,IAAI,IAAI,EAAE;QAAE,OAAO;KAAE;IAE9B,4CAA4C;IAC5C,IAAI,OAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,QAAQ,EAAE;QACpC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KAC9B;IAED,qBAAqB;IACrB,IAAI,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;QAC5B,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;YACrB,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC;SACvC;KACJ;IAED,mDAAmD;IACnD,IAAI,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;QAC5B,IAAI;YACA,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;SACrD;QAAC,OAAO,KAAK,EAAE,GAAG;KACtB;AACL,CAAC;AAED,SAAS,cAAc,CAAC,KAAU;IAC9B,MAAM,MAAM,GAAkB,EAAG,CAAC;IAClC,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,MAAM,CAAC;AAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"provider-jsonrpc.js","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,SAAS;AACT,yBAAyB;AAEzB,yQAAyQ;AAEzQ,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,cAAc,EAA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m/providers/provider.d.ts index 4db385cd..7a583bca 100644 --- a/lib.esm/providers/provider.d.ts +++ b/lib.esm/providers/provider.d.ts @@ -600,13 +600,6 @@ export declare class TransactionReceipt implements TransactionReceiptParams, Ite * backfill this value. */ readonly status: null | number; - /** - * The root hash of this transaction. - * - * This is no present and was only included in pre-byzantium blocks, but - * could be used to validate certain parts of the receipt. - */ - readonly root: null | string; readonly etxs: ReadonlyArray; /** * @_ignore: diff --git a/lib.esm/providers/provider.d.ts.map b/lib.esm/providers/provider.d.ts.map index 6aadf882..90810b81 100644 --- a/lib.esm/providers/provider.d.ts.map +++ b/lib.esm/providers/provider.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src.ts/providers/provider.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAK5C;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,MAAM,CAAC;AAE7C,OAAO,EACH,WAAW,EAAE,SAAS,EAAE,wBAAwB,EAChD,yBAAyB,EAC5B,MAAM,iBAAiB,CAAC;AAgBzB;;;GAGG;AACH,qBAAa,OAAO;IAChB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAG,IAAI,GAAG,MAAM,CAAC;IAElC;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,YAAY,EAAG,IAAI,GAAG,MAAM,CAAC;I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AO,CAAC,mBAAmB,CAAC,CAAC;IAMrE;;;;;;;OAOG;IACH,QAAQ,CAAC,mBAAmB,EAAE,QAAQ,GAAG,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC;IAE/F;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,mBAAmB,CAAC,CAAC;IAElE;;;;;;OAMG;IACH,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC;IAExE;;;;;OAKG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC;IAM3D;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAMjE;;;OAGG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC;IAErD;;;;;;OAMG;IACH,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC;IAEvD;;;OAGG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC;IAE1G;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACrD"} \ No newline at end of file diff --git a/lib.esm/providers/provider.js b/lib.esm/providers/provider.js index 8b6baace..00520625 100644 --- a/lib.esm/providers/provider.js +++ b/lib.esm/providers/provider.js @@ -613,19 +613,6 @@ export class Log { } ////////////////////// // Transaction Receipt -/* -export interface LegacyTransactionReceipt { - byzantium: false; - status: null; - root: string; -} - -export interface ByzantiumTransactionReceipt { - byzantium: true; - status: number; - root: null; -} -*/ /** * A **TransactionReceipt** includes additional information about a * transaction that is only available after it has been mined. @@ -717,7 +704,6 @@ export class TransactionReceipt { * This is no present and was only included in pre-byzantium blocks, but * could be used to validate certain parts of the receipt. */ - root; #logs; etxs; /** @@ -751,7 +737,6 @@ export class TransactionReceipt { type: tx.type, //byzantium: tx.byzantium, status: tx.status, - root: tx.root }); } /** @@ -763,7 +748,7 @@ export class TransactionReceipt { */ toJSON() { const { to, from, contractAddress, hash, index, blockHash, blockNumber, logsBloom, logs, //byzantium, - status, root } = this; + status } = this; return { _type: "TransactionReceipt", blockHash, blockNumber, @@ -773,7 +758,7 @@ export class TransactionReceipt { from, gasPrice: toJson(this.gasPrice), gasUsed: toJson(this.gasUsed), - hash, index, logs, logsBloom, root, status, to + hash, index, logs, logsBloom, status, to }; } /** diff --git a/lib.esm/providers/provider.js.map b/lib.esm/providers/provider.js.map index 85c56974..aaa1936a 100644 --- a/lib.esm/providers/provider.js.map +++ b/lib.esm/providers/provider.js.map @@ -1 +1 @@ -{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src.ts/providers/provider.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EACH,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAiB,EAClE,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAC7C,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAWxD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAsBvB,0BAA0B;AAE1B,SAAS,QAAQ,CAAI,KAA2B;IAC5C,IAAI,KAAK,IAAI,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;KAAE;IACnC,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAS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AE,EAAE,EAAE,KAAK,EAAE,CAAC;AACxD,CAAC;AAED,SAAS,8BAA8B,CAAC,EAA4D;IAChG,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC9C,CAAC;AAED,SAAS,sBAAsB,CAAC,GAAqJ;IACjL,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE;YAC9B,eAAe,EAAE,GAAG,CAAC,eAAe;YACpC,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACzC,KAAK,EAAE,GAAG,CAAC,KAAK;SACnB,EAAE,CAAC;AACR,CAAC"} \ No newline at end of file +{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src.ts/providers/provider.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EACH,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAiB,EAClE,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAC7C,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAWxD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAsBvB,0BAA0B;AAE1B,SAAS,QAAQ,CAAI,KAA2B;IAC5C,IAAI,KAAK,IAAI,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;KAAE;IACnC,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAS,MAAM,CAAC,KAAoB;IAChC,IAAI,KAAK,IAAI,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;KAAE;IACnC,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;AAC5B,CAAC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C9B,eAAe,EAAE,GAAG,CAAC,eAAe;YACpC,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACzC,KAAK,EAAE,GAAG,CAAC,KAAK;SACnB,EAAE,CAAC;AACR,CAAC"} \ No newline at end of file diff --git a/lib.esm/transaction/transaction.d.ts.map b/lib.esm/transaction/transaction.d.ts.map index 989b6c20..ed07d2eb 100644 --- a/lib.esm/transaction/transaction.d.ts.map +++ b/lib.esm/transaction/transaction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,SAAS,EAAc,MAAM,oBAAoB,CAAC;AAStE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAU5D,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,MAAM;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE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MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,GAAG,WAAW;CAkDlE"} \ No newline at end of file +{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,SAAS,EAAc,MAAM,oBAAoB,CAAC;AAStE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAU5D,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,MAAM;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE/B;;OAEG;IACH,oBAAoB,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE3C;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAEnC;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,aAAa,CAAC;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AI,GAAG,aAAa,EAEjD;IAID;;OAEG;;IAqBH;;OAEG;IACH,IAAI,IAAI,IAAI,IAAI,GAAG,MAAM,CAGxB;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,IAAI,GAAG,MAAM,CAGxB;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,IAAI,GAAG,MAAM,CAGjC;IAED;;;;;OAKG;IACH,QAAQ,IAAI,IAAI,IAAI,CAAC,WAAW,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,SAAS,CAAA;KAAE,CAAC;IAK1G;;;;;OAKG;IACH,IAAI,UAAU,IAAI,MAAM,CAavB;IAED;;;;;OAKG;IACH,IAAI,kBAAkB,IAAI,MAAM,CAW/B;IAED;;;OAGG;IACH,SAAS,IAAI,MAAM;IAInB;;;OAGG;IACH,UAAU,IAAI,KAAK,CAAC,MAAM,CAAC;IAyC3B;;OAEG;IACH,KAAK,IAAI,WAAW;IAIpB;;OAEG;IACH,MAAM,IAAI,GAAG;IA4Bb;;;OAGG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,GAAG,WAAW;CAgDlE"} \ No newline at end of file diff --git a/lib.esm/transaction/transaction.js b/lib.esm/transaction/transaction.js index 682fc3c1..98495998 100644 --- a/lib.esm/transaction/transaction.js +++ b/lib.esm/transaction/transaction.js @@ -73,7 +73,6 @@ function _parse(data) { nonce: handleNumber(fields[1], "nonce"), maxPriorityFeePerGas: maxPriorityFeePerGas, maxFeePerGas: maxFeePerGas, - gasPrice: null, gasLimit: handleUint(fields[4], "gasLimit"), to: handleAddress(fields[5]), value: handleUint(fields[6], "value"), @@ -99,7 +98,6 @@ function _parseStandardETx(data) { nonce: handleNumber(fields[1], "nonce"), maxPriorityFeePerGas: maxPriorityFeePerGas, maxFeePerGas: maxFeePerGas, - gasPrice: null, gasLimit: handleUint(fields[4], "gasLimit"), to: handleAddress(fields[5]), value: handleUint(fields[6], "value"), @@ -602,9 +600,6 @@ export class Transaction { if (tx.gasLimit != null) { result.gasLimit = tx.gasLimit; } - if (tx.gasPrice != null) { - result.gasPrice = tx.gasPrice; - } if (tx.maxPriorityFeePerGas != null) { result.maxPriorityFeePerGas = tx.maxPriorityFeePerGas; } diff --git a/lib.esm/transaction/transaction.js.map b/lib.esm/transaction/transaction.js.map index f597e562..5a72f0d1 100644 --- a/lib.esm/transaction/transaction.js.map +++ b/lib.esm/transaction/transaction.js.map @@ -1 +1 @@ -{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EACH,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EACrE,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAClD,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAQ9C,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AACvB,0BAA0B;AAC1B,2BAA2B;AAC3B,2BAA2B;AAC3B,4BAA4B;AAC5B,MAAM,WAAW,GAAG,MAAM,CAAC,oEAAoE,CAAC,CAAC;AAoGjG,SAAS,aAAa,CAAC,KAAa;IAChC,IAAI,KAAK,KAAK,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;KAAE;IACpC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;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AAY,CAAC;SAAE;QACvE,IAAI,EAAE,CAAC,kBAAkB,IAAI,IAAI,EAAE;YAAE,MAAM,CAAC,kBAAkB,GAAG,EAAE,CAAC,kBAAkB,CAAC;SAAE;QAGzF,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE;YACjB,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,cAAc,CAAC,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SACtE;QAED,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE;YACjB,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SAC1G;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src.ts/transaction/transaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EACH,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EACrE,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAClD,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAQ9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AAE;YAAE,MAAM,CAAC,cAAc,GAAG,EAAE,CAAC,cAAc,CAAC;SAAE;QAC7E,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;YAAE,MAAM,CAAC,YAAY,GAAG,EAAE,CAAC,YAAY,CAAC;SAAE;QACvE,IAAI,EAAE,CAAC,kBAAkB,IAAI,IAAI,EAAE;YAAE,MAAM,CAAC,kBAAkB,GAAG,EAAE,CAAC,kBAAkB,CAAC;SAAE;QAGzF,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE;YACjB,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,cAAc,CAAC,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SACtE;QAED,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE;YACjB,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,yCAAyC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACvF,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;SAC1G;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"} \ No newline at end of file diff --git a/lib.esm/utils/shards.js b/lib.esm/utils/shards.js index 6ea70043..cb822c54 100644 --- a/lib.esm/utils/shards.js +++ b/lib.esm/utils/shards.js @@ -1,10 +1,10 @@ -import { ShardData } from "../constants"; +import { ShardData } from "../constants/shards.js"; export function getShardForAddress(address) { if (address.length < 4) return null; const byteCode = address.substring(2, 4).toUpperCase(); for (const shardInfo of ShardData) { - if (byteCode >= shardInfo.byte[0] && byteCode <= shardInfo.byte[1]) { + if (byteCode >= shardInfo.byte[0].toUpperCase() && byteCode <= shardInfo.byte[1].toUpperCase()) { return shardInfo.shard; } } diff --git a/lib.esm/utils/shards.js.map b/lib.esm/utils/shards.js.map index a14516ef..4c897f51 100644 --- a/lib.esm/utils/shards.js.map +++ b/lib.esm/utils/shards.js.map @@ -1 +1 @@ -{"version":3,"file":"shards.js","sourceRoot":"","sources":["../../src.ts/utils/shards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,MAAM,UAAU,kBAAkB,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACvD,KAAK,MAAM,SAAS,IAAI,SAAS,EAAE;QAC/B,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAChE,OAAO,SAAS,CAAC,KAAK,CAAC;SAC1B;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,IAAmB,EAAG,EAAiB;IAC7D,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,OAAO,GAAG,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAEvC,IAAI,SAAS,KAAK,IAAI,IAAI,OAAO,KAAK,IAAI,EAAE;QACxC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACzD;IAED,OAAO,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file +{"version":3,"file":"shards.js","sourceRoot":"","sources":["../../src.ts/utils/shards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,MAAM,UAAU,kBAAkB,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACvD,KAAK,MAAM,SAAS,IAAI,SAAS,EAAE;QAC/B,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE;YAC5F,OAAO,SAAS,CAAC,KAAK,CAAC;SAC1B;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,IAAmB,EAAG,EAAiB;IAC7D,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,OAAO,GAAG,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAEvC,IAAI,SAAS,KAAK,IAAI,IAAI,OAAO,KAAK,IAAI,EAAE;QACxC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACzD;IAED,OAAO,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0c0cae72..e82c90d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "quais", - "version": "6.8.1", + "name": "quais6", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "quais", - "version": "6.8.1", + "name": "quais6", + "version": "0.0.1", "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.0", @@ -14,6 +14,7 @@ "@noble/hashes": "1.3.2", "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", + "dotenv": "^16.4.1", "tslib": "2.4.0", "ws": "8.5.0" }, @@ -68,9 +69,9 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.21", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.21.tgz", - "integrity": "sha512-SRfKmRe1KvYnxjEMtxEr+J4HIeMX5YBg/qhRHpxEIGjhX1rshcHlnFUE9K0GazhVKWM7B+nARSkV8LuvJdJ5/g==", + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", + "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -487,6 +488,17 @@ "node": ">=0.3.1" } }, + "node_modules/dotenv": { + "version": "16.4.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.1.tgz", + "integrity": "sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", diff --git a/package.json b/package.json index 4c2dcb1f..964be71e 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@noble/hashes": "1.3.2", "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", + "dotenv": "^16.4.1", "tslib": "2.4.0", "ws": "8.5.0" }, diff --git a/src.ts/_tests/contracts/QRC20.ts b/src.ts/_tests/contracts/QRC20.ts new file mode 100644 index 00000000..936c3338 --- /dev/null +++ b/src.ts/_tests/contracts/QRC20.ts @@ -0,0 +1,480 @@ +const QRC20 = { + "_format": "hh-sol-artifact-1", + "contractName": "QRC20", + "sourceName": "contracts/QRC20.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint256", + "name": "initialSupply_", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "ExternalTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint8[]", + "name": "chain", + "type": "uint8[]" + }, + { + "internalType": "address[]", + "name": "addr", + "type": "address[]" + } + ], + "name": "AddApprovedAddresses", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "ApprovedAddresses", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "Ranges", + "outputs": [ + { + "internalType": "uint8", + "name": "low", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "high", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minerTip", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "baseFee", + "type": "uint256" + } + ], + "name": "crossChainTransfer", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "getAddressLocation", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "incomingTransfer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "a", + "type": "address" + } + ], + "name": "toBytes", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "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": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60806040523480156200001157600080fd5b5060405162001f7238038062001f72833981016040819052620000349162000325565b600f62000042848262000426565b50601062000051838262000426565b50601180546001600160a01b03191633908117909155819062000075908262000195565b505060408051808201825260008152601d60209182015260128054611d0061ffff199182161790915582518084018452601e8152603a90830152601380548216613a1e17905582518084018452603b815260579083015260148054821661573b17905582518084018452605881526073908301526015805482166173581790558251808401845260748152608f90830152601680548216618f74179055825180840184526090815260ab9083015260178054821661ab901790558251808401845260ac815260c79083015260188054821661c7ac1790558251808401845260c8815260e39083015260198054821661e3c8179055825180840190935260e4835260ff9290910191909152601a805490911661ffe4179055506200051a9050565b6001600160a01b038216620001f05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600e6000828254620002049190620004f2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028857600080fd5b81516001600160401b0380821115620002a557620002a562000260565b604051601f8301601f19908116603f01168101908282118183101715620002d057620002d062000260565b81604052838152602092508683858801011115620002ed57600080fd5b600091505b83821015620003115785820183015181830184015290820190620002f2565b600093810190920192909252949350505050565b6000806000606084860312156200033b57600080fd5b83516001600160401b03808211156200035357600080fd5b620003618783880162000276565b945060208601519150808211156200037857600080fd5b50620003878682870162000276565b925050604084015190509250925092565b600181811c90821680620003ad57607f821691505b602082108103620003ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025b57600081815260208120601f850160051c81016020861015620003fd5750805b601f850160051c820191505b818110156200041e5782815560010162000409565b505050505050565b81516001600160401b0381111562000442576200044262000260565b6200045a8162000453845462000398565b84620003d4565b602080601f831160018114620004925760008415620004795750858301515b600019600386901b1c1916600185901b1785556200041e565b600085815260208120601f198616915b82811015620004c357888601518255948401946001909101908401620004a2565b5085821015620004e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200051457634e487b7160e01b600052601160045260246000fd5b92915050565b611a48806200052a6000396000f3fe6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea26469706673582212204c6dd8a18c56cd6389a7fc7f0bf473d092abcc9aec3ae408859c35bbcc52713e64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x6080604052600436106101295760003560e01c8063593b79fe116100a5578063a457c2d711610074578063a9059cbb11610059578063a9059cbb14610375578063bc472aa314610395578063dd62ed3e146103cd57600080fd5b8063a457c2d714610335578063a534d9de1461035557600080fd5b8063593b79fe1461028657806370a08231146102d757806373cddab21461030d57806395d89b411461032057600080fd5b806323b872dd116100fc57806339509351116100e1578063395093511461020c578063399444bc1461022c578063429437bf1461024c57600080fd5b806323b872dd146101ca578063313ce567146101ea57600080fd5b806306fdde031461012e578063095ea7b31461015957806318160ddd1461018957806320e8dd93146101a8575b600080fd5b34801561013a57600080fd5b50610143610413565b60405161015091906115a8565b60405180910390f35b34801561016557600080fd5b506101796101743660046115de565b6104a5565b6040519015158152602001610150565b34801561019557600080fd5b50600e545b604051908152602001610150565b3480156101b457600080fd5b506101c86101c33660046115de565b6104bc565b005b3480156101d657600080fd5b506101796101e5366004611608565b61056d565b3480156101f657600080fd5b5060125b60405160ff9091168152602001610150565b34801561021857600080fd5b506101796102273660046115de565b61058f565b34801561023857600080fd5b506101fa610247366004611644565b6105ce565b34801561025857600080fd5b5061026c61026736600461165f565b6106e5565b6040805160ff938416815292909116602083015201610150565b34801561029257600080fd5b506101436102a1366004611644565b604051606082811b6bffffffffffffffffffffffff19166020830152906034016040516020818303038152906040529050919050565b3480156102e357600080fd5b5061019a6102f2366004611644565b6001600160a01b031660009081526020819052604090205490565b6101c861031b366004611678565b610708565b34801561032c57600080fd5b5061014361094c565b34801561034157600080fd5b506101796103503660046115de565b61095b565b34801561036157600080fd5b506101c8610370366004611706565b610a10565b34801561038157600080fd5b506101796103903660046115de565b610ce1565b3480156103a157600080fd5b506103b56103b036600461165f565b610cee565b6040516001600160a01b039091168152602001610150565b3480156103d957600080fd5b5061019a6103e8366004611772565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600f8054610422906117a5565b80601f016020809104026020016040519081016040528092919081815260200182805461044e906117a5565b801561049b5780601f106104705761010080835404028352916020019161049b565b820191906000526020600020905b81548152906001019060200180831161047e57829003601f168201915b5050505050905090565b60006104b2338484610d0e565b5060015b92915050565b3360026104c8826105ce565b60ff16600c81106104db576104db6117df565b01546040516bffffffffffffffffffffffff193360601b1660208201526001600160a01b03909116919091149060340160408051601f1981840301815290829052610528916020016117f5565b6040516020818303038152906040529061055e5760405162461bcd60e51b815260040161055591906115a8565b60405180910390fd5b506105698282610edc565b5050565b600061057a843384610f9b565b61058584848461102d565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061058590829086906105c9908790611877565b610d0e565b604080516bffffffffffffffffffffffff19606084901b1660208201528151601481830301815260349091019091526000908190600081518110610614576106146117df565b016020015160f81c905060005b60098160ff16101561069c5760128160ff16600d8110610643576106436117df565b015460ff9081169083161080159061067e575060128160ff16600d811061066c5761066c6117df565b015460ff610100909104811690831611155b1561068a579392505050565b806106948161188a565b915050610621565b5060405162461bcd60e51b815260206004820152601060248201527f496e76616c6964204c6f636174696f6e000000000000000000000000000000006044820152606401610555565b601281600d81106106f557600080fd5b015460ff80821692506101009091041682565b84f780156107585760405162461bcd60e51b815260206004820152601760248201527f41646472657373206973206e6f742065787465726e616c0000000000000000006044820152606401610555565b610762338661128f565b6000600261076f886105ce565b60ff16600c8110610782576107826117df565b01546001600160a01b03169050806108025760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e206973206e6f7420617661696c61626c65206f6e2074686520646560448201527f7374696e6174696f6e20636861696e00000000000000000000000000000000006064820152608401610555565b60008561080f8686611877565b61081991906118a9565b905080341015610828826113f8565b60405160200161083891906118c0565b604051602081830303815290604052906108655760405162461bcd60e51b815260040161055591906115a8565b506040516001600160a01b03891660248201526044810188905260009060640160408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f20e8dd930000000000000000000000000000000000000000000000000000000017815281519192506000918291829190898b8d858b81f69050896001600160a01b0316336001600160a01b03167fcf0ee562475620bbcd2f1b0675c8163317513271e4fdbbe9722436f247bd6d998b60405161093891815260200190565b60405180910390a350505050505050505050565b606060108054610422906117a5565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610555565b610a058286868403610d0e565b506001949350505050565b6011546001600160a01b03163314610a6a5760405162461bcd60e51b815260206004820152601660248201527f53656e646572206973206e6f74206465706c6f796572000000000000000000006044820152606401610555565b828114610adf5760405162461bcd60e51b815260206004820152603060248201527f636861696e20616e64206164647265737320617272617973206d75737420626560448201527f207468652073616d65206c656e677468000000000000000000000000000000006064820152608401610555565b60005b60ff8116841115610cda57600985858360ff16818110610b0457610b046117df565b9050602002016020810190610b199190611952565b60ff1610610b695760405162461bcd60e51b815260206004820152600b60248201527f4d61782039207a6f6e65730000000000000000000000000000000000000000006044820152606401610555565b60006002868660ff8516818110610b8257610b826117df565b9050602002016020810190610b979190611952565b60ff16600c8110610baa57610baa6117df565b01546001600160a01b031614610c285760405162461bcd60e51b815260206004820152603160248201527f54686520617070726f766564206164647265737320666f722074686973207a6f60448201527f6e6520616c7265616479206578697374730000000000000000000000000000006064820152608401610555565b82828260ff16818110610c3d57610c3d6117df565b9050602002016020810190610c529190611644565b600286868460ff16818110610c6957610c696117df565b9050602002016020810190610c7e9190611952565b60ff16600c8110610c9157610c916117df565b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039290921691909117905580610cd28161188a565b915050610ae2565b5050505050565b60006104b233848461102d565b600281600c8110610cfe57600080fd5b01546001600160a01b0316905081565b81f780610d835760405162461bcd60e51b815260206004820152603f60248201527f5370656e64657220616464726573732069732065787465726e616c2e2055736560448201527f2063726f73732d636861696e207472616e736665722066756e6374696f6e2e006064820152608401610555565b6001600160a01b038416610dfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038316610e7a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0384811660008181526001602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6001600160a01b038216610f325760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610555565b80600e6000828254610f449190611877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611027578181101561101a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610555565b6110278484848403610d0e565b50505050565b81f7806110a25760405162461bcd60e51b815260206004820152603760248201527f416464726573732069732065787465726e616c2e205573652063726f73732d6360448201527f6861696e207472616e736665722066756e6374696f6e2e0000000000000000006064820152608401610555565b6001600160a01b03841661111e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03831661119a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b038416600090815260208190526040902054828110156112295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b03858116600081815260208181526040808320888703905593881680835291849020805488019055925186815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cda565b6001600160a01b03821661130b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610555565b6001600160a01b0383166000818152602081815260408083208686039055600e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60608160000361143b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611465578061144f81611975565b915061145e9050600a8361198e565b915061143f565b60008167ffffffffffffffff811115611480576114806119b0565b6040519080825280601f01601f1916602001820160405280156114aa576020820181803683370190505b509050815b851561154f576114c06001826119c6565b905060006114cf600a8861198e565b6114da90600a6118a9565b6114e490886119c6565b6114ef9060306119d9565b905060008160f81b90508084848151811061150c5761150c6117df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611546600a8961198e565b975050506114af565b50949350505050565b60005b8381101561157357818101518382015260200161155b565b50506000910152565b60008151808452611594816020860160208601611558565b601f01601f19169290920160200192915050565b6020815260006115bb602083018461157c565b9392505050565b80356001600160a01b03811681146115d957600080fd5b919050565b600080604083850312156115f157600080fd5b6115fa836115c2565b946020939093013593505050565b60008060006060848603121561161d57600080fd5b611626846115c2565b9250611634602085016115c2565b9150604084013590509250925092565b60006020828403121561165657600080fd5b6115bb826115c2565b60006020828403121561167157600080fd5b5035919050565b600080600080600060a0868803121561169057600080fd5b611699866115c2565b97602087013597506040870135966060810135965060800135945092505050565b60008083601f8401126116cc57600080fd5b50813567ffffffffffffffff8111156116e457600080fd5b6020830191508360208260051b85010111156116ff57600080fd5b9250929050565b6000806000806040858703121561171c57600080fd5b843567ffffffffffffffff8082111561173457600080fd5b611740888389016116ba565b9096509450602087013591508082111561175957600080fd5b50611766878288016116ba565b95989497509550505050565b6000806040838503121561178557600080fd5b61178e836115c2565b915061179c602084016115c2565b90509250929050565b600181811c908216806117b957607f821691505b6020821081036117d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b7f53656e646572200000000000000000000000000000000000000000000000000081526000825161182d816007850160208701611558565b7f206e6f7420617070726f766564000000000000000000000000000000000000006007939091019283015250601401919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104b6576104b6611861565b600060ff821660ff81036118a0576118a0611861565b60010192915050565b80820281158282048414176104b6576104b6611861565b7f4e6f7420656e6f756768206761732073656e742c206e656564206174206c656181527f737420000000000000000000000000000000000000000000000000000000000060208201526000825161191e816023850160208701611558565b7f20776569000000000000000000000000000000000000000000000000000000006023939091019283015250602701919050565b60006020828403121561196457600080fd5b813560ff811681146115bb57600080fd5b60006001820161198757611987611861565b5060010190565b6000826119ab57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b818103818111156104b6576104b6611861565b60ff81811683821601908111156104b6576104b661186156fea26469706673582212204c6dd8a18c56cd6389a7fc7f0bf473d092abcc9aec3ae408859c35bbcc52713e64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +} + + +export default QRC20; \ No newline at end of file diff --git a/src.ts/_tests/contracts/TestContract.ts b/src.ts/_tests/contracts/TestContract.ts new file mode 100644 index 00000000..dfb1bae1 --- /dev/null +++ b/src.ts/_tests/contracts/TestContract.ts @@ -0,0 +1,205 @@ +const TestContract = { + "_format": "hh-sol-artifact-1", + "contractName": "TestContract", + "sourceName": "contracts/Test.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "CustomError1", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "value", + "type": "address" + } + ], + "name": "EventAddress", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "value", + "type": "bytes" + } + ], + "name": "EventBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "value", + "type": "string" + } + ], + "name": "EventString", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "EventUint256", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "testCallAdd", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "pass", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "testCustomError1", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "pass", + "type": "bool" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "testErrorString", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "valueUint256", + "type": "uint256" + }, + { + "internalType": "address", + "name": "valueAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "valueString", + "type": "string" + }, + { + "internalType": "bytes", + "name": "valueBytes", + "type": "bytes" + } + ], + "name": "testEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "code", + "type": "uint256" + } + ], + "name": "testPanic", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061058d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063c8d6fda711610050578063c8d6fda7146100a4578063db734248146100b9578063f24684e5146100cc57600080fd5b80633da613681461006c578063b206699b14610091575b600080fd5b61007f61007a3660046102aa565b6100df565b60405190815260200160405180910390f35b61007f61009f366004610321565b61013a565b6100b76100b2366004610374565b610167565b005b61007f6100c7366004610419565b61024d565b61007f6100da366004610473565b610295565b6000816000036101365760405162461bcd60e51b815260206004820152601360248201527f50616e69633a20636f6465206973207a65726f0000000000000000000000000060448201526064015b60405180910390fd5b5090565b600082828561015d5760405162461bcd60e51b815260040161012d9291906104be565b5091949350505050565b60405186907f85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea33790600090a260405173ffffffffffffffffffffffffffffffffffffffff8616907f52cb491081609a3d8c50cb8d5c1395de748f65789fc66e140e795decadd86c3090600090a27f7240e2f75cccc64acf37f699b7cc2726ccd9c0ed8afeafdbf7911af78d077bad84846040516102049291906104be565b60405180910390a17f06e852ba9138ee18ce13f482908b8634bc29d809282ea568cf505aca412b195e828260405161023d9291906104be565b60405180910390a1505050505050565b60008461028c578383836040517f180c751a00000000000000000000000000000000000000000000000000000000815260040161012d939291906104da565b50919392505050565b60006102a182846104fd565b90505b92915050565b6000602082840312156102bc57600080fd5b5035919050565b803580151581146102d357600080fd5b919050565b60008083601f8401126102ea57600080fd5b50813567ffffffffffffffff81111561030257600080fd5b60208301915083602082850101111561031a57600080fd5b9250929050565b60008060006040848603121561033657600080fd5b61033f846102c3565b9250602084013567ffffffffffffffff81111561035b57600080fd5b610367868287016102d8565b9497909650939450505050565b6000806000806000806080878903121561038d57600080fd5b86359550602087013573ffffffffffffffffffffffffffffffffffffffff811681146103b857600080fd5b9450604087013567ffffffffffffffff808211156103d557600080fd5b6103e18a838b016102d8565b909650945060608901359150808211156103fa57600080fd5b5061040789828a016102d8565b979a9699509497509295939492505050565b6000806000806060858703121561042f57600080fd5b610438856102c3565b935060208501359250604085013567ffffffffffffffff81111561045b57600080fd5b610467878288016102d8565b95989497509550505050565b6000806040838503121561048657600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006104d2602083018486610495565b949350505050565b8381526040602082015260006104f4604083018486610495565b95945050505050565b808201808211156102a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aa52c22ce2f4a856b56d32ae58c6b41a9dba4c7aed43a0872ffa898f157e67b564736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c8063c8d6fda711610050578063c8d6fda7146100a4578063db734248146100b9578063f24684e5146100cc57600080fd5b80633da613681461006c578063b206699b14610091575b600080fd5b61007f61007a3660046102aa565b6100df565b60405190815260200160405180910390f35b61007f61009f366004610321565b61013a565b6100b76100b2366004610374565b610167565b005b61007f6100c7366004610419565b61024d565b61007f6100da366004610473565b610295565b6000816000036101365760405162461bcd60e51b815260206004820152601360248201527f50616e69633a20636f6465206973207a65726f0000000000000000000000000060448201526064015b60405180910390fd5b5090565b600082828561015d5760405162461bcd60e51b815260040161012d9291906104be565b5091949350505050565b60405186907f85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea33790600090a260405173ffffffffffffffffffffffffffffffffffffffff8616907f52cb491081609a3d8c50cb8d5c1395de748f65789fc66e140e795decadd86c3090600090a27f7240e2f75cccc64acf37f699b7cc2726ccd9c0ed8afeafdbf7911af78d077bad84846040516102049291906104be565b60405180910390a17f06e852ba9138ee18ce13f482908b8634bc29d809282ea568cf505aca412b195e828260405161023d9291906104be565b60405180910390a1505050505050565b60008461028c578383836040517f180c751a00000000000000000000000000000000000000000000000000000000815260040161012d939291906104da565b50919392505050565b60006102a182846104fd565b90505b92915050565b6000602082840312156102bc57600080fd5b5035919050565b803580151581146102d357600080fd5b919050565b60008083601f8401126102ea57600080fd5b50813567ffffffffffffffff81111561030257600080fd5b60208301915083602082850101111561031a57600080fd5b9250929050565b60008060006040848603121561033657600080fd5b61033f846102c3565b9250602084013567ffffffffffffffff81111561035b57600080fd5b610367868287016102d8565b9497909650939450505050565b6000806000806000806080878903121561038d57600080fd5b86359550602087013573ffffffffffffffffffffffffffffffffffffffff811681146103b857600080fd5b9450604087013567ffffffffffffffff808211156103d557600080fd5b6103e18a838b016102d8565b909650945060608901359150808211156103fa57600080fd5b5061040789828a016102d8565b979a9699509497509295939492505050565b6000806000806060858703121561042f57600080fd5b610438856102c3565b935060208501359250604085013567ffffffffffffffff81111561045b57600080fd5b610467878288016102d8565b95989497509550505050565b6000806040838503121561048657600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006104d2602083018486610495565b949350505050565b8381526040602082015260006104f4604083018486610495565b95945050505050565b808201808211156102a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aa52c22ce2f4a856b56d32ae58c6b41a9dba4c7aed43a0872ffa898f157e67b564736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +} + +export default TestContract; \ No newline at end of file diff --git a/src.ts/_tests/contracts/TypedContract.ts b/src.ts/_tests/contracts/TypedContract.ts new file mode 100644 index 00000000..6972a575 --- /dev/null +++ b/src.ts/_tests/contracts/TypedContract.ts @@ -0,0 +1,1916 @@ +const TypedContract = { + "_format": "hh-sol-artifact-1", + "contractName": "TypedContract", + "sourceName": "contracts/TestTyped.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes24", + "name": "", + "type": "bytes24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int208", + "name": "", + "type": "int208" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint176", + "name": "", + "type": "uint176" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes9", + "name": "", + "type": "bytes9" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int72", + "name": "", + "type": "int72" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint200", + "name": "", + "type": "uint200" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes20", + "name": "", + "type": "bytes20" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int32", + "name": "", + "type": "int32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint216", + "name": "", + "type": "uint216" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint184", + "name": "", + "type": "uint184" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint152", + "name": "", + "type": "uint152" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int248", + "name": "", + "type": "int248" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint80", + "name": "", + "type": "uint80" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes28", + "name": "", + "type": "bytes28" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes30", + "name": "", + "type": "bytes30" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int120", + "name": "", + "type": "int120" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes21", + "name": "", + "type": "bytes21" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint104", + "name": "", + "type": "uint104" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int96", + "name": "", + "type": "int96" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint224", + "name": "", + "type": "uint224" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int168", + "name": "", + "type": "int168" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int200", + "name": "", + "type": "int200" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int184", + "name": "", + "type": "int184" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes14", + "name": "", + "type": "bytes14" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint192", + "name": "", + "type": "uint192" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes2", + "name": "", + "type": "bytes2" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint24", + "name": "", + "type": "uint24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int112", + "name": "", + "type": "int112" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes6", + "name": "", + "type": "bytes6" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes3", + "name": "", + "type": "bytes3" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes17", + "name": "", + "type": "bytes17" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int224", + "name": "", + "type": "int224" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int128", + "name": "", + "type": "int128" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes18", + "name": "", + "type": "bytes18" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int104", + "name": "", + "type": "int104" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes7", + "name": "", + "type": "bytes7" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes25", + "name": "", + "type": "bytes25" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint40", + "name": "", + "type": "uint40" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint120", + "name": "", + "type": "uint120" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint168", + "name": "", + "type": "uint168" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int136", + "name": "", + "type": "int136" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint248", + "name": "", + "type": "uint248" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes8", + "name": "", + "type": "bytes8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int192", + "name": "", + "type": "int192" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int216", + "name": "", + "type": "int216" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint240", + "name": "", + "type": "uint240" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint112", + "name": "", + "type": "uint112" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes29", + "name": "", + "type": "bytes29" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int80", + "name": "", + "type": "int80" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int176", + "name": "", + "type": "int176" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes31", + "name": "", + "type": "bytes31" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint208", + "name": "", + "type": "uint208" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint88", + "name": "", + "type": "uint88" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes10", + "name": "", + "type": "bytes10" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes16", + "name": "", + "type": "bytes16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int88", + "name": "", + "type": "int88" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes12", + "name": "", + "type": "bytes12" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes27", + "name": "", + "type": "bytes27" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int64", + "name": "", + "type": "int64" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint136", + "name": "", + "type": "uint136" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint232", + "name": "", + "type": "uint232" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes26", + "name": "", + "type": "bytes26" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes5", + "name": "", + "type": "bytes5" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint48", + "name": "", + "type": "uint48" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int40", + "name": "", + "type": "int40" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint96", + "name": "", + "type": "uint96" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint160", + "name": "", + "type": "uint160" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int8", + "name": "", + "type": "int8" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint72", + "name": "", + "type": "uint72" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int232", + "name": "", + "type": "int232" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int16", + "name": "", + "type": "int16" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes15", + "name": "", + "type": "bytes15" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint56", + "name": "", + "type": "uint56" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes23", + "name": "", + "type": "bytes23" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int240", + "name": "", + "type": "int240" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int160", + "name": "", + "type": "int160" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint128", + "name": "", + "type": "uint128" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int48", + "name": "", + "type": "int48" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes13", + "name": "", + "type": "bytes13" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes22", + "name": "", + "type": "bytes22" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes19", + "name": "", + "type": "bytes19" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int152", + "name": "", + "type": "int152" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint144", + "name": "", + "type": "uint144" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int24", + "name": "", + "type": "int24" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes11", + "name": "", + "type": "bytes11" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int56", + "name": "", + "type": "int56" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int144", + "name": "", + "type": "int144" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes1", + "name": "", + "type": "bytes1" + } + ], + "name": "testTyped", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506134a7806100206000396000f3fe608060405234801561001057600080fd5b506004361061065c5760003560e01c8063a202e8c011610345578063cec31ded116101bd578063e96add8c11610104578063f3164597116100ad578063f85a090311610087578063f85a0903146120b7578063fa4d99c9146120fd578063fbf3e13a14612143578063fd1652cb1461218957600080fd5b8063f316459714611fe5578063f44076171461202b578063f7b0e3d51461207157600080fd5b8063eecd1129116100de578063eecd112914611f13578063ef4483be14611f59578063f0fb21ff14611f9f57600080fd5b8063e96add8c14611e41578063e9da42ca14611e87578063eb01940114611ecd57600080fd5b8063d92e6c0611610166578063e0fa6ea111610140578063e0fa6ea114611d6f578063e137fb7014611db5578063e8fb922314611dfb57600080fd5b8063d92e6c0614611c9d578063dad2ef4f14611ce3578063dafbc72414611d2957600080fd5b8063d4b789d811610197578063d4b789d814611bcb578063d4c0c48614611c11578063d7d7398414611c5757600080fd5b8063cec31ded14611af9578063d0e03b0714611b3f578063d20f679a14611b8557600080fd5b8063bbeb25e01161028c578063c233fd3311610235578063c84ad5801161020f578063c84ad580146119e1578063c8ddda4a14611a27578063cc69cf9714611a6d578063ccd94f9814611ab357600080fd5b8063c233fd331461190f578063c639604b14611955578063c847fe3b1461199b57600080fd5b8063c081607b11610266578063c081607b1461183d578063c1397e9914611883578063c1847bee146118c957600080fd5b8063bbeb25e01461176b578063bccdc9c4146117b1578063bf01c7f9146117f757600080fd5b8063ad87e2e1116102ee578063b860f47f116102c8578063b860f47f14611699578063ba607fac146116df578063bb73447f1461172557600080fd5b8063ad87e2e1146115c7578063b429b23c1461160d578063b7bab2861461165357600080fd5b8063a925e7621161031f578063a925e762146114f5578063a95d606e1461153b578063aa8de9461461158157600080fd5b8063a202e8c014611423578063a3ab9e7a14611469578063a6496f62146114af57600080fd5b806351e0489a116104d85780637c9affcb1161041f578063891a099d116103c85780639df2391c116103a25780639df2391c1461130b5780639faf388f146113515780639fcbede614611397578063a178b800146113dd57600080fd5b8063891a099d146112395780638e4884d11461127f5780639ded4e2b146112c557600080fd5b806381c4b4cc116103f957806381c4b4cc146111675780638275b290146111ad57806387ad7515146111f357600080fd5b80637c9affcb146110955780637fcc3d5d146110db578063803bf56d1461112157600080fd5b80636913a82b11610481578063769008e41161045b578063769008e414610fc35780637a3058c1146110095780637bc705c11461104f57600080fd5b80636913a82b14610ef15780636a678a7514610f3757806375b5533714610f7d57600080fd5b80636357d3b7116104b25780636357d3b714610e1f578063659665f914610e65578063679b530214610eab57600080fd5b806351e0489a14610d4d57806357301b0214610d935780635793d40814610dd957600080fd5b80632a0caa6a116105a7578063429545a4116105505780634961a7ce1161052a5780634961a7ce14610c355780634a3ccd5f14610c7b5780634fb7d4bd14610cc157806350fbcfb614610d0757600080fd5b8063429545a414610b6357806343c84f3314610ba957806346d79d1314610bef57600080fd5b806333c064151161058157806333c0641514610a9157806334bdbab714610ad75780634029cdee14610b1d57600080fd5b80632a0caa6a146109bf5780632a97dfbf14610a055780632f0d528b14610a4b57600080fd5b80631b46fa941161060957806325cb6b9a116105e357806325cb6b9a146108ed57806326888cda1461093357806328b01d811461097957600080fd5b80631b46fa941461081b5780631eb765fd1461086157806325bc2c82146108a757600080fd5b8063107810d51161063a578063107810d5146107495780631400a02f1461078f5780631a762a3a146107d557600080fd5b806303290450146106615780630e9ba011146106bd5780630f84821114610703575b600080fd5b6106a761066f3660046121cf565b5060408051808201909152600681527f75696e7433320000000000000000000000000000000000000000000000000000602082015290565b6040516106b491906121fc565b60405180910390f35b6106a76106cb36600461224a565b5060408051808201909152600781527f6279746573323400000000000000000000000000000000000000000000000000602082015290565b6106a7610711366004612275565b5060408051808201909152600681527f696e743230380000000000000000000000000000000000000000000000000000602082015290565b6106a7610757366004612298565b5060408051808201909152600781527f75696e7431373600000000000000000000000000000000000000000000000000602082015290565b6106a761079d3660046122d0565b5060408051808201909152600681527f6279746573340000000000000000000000000000000000000000000000000000602082015290565b6106a76107e3366004612312565b5060408051808201909152600681527f6279746573390000000000000000000000000000000000000000000000000000602082015290565b6106a7610829366004612354565b5060408051808201909152600581527f696e743732000000000000000000000000000000000000000000000000000000602082015290565b6106a761086f366004612377565b5060408051808201909152600781527f75696e7432303000000000000000000000000000000000000000000000000000602082015290565b6106a76108b53660046123b2565b5060408051808201909152600781527f6279746573323000000000000000000000000000000000000000000000000000602082015290565b6106a76108fb3660046123e1565b5060408051808201909152600581527f696e743332000000000000000000000000000000000000000000000000000000602082015290565b6106a7610941366004612404565b5060408051808201909152600781527f75696e7432313600000000000000000000000000000000000000000000000000602082015290565b6106a7610987366004612441565b5060408051808201909152600781527f75696e7431383400000000000000000000000000000000000000000000000000602082015290565b6106a76109cd36600461247a565b5060408051808201909152600781527f75696e7431353200000000000000000000000000000000000000000000000000602082015290565b6106a7610a133660046124af565b5060408051808201909152600681527f696e743234380000000000000000000000000000000000000000000000000000602082015290565b6106a7610a593660046124d2565b5060408051808201909152600681527f75696e7438300000000000000000000000000000000000000000000000000000602082015290565b6106a7610a9f3660046124fe565b5060408051808201909152600781527f6279746573323800000000000000000000000000000000000000000000000000602082015290565b6106a7610ae5366004612525565b5060408051808201909152600781527f6279746573333000000000000000000000000000000000000000000000000000602082015290565b6106a7610b2b36600461254a565b5060408051808201909152600681527f696e743132300000000000000000000000000000000000000000000000000000602082015290565b6106a7610b7136600461256d565b5060408051808201909152600781527f6279746573323100000000000000000000000000000000000000000000000000602082015290565b6106a7610bb736600461259b565b5060408051808201909152600781527f75696e7431303400000000000000000000000000000000000000000000000000602082015290565b6106a7610bfd3660046125ca565b5060408051808201909152600581527f696e743936000000000000000000000000000000000000000000000000000000602082015290565b6106a7610c433660046125ed565b5060408051808201909152600781527f75696e7432323400000000000000000000000000000000000000000000000000602082015290565b6106a7610c8936600461262b565b5060408051808201909152600681527f696e743136380000000000000000000000000000000000000000000000000000602082015290565b6106a7610ccf36600461264e565b5060408051808201909152600681527f696e743230300000000000000000000000000000000000000000000000000000602082015290565b6106a7610d15366004612671565b5060408051808201909152600681527f696e743138340000000000000000000000000000000000000000000000000000602082015290565b6106a7610d5b366004612694565b5060408051808201909152600781527f6279746573313400000000000000000000000000000000000000000000000000602082015290565b6106a7610da13660046126d6565b5060408051808201909152600781527f75696e7431393200000000000000000000000000000000000000000000000000602082015290565b6106a7610de7366004612710565b5060408051808201909152600681527f6279746573320000000000000000000000000000000000000000000000000000602082015290565b6106a7610e2d366004612752565b5060408051808201909152600681527f75696e7432340000000000000000000000000000000000000000000000000000602082015290565b6106a7610e73366004612777565b5060408051808201909152600681527f696e743131320000000000000000000000000000000000000000000000000000602082015290565b6106a7610eb936600461279a565b5060408051808201909152600681527f6279746573360000000000000000000000000000000000000000000000000000602082015290565b6106a7610eff3660046127dc565b5060408051808201909152600681527f75696e7431360000000000000000000000000000000000000000000000000000602082015290565b6106a7610f45366004612800565b5060408051808201909152600681527f6279746573330000000000000000000000000000000000000000000000000000602082015290565b6106a7610f8b366004612842565b5060408051808201909152600781527f6279746573313700000000000000000000000000000000000000000000000000602082015290565b6106a7610fd1366004612874565b5060408051808201909152600681527f696e743232340000000000000000000000000000000000000000000000000000602082015290565b6106a7611017366004612897565b5060408051808201909152600681527f696e743132380000000000000000000000000000000000000000000000000000602082015290565b6106a761105d3660046128ba565b5060408051808201909152600781527f6279746573313800000000000000000000000000000000000000000000000000602082015290565b6106a76110a33660046128eb565b5060408051808201909152600681527f696e743130340000000000000000000000000000000000000000000000000000602082015290565b6106a76110e936600461290e565b5060408051808201909152600681527f6279746573370000000000000000000000000000000000000000000000000000602082015290565b6106a761112f366004612950565b5060408051808201909152600781527f6279746573323500000000000000000000000000000000000000000000000000602082015290565b6106a761117536600461297a565b5060408051808201909152600681527f75696e7434300000000000000000000000000000000000000000000000000000602082015290565b6106a76111bb3660046129a1565b5060408051808201909152600781527f75696e7431323000000000000000000000000000000000000000000000000000602082015290565b6106a76112013660046129d2565b5060408051808201909152600781527f75696e7431363800000000000000000000000000000000000000000000000000602082015290565b6106a7611247366004612a09565b5060408051808201909152600681527f696e743133360000000000000000000000000000000000000000000000000000602082015290565b6106a761128d366004612a2c565b5060408051808201909152600781527f75696e7432343800000000000000000000000000000000000000000000000000602082015290565b6106a76112d3366004612a6d565b5060408051808201909152600681527f6279746573380000000000000000000000000000000000000000000000000000602082015290565b6106a7611319366004612aaf565b5060408051808201909152600681527f696e743139320000000000000000000000000000000000000000000000000000602082015290565b6106a761135f366004612ad2565b5060408051808201909152600681527f696e743231360000000000000000000000000000000000000000000000000000602082015290565b6106a76113a5366004612b9a565b5060408051808201909152600581527f6279746573000000000000000000000000000000000000000000000000000000602082015290565b6106a76113eb366004612beb565b5060408051808201909152600781527f75696e7432343000000000000000000000000000000000000000000000000000602082015290565b6106a7611431366004612c2b565b5060408051808201909152600781527f75696e7431313200000000000000000000000000000000000000000000000000602082015290565b6106a7611477366004612c5b565b5060408051808201909152600781527f6279746573323900000000000000000000000000000000000000000000000000602082015290565b6106a76114bd366004612c81565b5060408051808201909152600581527f696e743830000000000000000000000000000000000000000000000000000000602082015290565b6106a7611503366004612ca4565b5060408051808201909152600681527f696e743137360000000000000000000000000000000000000000000000000000602082015290565b6106a7611549366004612cc7565b5060408051808201909152600781527f6279746573333100000000000000000000000000000000000000000000000000602082015290565b6106a761158f366004612ceb565b5060408051808201909152600581527f75696e7438000000000000000000000000000000000000000000000000000000602082015290565b6106a76115d5366004612d0e565b5060408051808201909152600781527f75696e7432303800000000000000000000000000000000000000000000000000602082015290565b6106a761161b366004612d4a565b5060408051808201909152600681527f75696e7438380000000000000000000000000000000000000000000000000000602082015290565b6106a7611661366004612d77565b5060408051808201909152600781527f6279746573313000000000000000000000000000000000000000000000000000602082015290565b6106a76116a7366004612db9565b5060408051808201909152600781527f6279746573313600000000000000000000000000000000000000000000000000602082015290565b6106a76116ed366004612dfb565b5060408051808201909152600581527f696e743838000000000000000000000000000000000000000000000000000000602082015290565b6106a7611733366004612e1e565b5060408051808201909152600681527f75696e7436340000000000000000000000000000000000000000000000000000602082015290565b6106a7611779366004612e6d565b5060408051808201909152600781527f6164647265737300000000000000000000000000000000000000000000000000602082015290565b6106a76117bf366004612e8a565b5060408051808201909152600781527f6279746573313200000000000000000000000000000000000000000000000000602082015290565b6106a7611805366004612ecc565b5060408051808201909152600781527f6279746573323700000000000000000000000000000000000000000000000000602082015290565b6106a761184b366004612ef4565b5060408051808201909152600581527f696e743634000000000000000000000000000000000000000000000000000000602082015290565b6106a7611891366004612f17565b5060408051808201909152600781527f75696e7431333600000000000000000000000000000000000000000000000000602082015290565b6106a76118d7366004612f4a565b5060408051808201909152600781527f75696e7432333200000000000000000000000000000000000000000000000000602082015290565b6106a761191d366004612f89565b5060408051808201909152600781527f6279746573323600000000000000000000000000000000000000000000000000602082015290565b6106a7611963366004612fb2565b5060408051808201909152600681527f6279746573350000000000000000000000000000000000000000000000000000602082015290565b6106a76119a9366004612ff4565b5060408051808201909152600681527f75696e7434380000000000000000000000000000000000000000000000000000602082015290565b6106a76119ef36600461301c565b5060408051808201909152600581527f696e743430000000000000000000000000000000000000000000000000000000602082015290565b6106a7611a3536600461303f565b5060408051808201909152600681527f75696e7439360000000000000000000000000000000000000000000000000000602082015290565b6106a7611a7b366004612e6d565b5060408051808201909152600781527f75696e7431363000000000000000000000000000000000000000000000000000602082015290565b6106a7611ac136600461306d565b5060408051808201909152600481527f696e743800000000000000000000000000000000000000000000000000000000602082015290565b6106a7611b07366004613090565b5060408051808201909152600681527f75696e7437320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b4d3660046130bb565b5060408051808201909152600681527f696e743233320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b933660046130de565b5060408051808201909152600781527f6279746573333200000000000000000000000000000000000000000000000000602082015290565b6106a7611bd93660046130de565b5060408051808201909152600781527f75696e7432353600000000000000000000000000000000000000000000000000602082015290565b6106a7611c1f3660046130f7565b5060408051808201909152600581527f696e743136000000000000000000000000000000000000000000000000000000602082015290565b6106a7611c6536600461311a565b5060408051808201909152600781527f6279746573313500000000000000000000000000000000000000000000000000602082015290565b6106a7611cab36600461315c565b5060408051808201909152600681527f75696e7435360000000000000000000000000000000000000000000000000000602082015290565b6106a7611cf1366004613185565b5060408051808201909152600781527f6279746573323300000000000000000000000000000000000000000000000000602082015290565b6106a7611d373660046131b1565b5060408051808201909152600681527f696e743234300000000000000000000000000000000000000000000000000000602082015290565b6106a7611d7d3660046131d4565b5060408051808201909152600681527f696e743136300000000000000000000000000000000000000000000000000000602082015290565b6106a7611dc33660046131f7565b5060408051808201909152600781527f75696e7431323800000000000000000000000000000000000000000000000000602082015290565b6106a7611e09366004613229565b5060408051808201909152600581527f696e743438000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e4f36600461324c565b5060408051808201909152600481527f626f6f6c00000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e9536600461326e565b5060408051808201909152600781527f6279746573313300000000000000000000000000000000000000000000000000602082015290565b6106a7611edb3660046132b0565b5060408051808201909152600781527f6279746573323200000000000000000000000000000000000000000000000000602082015290565b6106a7611f213660046130de565b5060408051808201909152600681527f696e743235360000000000000000000000000000000000000000000000000000602082015290565b6106a7611f673660046132dd565b5060408051808201909152600781527f6279746573313900000000000000000000000000000000000000000000000000602082015290565b6106a7611fad36600461330d565b5060408051808201909152600681527f696e743135320000000000000000000000000000000000000000000000000000602082015290565b6106a7611ff3366004613330565b5060408051808201909152600781527f75696e7431343400000000000000000000000000000000000000000000000000602082015290565b6106a7612039366004612b9a565b5060408051808201909152600681527f737472696e670000000000000000000000000000000000000000000000000000602082015290565b6106a761207f366004613364565b5060408051808201909152600581527f696e743234000000000000000000000000000000000000000000000000000000602082015290565b6106a76120c5366004613387565b5060408051808201909152600781527f6279746573313100000000000000000000000000000000000000000000000000602082015290565b6106a761210b3660046133c9565b5060408051808201909152600581527f696e743536000000000000000000000000000000000000000000000000000000602082015290565b6106a76121513660046133ec565b5060408051808201909152600681527f696e743134340000000000000000000000000000000000000000000000000000602082015290565b6106a761219736600461340f565b5060408051808201909152600681527f6279746573310000000000000000000000000000000000000000000000000000602082015290565b6000602082840312156121e157600080fd5b813563ffffffff811681146121f557600080fd5b9392505050565b600060208083528351808285015260005b818110156122295785810183015185820160400152820161220d565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561225c57600080fd5b813567ffffffffffffffff19811681146121f557600080fd5b60006020828403121561228757600080fd5b81358060190b81146121f557600080fd5b6000602082840312156122aa57600080fd5b813575ffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156122e257600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561232457600080fd5b81357fffffffffffffffffff0000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561236657600080fd5b81358060080b81146121f557600080fd5b60006020828403121561238957600080fd5b813578ffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156123c457600080fd5b81356bffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156123f357600080fd5b81358060030b81146121f557600080fd5b60006020828403121561241657600080fd5b81357affffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561245357600080fd5b813576ffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561248c57600080fd5b813572ffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156124c157600080fd5b813580601e0b81146121f557600080fd5b6000602082840312156124e457600080fd5b813569ffffffffffffffffffff811681146121f557600080fd5b60006020828403121561251057600080fd5b813563ffffffff19811681146121f557600080fd5b60006020828403121561253757600080fd5b813561ffff19811681146121f557600080fd5b60006020828403121561255c57600080fd5b813580600e0b81146121f557600080fd5b60006020828403121561257f57600080fd5b81356affffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156125ad57600080fd5b81356cffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156125dc57600080fd5b813580600b0b81146121f557600080fd5b6000602082840312156125ff57600080fd5b81357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561263d57600080fd5b81358060140b81146121f557600080fd5b60006020828403121561266057600080fd5b81358060180b81146121f557600080fd5b60006020828403121561268357600080fd5b81358060160b81146121f557600080fd5b6000602082840312156126a657600080fd5b81357fffffffffffffffffffffffffffff000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156126e857600080fd5b813577ffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561272257600080fd5b81357fffff000000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561276457600080fd5b813562ffffff811681146121f557600080fd5b60006020828403121561278957600080fd5b813580600d0b81146121f557600080fd5b6000602082840312156127ac57600080fd5b81357fffffffffffff0000000000000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156127ee57600080fd5b813561ffff811681146121f557600080fd5b60006020828403121561281257600080fd5b81357fffffff0000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561285457600080fd5b81356effffffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561288657600080fd5b813580601b0b81146121f557600080fd5b6000602082840312156128a957600080fd5b813580600f0b81146121f557600080fd5b6000602082840312156128cc57600080fd5b81356dffffffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156128fd57600080fd5b813580600c0b81146121f557600080fd5b60006020828403121561292057600080fd5b81357fffffffffffffff00000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561296257600080fd5b813566ffffffffffffff19811681146121f557600080fd5b60006020828403121561298c57600080fd5b813564ffffffffff811681146121f557600080fd5b6000602082840312156129b357600080fd5b81356effffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156129e457600080fd5b813574ffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a1b57600080fd5b81358060100b81146121f557600080fd5b600060208284031215612a3e57600080fd5b81357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a7f57600080fd5b81357fffffffffffffffff000000000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ac157600080fd5b81358060170b81146121f557600080fd5b600060208284031215612ae457600080fd5b813580601a0b81146121f557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612b3f57612b3f612af5565b604051601f8501601f19908116603f01168101908282118183101715612b6757612b67612af5565b81604052809350858152868686011115612b8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bac57600080fd5b813567ffffffffffffffff811115612bc357600080fd5b8201601f81018413612bd457600080fd5b612be384823560208401612b24565b949350505050565b600060208284031215612bfd57600080fd5b81357dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c3d57600080fd5b81356dffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c6d57600080fd5b813562ffffff19811681146121f557600080fd5b600060208284031215612c9357600080fd5b81358060090b81146121f557600080fd5b600060208284031215612cb657600080fd5b81358060150b81146121f557600080fd5b600060208284031215612cd957600080fd5b813560ff19811681146121f557600080fd5b600060208284031215612cfd57600080fd5b813560ff811681146121f557600080fd5b600060208284031215612d2057600080fd5b813579ffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d5c57600080fd5b81356affffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d8957600080fd5b81357fffffffffffffffffffff00000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612dcb57600080fd5b81357fffffffffffffffffffffffffffffffff00000000000000000000000000000000811681146121f557600080fd5b600060208284031215612e0d57600080fd5b813580600a0b81146121f557600080fd5b600060208284031215612e3057600080fd5b813567ffffffffffffffff811681146121f557600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114612e6a57600080fd5b50565b600060208284031215612e7f57600080fd5b81356121f581612e48565b600060208284031215612e9c57600080fd5b81357fffffffffffffffffffffffff0000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ede57600080fd5b813564ffffffffff19811681146121f557600080fd5b600060208284031215612f0657600080fd5b81358060070b81146121f557600080fd5b600060208284031215612f2957600080fd5b813570ffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f5c57600080fd5b81357cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f9b57600080fd5b813565ffffffffffff19811681146121f557600080fd5b600060208284031215612fc457600080fd5b81357fffffffffff000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561300657600080fd5b813565ffffffffffff811681146121f557600080fd5b60006020828403121561302e57600080fd5b81358060040b81146121f557600080fd5b60006020828403121561305157600080fd5b81356bffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561307f57600080fd5b81358060000b81146121f557600080fd5b6000602082840312156130a257600080fd5b813568ffffffffffffffffff811681146121f557600080fd5b6000602082840312156130cd57600080fd5b813580601c0b81146121f557600080fd5b6000602082840312156130f057600080fd5b5035919050565b60006020828403121561310957600080fd5b81358060010b81146121f557600080fd5b60006020828403121561312c57600080fd5b81357fffffffffffffffffffffffffffffff0000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561316e57600080fd5b813566ffffffffffffff811681146121f557600080fd5b60006020828403121561319757600080fd5b813568ffffffffffffffffff19811681146121f557600080fd5b6000602082840312156131c357600080fd5b813580601d0b81146121f557600080fd5b6000602082840312156131e657600080fd5b81358060130b81146121f557600080fd5b60006020828403121561320957600080fd5b81356fffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561323b57600080fd5b81358060050b81146121f557600080fd5b60006020828403121561325e57600080fd5b813580151581146121f557600080fd5b60006020828403121561328057600080fd5b81357fffffffffffffffffffffffffff00000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156132c257600080fd5b813569ffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156132ef57600080fd5b81356cffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561331f57600080fd5b81358060120b81146121f557600080fd5b60006020828403121561334257600080fd5b813571ffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561337657600080fd5b81358060020b81146121f557600080fd5b60006020828403121561339957600080fd5b81357fffffffffffffffffffffff000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156133db57600080fd5b81358060060b81146121f557600080fd5b6000602082840312156133fe57600080fd5b81358060110b81146121f557600080fd5b60006020828403121561342157600080fd5b81357fff00000000000000000000000000000000000000000000000000000000000000811681146121f557600080fdfea2646970667358221220c03630ca6910d46ede5cae5ed1f6ae9571e1ccb99a0b3b83f560d5c9079c96db64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061065c5760003560e01c8063a202e8c011610345578063cec31ded116101bd578063e96add8c11610104578063f3164597116100ad578063f85a090311610087578063f85a0903146120b7578063fa4d99c9146120fd578063fbf3e13a14612143578063fd1652cb1461218957600080fd5b8063f316459714611fe5578063f44076171461202b578063f7b0e3d51461207157600080fd5b8063eecd1129116100de578063eecd112914611f13578063ef4483be14611f59578063f0fb21ff14611f9f57600080fd5b8063e96add8c14611e41578063e9da42ca14611e87578063eb01940114611ecd57600080fd5b8063d92e6c0611610166578063e0fa6ea111610140578063e0fa6ea114611d6f578063e137fb7014611db5578063e8fb922314611dfb57600080fd5b8063d92e6c0614611c9d578063dad2ef4f14611ce3578063dafbc72414611d2957600080fd5b8063d4b789d811610197578063d4b789d814611bcb578063d4c0c48614611c11578063d7d7398414611c5757600080fd5b8063cec31ded14611af9578063d0e03b0714611b3f578063d20f679a14611b8557600080fd5b8063bbeb25e01161028c578063c233fd3311610235578063c84ad5801161020f578063c84ad580146119e1578063c8ddda4a14611a27578063cc69cf9714611a6d578063ccd94f9814611ab357600080fd5b8063c233fd331461190f578063c639604b14611955578063c847fe3b1461199b57600080fd5b8063c081607b11610266578063c081607b1461183d578063c1397e9914611883578063c1847bee146118c957600080fd5b8063bbeb25e01461176b578063bccdc9c4146117b1578063bf01c7f9146117f757600080fd5b8063ad87e2e1116102ee578063b860f47f116102c8578063b860f47f14611699578063ba607fac146116df578063bb73447f1461172557600080fd5b8063ad87e2e1146115c7578063b429b23c1461160d578063b7bab2861461165357600080fd5b8063a925e7621161031f578063a925e762146114f5578063a95d606e1461153b578063aa8de9461461158157600080fd5b8063a202e8c014611423578063a3ab9e7a14611469578063a6496f62146114af57600080fd5b806351e0489a116104d85780637c9affcb1161041f578063891a099d116103c85780639df2391c116103a25780639df2391c1461130b5780639faf388f146113515780639fcbede614611397578063a178b800146113dd57600080fd5b8063891a099d146112395780638e4884d11461127f5780639ded4e2b146112c557600080fd5b806381c4b4cc116103f957806381c4b4cc146111675780638275b290146111ad57806387ad7515146111f357600080fd5b80637c9affcb146110955780637fcc3d5d146110db578063803bf56d1461112157600080fd5b80636913a82b11610481578063769008e41161045b578063769008e414610fc35780637a3058c1146110095780637bc705c11461104f57600080fd5b80636913a82b14610ef15780636a678a7514610f3757806375b5533714610f7d57600080fd5b80636357d3b7116104b25780636357d3b714610e1f578063659665f914610e65578063679b530214610eab57600080fd5b806351e0489a14610d4d57806357301b0214610d935780635793d40814610dd957600080fd5b80632a0caa6a116105a7578063429545a4116105505780634961a7ce1161052a5780634961a7ce14610c355780634a3ccd5f14610c7b5780634fb7d4bd14610cc157806350fbcfb614610d0757600080fd5b8063429545a414610b6357806343c84f3314610ba957806346d79d1314610bef57600080fd5b806333c064151161058157806333c0641514610a9157806334bdbab714610ad75780634029cdee14610b1d57600080fd5b80632a0caa6a146109bf5780632a97dfbf14610a055780632f0d528b14610a4b57600080fd5b80631b46fa941161060957806325cb6b9a116105e357806325cb6b9a146108ed57806326888cda1461093357806328b01d811461097957600080fd5b80631b46fa941461081b5780631eb765fd1461086157806325bc2c82146108a757600080fd5b8063107810d51161063a578063107810d5146107495780631400a02f1461078f5780631a762a3a146107d557600080fd5b806303290450146106615780630e9ba011146106bd5780630f84821114610703575b600080fd5b6106a761066f3660046121cf565b5060408051808201909152600681527f75696e7433320000000000000000000000000000000000000000000000000000602082015290565b6040516106b491906121fc565b60405180910390f35b6106a76106cb36600461224a565b5060408051808201909152600781527f6279746573323400000000000000000000000000000000000000000000000000602082015290565b6106a7610711366004612275565b5060408051808201909152600681527f696e743230380000000000000000000000000000000000000000000000000000602082015290565b6106a7610757366004612298565b5060408051808201909152600781527f75696e7431373600000000000000000000000000000000000000000000000000602082015290565b6106a761079d3660046122d0565b5060408051808201909152600681527f6279746573340000000000000000000000000000000000000000000000000000602082015290565b6106a76107e3366004612312565b5060408051808201909152600681527f6279746573390000000000000000000000000000000000000000000000000000602082015290565b6106a7610829366004612354565b5060408051808201909152600581527f696e743732000000000000000000000000000000000000000000000000000000602082015290565b6106a761086f366004612377565b5060408051808201909152600781527f75696e7432303000000000000000000000000000000000000000000000000000602082015290565b6106a76108b53660046123b2565b5060408051808201909152600781527f6279746573323000000000000000000000000000000000000000000000000000602082015290565b6106a76108fb3660046123e1565b5060408051808201909152600581527f696e743332000000000000000000000000000000000000000000000000000000602082015290565b6106a7610941366004612404565b5060408051808201909152600781527f75696e7432313600000000000000000000000000000000000000000000000000602082015290565b6106a7610987366004612441565b5060408051808201909152600781527f75696e7431383400000000000000000000000000000000000000000000000000602082015290565b6106a76109cd36600461247a565b5060408051808201909152600781527f75696e7431353200000000000000000000000000000000000000000000000000602082015290565b6106a7610a133660046124af565b5060408051808201909152600681527f696e743234380000000000000000000000000000000000000000000000000000602082015290565b6106a7610a593660046124d2565b5060408051808201909152600681527f75696e7438300000000000000000000000000000000000000000000000000000602082015290565b6106a7610a9f3660046124fe565b5060408051808201909152600781527f6279746573323800000000000000000000000000000000000000000000000000602082015290565b6106a7610ae5366004612525565b5060408051808201909152600781527f6279746573333000000000000000000000000000000000000000000000000000602082015290565b6106a7610b2b36600461254a565b5060408051808201909152600681527f696e743132300000000000000000000000000000000000000000000000000000602082015290565b6106a7610b7136600461256d565b5060408051808201909152600781527f6279746573323100000000000000000000000000000000000000000000000000602082015290565b6106a7610bb736600461259b565b5060408051808201909152600781527f75696e7431303400000000000000000000000000000000000000000000000000602082015290565b6106a7610bfd3660046125ca565b5060408051808201909152600581527f696e743936000000000000000000000000000000000000000000000000000000602082015290565b6106a7610c433660046125ed565b5060408051808201909152600781527f75696e7432323400000000000000000000000000000000000000000000000000602082015290565b6106a7610c8936600461262b565b5060408051808201909152600681527f696e743136380000000000000000000000000000000000000000000000000000602082015290565b6106a7610ccf36600461264e565b5060408051808201909152600681527f696e743230300000000000000000000000000000000000000000000000000000602082015290565b6106a7610d15366004612671565b5060408051808201909152600681527f696e743138340000000000000000000000000000000000000000000000000000602082015290565b6106a7610d5b366004612694565b5060408051808201909152600781527f6279746573313400000000000000000000000000000000000000000000000000602082015290565b6106a7610da13660046126d6565b5060408051808201909152600781527f75696e7431393200000000000000000000000000000000000000000000000000602082015290565b6106a7610de7366004612710565b5060408051808201909152600681527f6279746573320000000000000000000000000000000000000000000000000000602082015290565b6106a7610e2d366004612752565b5060408051808201909152600681527f75696e7432340000000000000000000000000000000000000000000000000000602082015290565b6106a7610e73366004612777565b5060408051808201909152600681527f696e743131320000000000000000000000000000000000000000000000000000602082015290565b6106a7610eb936600461279a565b5060408051808201909152600681527f6279746573360000000000000000000000000000000000000000000000000000602082015290565b6106a7610eff3660046127dc565b5060408051808201909152600681527f75696e7431360000000000000000000000000000000000000000000000000000602082015290565b6106a7610f45366004612800565b5060408051808201909152600681527f6279746573330000000000000000000000000000000000000000000000000000602082015290565b6106a7610f8b366004612842565b5060408051808201909152600781527f6279746573313700000000000000000000000000000000000000000000000000602082015290565b6106a7610fd1366004612874565b5060408051808201909152600681527f696e743232340000000000000000000000000000000000000000000000000000602082015290565b6106a7611017366004612897565b5060408051808201909152600681527f696e743132380000000000000000000000000000000000000000000000000000602082015290565b6106a761105d3660046128ba565b5060408051808201909152600781527f6279746573313800000000000000000000000000000000000000000000000000602082015290565b6106a76110a33660046128eb565b5060408051808201909152600681527f696e743130340000000000000000000000000000000000000000000000000000602082015290565b6106a76110e936600461290e565b5060408051808201909152600681527f6279746573370000000000000000000000000000000000000000000000000000602082015290565b6106a761112f366004612950565b5060408051808201909152600781527f6279746573323500000000000000000000000000000000000000000000000000602082015290565b6106a761117536600461297a565b5060408051808201909152600681527f75696e7434300000000000000000000000000000000000000000000000000000602082015290565b6106a76111bb3660046129a1565b5060408051808201909152600781527f75696e7431323000000000000000000000000000000000000000000000000000602082015290565b6106a76112013660046129d2565b5060408051808201909152600781527f75696e7431363800000000000000000000000000000000000000000000000000602082015290565b6106a7611247366004612a09565b5060408051808201909152600681527f696e743133360000000000000000000000000000000000000000000000000000602082015290565b6106a761128d366004612a2c565b5060408051808201909152600781527f75696e7432343800000000000000000000000000000000000000000000000000602082015290565b6106a76112d3366004612a6d565b5060408051808201909152600681527f6279746573380000000000000000000000000000000000000000000000000000602082015290565b6106a7611319366004612aaf565b5060408051808201909152600681527f696e743139320000000000000000000000000000000000000000000000000000602082015290565b6106a761135f366004612ad2565b5060408051808201909152600681527f696e743231360000000000000000000000000000000000000000000000000000602082015290565b6106a76113a5366004612b9a565b5060408051808201909152600581527f6279746573000000000000000000000000000000000000000000000000000000602082015290565b6106a76113eb366004612beb565b5060408051808201909152600781527f75696e7432343000000000000000000000000000000000000000000000000000602082015290565b6106a7611431366004612c2b565b5060408051808201909152600781527f75696e7431313200000000000000000000000000000000000000000000000000602082015290565b6106a7611477366004612c5b565b5060408051808201909152600781527f6279746573323900000000000000000000000000000000000000000000000000602082015290565b6106a76114bd366004612c81565b5060408051808201909152600581527f696e743830000000000000000000000000000000000000000000000000000000602082015290565b6106a7611503366004612ca4565b5060408051808201909152600681527f696e743137360000000000000000000000000000000000000000000000000000602082015290565b6106a7611549366004612cc7565b5060408051808201909152600781527f6279746573333100000000000000000000000000000000000000000000000000602082015290565b6106a761158f366004612ceb565b5060408051808201909152600581527f75696e7438000000000000000000000000000000000000000000000000000000602082015290565b6106a76115d5366004612d0e565b5060408051808201909152600781527f75696e7432303800000000000000000000000000000000000000000000000000602082015290565b6106a761161b366004612d4a565b5060408051808201909152600681527f75696e7438380000000000000000000000000000000000000000000000000000602082015290565b6106a7611661366004612d77565b5060408051808201909152600781527f6279746573313000000000000000000000000000000000000000000000000000602082015290565b6106a76116a7366004612db9565b5060408051808201909152600781527f6279746573313600000000000000000000000000000000000000000000000000602082015290565b6106a76116ed366004612dfb565b5060408051808201909152600581527f696e743838000000000000000000000000000000000000000000000000000000602082015290565b6106a7611733366004612e1e565b5060408051808201909152600681527f75696e7436340000000000000000000000000000000000000000000000000000602082015290565b6106a7611779366004612e6d565b5060408051808201909152600781527f6164647265737300000000000000000000000000000000000000000000000000602082015290565b6106a76117bf366004612e8a565b5060408051808201909152600781527f6279746573313200000000000000000000000000000000000000000000000000602082015290565b6106a7611805366004612ecc565b5060408051808201909152600781527f6279746573323700000000000000000000000000000000000000000000000000602082015290565b6106a761184b366004612ef4565b5060408051808201909152600581527f696e743634000000000000000000000000000000000000000000000000000000602082015290565b6106a7611891366004612f17565b5060408051808201909152600781527f75696e7431333600000000000000000000000000000000000000000000000000602082015290565b6106a76118d7366004612f4a565b5060408051808201909152600781527f75696e7432333200000000000000000000000000000000000000000000000000602082015290565b6106a761191d366004612f89565b5060408051808201909152600781527f6279746573323600000000000000000000000000000000000000000000000000602082015290565b6106a7611963366004612fb2565b5060408051808201909152600681527f6279746573350000000000000000000000000000000000000000000000000000602082015290565b6106a76119a9366004612ff4565b5060408051808201909152600681527f75696e7434380000000000000000000000000000000000000000000000000000602082015290565b6106a76119ef36600461301c565b5060408051808201909152600581527f696e743430000000000000000000000000000000000000000000000000000000602082015290565b6106a7611a3536600461303f565b5060408051808201909152600681527f75696e7439360000000000000000000000000000000000000000000000000000602082015290565b6106a7611a7b366004612e6d565b5060408051808201909152600781527f75696e7431363000000000000000000000000000000000000000000000000000602082015290565b6106a7611ac136600461306d565b5060408051808201909152600481527f696e743800000000000000000000000000000000000000000000000000000000602082015290565b6106a7611b07366004613090565b5060408051808201909152600681527f75696e7437320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b4d3660046130bb565b5060408051808201909152600681527f696e743233320000000000000000000000000000000000000000000000000000602082015290565b6106a7611b933660046130de565b5060408051808201909152600781527f6279746573333200000000000000000000000000000000000000000000000000602082015290565b6106a7611bd93660046130de565b5060408051808201909152600781527f75696e7432353600000000000000000000000000000000000000000000000000602082015290565b6106a7611c1f3660046130f7565b5060408051808201909152600581527f696e743136000000000000000000000000000000000000000000000000000000602082015290565b6106a7611c6536600461311a565b5060408051808201909152600781527f6279746573313500000000000000000000000000000000000000000000000000602082015290565b6106a7611cab36600461315c565b5060408051808201909152600681527f75696e7435360000000000000000000000000000000000000000000000000000602082015290565b6106a7611cf1366004613185565b5060408051808201909152600781527f6279746573323300000000000000000000000000000000000000000000000000602082015290565b6106a7611d373660046131b1565b5060408051808201909152600681527f696e743234300000000000000000000000000000000000000000000000000000602082015290565b6106a7611d7d3660046131d4565b5060408051808201909152600681527f696e743136300000000000000000000000000000000000000000000000000000602082015290565b6106a7611dc33660046131f7565b5060408051808201909152600781527f75696e7431323800000000000000000000000000000000000000000000000000602082015290565b6106a7611e09366004613229565b5060408051808201909152600581527f696e743438000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e4f36600461324c565b5060408051808201909152600481527f626f6f6c00000000000000000000000000000000000000000000000000000000602082015290565b6106a7611e9536600461326e565b5060408051808201909152600781527f6279746573313300000000000000000000000000000000000000000000000000602082015290565b6106a7611edb3660046132b0565b5060408051808201909152600781527f6279746573323200000000000000000000000000000000000000000000000000602082015290565b6106a7611f213660046130de565b5060408051808201909152600681527f696e743235360000000000000000000000000000000000000000000000000000602082015290565b6106a7611f673660046132dd565b5060408051808201909152600781527f6279746573313900000000000000000000000000000000000000000000000000602082015290565b6106a7611fad36600461330d565b5060408051808201909152600681527f696e743135320000000000000000000000000000000000000000000000000000602082015290565b6106a7611ff3366004613330565b5060408051808201909152600781527f75696e7431343400000000000000000000000000000000000000000000000000602082015290565b6106a7612039366004612b9a565b5060408051808201909152600681527f737472696e670000000000000000000000000000000000000000000000000000602082015290565b6106a761207f366004613364565b5060408051808201909152600581527f696e743234000000000000000000000000000000000000000000000000000000602082015290565b6106a76120c5366004613387565b5060408051808201909152600781527f6279746573313100000000000000000000000000000000000000000000000000602082015290565b6106a761210b3660046133c9565b5060408051808201909152600581527f696e743536000000000000000000000000000000000000000000000000000000602082015290565b6106a76121513660046133ec565b5060408051808201909152600681527f696e743134340000000000000000000000000000000000000000000000000000602082015290565b6106a761219736600461340f565b5060408051808201909152600681527f6279746573310000000000000000000000000000000000000000000000000000602082015290565b6000602082840312156121e157600080fd5b813563ffffffff811681146121f557600080fd5b9392505050565b600060208083528351808285015260005b818110156122295785810183015185820160400152820161220d565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561225c57600080fd5b813567ffffffffffffffff19811681146121f557600080fd5b60006020828403121561228757600080fd5b81358060190b81146121f557600080fd5b6000602082840312156122aa57600080fd5b813575ffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156122e257600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561232457600080fd5b81357fffffffffffffffffff0000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561236657600080fd5b81358060080b81146121f557600080fd5b60006020828403121561238957600080fd5b813578ffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156123c457600080fd5b81356bffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156123f357600080fd5b81358060030b81146121f557600080fd5b60006020828403121561241657600080fd5b81357affffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561245357600080fd5b813576ffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561248c57600080fd5b813572ffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156124c157600080fd5b813580601e0b81146121f557600080fd5b6000602082840312156124e457600080fd5b813569ffffffffffffffffffff811681146121f557600080fd5b60006020828403121561251057600080fd5b813563ffffffff19811681146121f557600080fd5b60006020828403121561253757600080fd5b813561ffff19811681146121f557600080fd5b60006020828403121561255c57600080fd5b813580600e0b81146121f557600080fd5b60006020828403121561257f57600080fd5b81356affffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156125ad57600080fd5b81356cffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156125dc57600080fd5b813580600b0b81146121f557600080fd5b6000602082840312156125ff57600080fd5b81357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561263d57600080fd5b81358060140b81146121f557600080fd5b60006020828403121561266057600080fd5b81358060180b81146121f557600080fd5b60006020828403121561268357600080fd5b81358060160b81146121f557600080fd5b6000602082840312156126a657600080fd5b81357fffffffffffffffffffffffffffff000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156126e857600080fd5b813577ffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561272257600080fd5b81357fffff000000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561276457600080fd5b813562ffffff811681146121f557600080fd5b60006020828403121561278957600080fd5b813580600d0b81146121f557600080fd5b6000602082840312156127ac57600080fd5b81357fffffffffffff0000000000000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156127ee57600080fd5b813561ffff811681146121f557600080fd5b60006020828403121561281257600080fd5b81357fffffff0000000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561285457600080fd5b81356effffffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561288657600080fd5b813580601b0b81146121f557600080fd5b6000602082840312156128a957600080fd5b813580600f0b81146121f557600080fd5b6000602082840312156128cc57600080fd5b81356dffffffffffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156128fd57600080fd5b813580600c0b81146121f557600080fd5b60006020828403121561292057600080fd5b81357fffffffffffffff00000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561296257600080fd5b813566ffffffffffffff19811681146121f557600080fd5b60006020828403121561298c57600080fd5b813564ffffffffff811681146121f557600080fd5b6000602082840312156129b357600080fd5b81356effffffffffffffffffffffffffffff811681146121f557600080fd5b6000602082840312156129e457600080fd5b813574ffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a1b57600080fd5b81358060100b81146121f557600080fd5b600060208284031215612a3e57600080fd5b81357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612a7f57600080fd5b81357fffffffffffffffff000000000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ac157600080fd5b81358060170b81146121f557600080fd5b600060208284031215612ae457600080fd5b813580601a0b81146121f557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612b3f57612b3f612af5565b604051601f8501601f19908116603f01168101908282118183101715612b6757612b67612af5565b81604052809350858152868686011115612b8057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bac57600080fd5b813567ffffffffffffffff811115612bc357600080fd5b8201601f81018413612bd457600080fd5b612be384823560208401612b24565b949350505050565b600060208284031215612bfd57600080fd5b81357dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c3d57600080fd5b81356dffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612c6d57600080fd5b813562ffffff19811681146121f557600080fd5b600060208284031215612c9357600080fd5b81358060090b81146121f557600080fd5b600060208284031215612cb657600080fd5b81358060150b81146121f557600080fd5b600060208284031215612cd957600080fd5b813560ff19811681146121f557600080fd5b600060208284031215612cfd57600080fd5b813560ff811681146121f557600080fd5b600060208284031215612d2057600080fd5b813579ffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d5c57600080fd5b81356affffffffffffffffffffff811681146121f557600080fd5b600060208284031215612d8957600080fd5b81357fffffffffffffffffffff00000000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612dcb57600080fd5b81357fffffffffffffffffffffffffffffffff00000000000000000000000000000000811681146121f557600080fd5b600060208284031215612e0d57600080fd5b813580600a0b81146121f557600080fd5b600060208284031215612e3057600080fd5b813567ffffffffffffffff811681146121f557600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114612e6a57600080fd5b50565b600060208284031215612e7f57600080fd5b81356121f581612e48565b600060208284031215612e9c57600080fd5b81357fffffffffffffffffffffffff0000000000000000000000000000000000000000811681146121f557600080fd5b600060208284031215612ede57600080fd5b813564ffffffffff19811681146121f557600080fd5b600060208284031215612f0657600080fd5b81358060070b81146121f557600080fd5b600060208284031215612f2957600080fd5b813570ffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f5c57600080fd5b81357cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b600060208284031215612f9b57600080fd5b813565ffffffffffff19811681146121f557600080fd5b600060208284031215612fc457600080fd5b81357fffffffffff000000000000000000000000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561300657600080fd5b813565ffffffffffff811681146121f557600080fd5b60006020828403121561302e57600080fd5b81358060040b81146121f557600080fd5b60006020828403121561305157600080fd5b81356bffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561307f57600080fd5b81358060000b81146121f557600080fd5b6000602082840312156130a257600080fd5b813568ffffffffffffffffff811681146121f557600080fd5b6000602082840312156130cd57600080fd5b813580601c0b81146121f557600080fd5b6000602082840312156130f057600080fd5b5035919050565b60006020828403121561310957600080fd5b81358060010b81146121f557600080fd5b60006020828403121561312c57600080fd5b81357fffffffffffffffffffffffffffffff0000000000000000000000000000000000811681146121f557600080fd5b60006020828403121561316e57600080fd5b813566ffffffffffffff811681146121f557600080fd5b60006020828403121561319757600080fd5b813568ffffffffffffffffff19811681146121f557600080fd5b6000602082840312156131c357600080fd5b813580601d0b81146121f557600080fd5b6000602082840312156131e657600080fd5b81358060130b81146121f557600080fd5b60006020828403121561320957600080fd5b81356fffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561323b57600080fd5b81358060050b81146121f557600080fd5b60006020828403121561325e57600080fd5b813580151581146121f557600080fd5b60006020828403121561328057600080fd5b81357fffffffffffffffffffffffffff00000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156132c257600080fd5b813569ffffffffffffffffffff19811681146121f557600080fd5b6000602082840312156132ef57600080fd5b81356cffffffffffffffffffffffffff19811681146121f557600080fd5b60006020828403121561331f57600080fd5b81358060120b81146121f557600080fd5b60006020828403121561334257600080fd5b813571ffffffffffffffffffffffffffffffffffff811681146121f557600080fd5b60006020828403121561337657600080fd5b81358060020b81146121f557600080fd5b60006020828403121561339957600080fd5b81357fffffffffffffffffffffff000000000000000000000000000000000000000000811681146121f557600080fd5b6000602082840312156133db57600080fd5b81358060060b81146121f557600080fd5b6000602082840312156133fe57600080fd5b81358060110b81146121f557600080fd5b60006020828403121561342157600080fd5b81357fff00000000000000000000000000000000000000000000000000000000000000811681146121f557600080fdfea2646970667358221220c03630ca6910d46ede5cae5ed1f6ae9571e1ccb99a0b3b83f560d5c9079c96db64736f6c637822302e382e31392d646576656c6f702b636f6d6d69742e63383866343066642e6d6f640053", + "linkReferences": {}, + "deployedLinkReferences": {} +} + + + + +export default TypedContract; \ No newline at end of file diff --git a/src.ts/_tests/create-provider.ts b/src.ts/_tests/create-provider.ts index 17228280..0ed14b6c 100644 --- a/src.ts/_tests/create-provider.ts +++ b/src.ts/_tests/create-provider.ts @@ -1,9 +1,11 @@ import { - FallbackProvider, isError, + JsonRpcProvider, } from "../index.js"; import type { AbstractProvider } from "../index.js"; +import dotenv from "dotenv"; +dotenv.config(); interface ProviderCreator { name: string; @@ -11,24 +13,19 @@ interface ProviderCreator { create: (network: string) => null | AbstractProvider; }; -const ethNetworks = [ "default", "mainnet" ]; +const quaiNetworks = [ "colosseum" ]; const ProviderCreators: Array = [ { - name: "FallbackProvider", - networks: ethNetworks, + name: "JsonRpcProvider", + networks: quaiNetworks, create: function(network: string) { - const providers: Array = []; - for (const providerName of [ "JsonRpcProvider" ]) { - const provider = getProvider(providerName, network); - if (provider) { providers.push(provider); } - } - if (providers.length === 0) { throw new Error("UNSUPPORTED NETWORK"); } - return new FallbackProvider(providers); + return new JsonRpcProvider(process.env.RPC_URL, network); } }, ]; + let setup = false; const cleanup: Array<() => void> = [ ]; export function setupProviders(): void { @@ -54,7 +51,6 @@ export function getProviderNetworks(provider: string): Array { export function getProvider(provider: string, network: string): null | AbstractProvider { if (setup == false) { throw new Error("MUST CALL setupProviders in root context"); } - console.log(`getProvider: ${ provider }.${ network }`); const creator = getCreator(provider); try { if (creator) { @@ -76,7 +72,7 @@ export function checkProvider(provider: string, network: string): boolean { } export function connect(network: string): AbstractProvider { - const provider = getProvider("InfuraProvider", network); + const provider = getProvider("JsonRpcProvider", network); if (provider == null) { throw new Error(`could not connect to ${ network }`); } return provider; } diff --git a/src.ts/_tests/test-contract-integ.ts b/src.ts/_tests/test-contract-integ.ts index 2aec6ce4..959f213f 100644 --- a/src.ts/_tests/test-contract-integ.ts +++ b/src.ts/_tests/test-contract-integ.ts @@ -1,106 +1,109 @@ import assert from "assert"; +import { quais, Contract } from "../index.js"; +import dotenv from "dotenv"; +import QRC20 from "./contracts/QRC20.js" +import { stall } from "./utils.js"; - -import { quais } from "../index.js"; +dotenv.config(); interface ContractAbi { mint: quais.BaseContractMethod<[ quais.AddressLike ], [ boolean ], quais.ContractTransactionResponse>; totalSupply: quais.BaseContractMethod<[ ], [ bigint ], [ bigint ]>; balanceOf: quais.BaseContractMethod<[ quais.AddressLike ], [ bigint ], [ bigint ]>; + transfer: quais.BaseContractMethod<[ quais.AddressLike, bigint ], [ boolean ], quais.ContractTransactionResponse>; } describe("Tests contract integration", function() { - const provider = new quais.JsonRpcProvider("http:/\/127.0.0.1:8545"); - - const abi = [ - "constructor(address owner, uint maxSupply)", - "function mint(address target) returns (bool minted)", - "function totalSupply() view returns (uint supply)", - "function balanceOf(address target) view returns (uint balance)", - "event Minted(address target)" - ]; - - let address: null | string = null; - - it("deploys a contract", async function() { - this.timeout(10000); - - const bytecode = "0x60c060405234801561001057600080fd5b506040516105863803806105868339818101604052810190610032919061010e565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508060a08181525050505061014e565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a58261007a565b9050919050565b6100b58161009a565b81146100c057600080fd5b50565b6000815190506100d2816100ac565b92915050565b6000819050919050565b6100eb816100d8565b81146100f657600080fd5b50565b600081519050610108816100e2565b92915050565b6000806040838503121561012557610124610075565b5b6000610133858286016100c3565b9250506020610144858286016100f9565b9150509250929050565b60805160a051610414610172600039600060fa0152600061021f01526104146000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806318160ddd146100515780636a6278421461006f57806370a082311461009f5780638da5cb5b146100cf575b600080fd5b6100596100ed565b604051610066919061025c565b60405180910390f35b610089600480360381019061008491906102da565b6100f6565b6040516100969190610322565b60405180910390f35b6100b960048036038101906100b491906102da565b6101d2565b6040516100c6919061025c565b60405180910390f35b6100d761021b565b6040516100e4919061034c565b60405180910390f35b60008054905090565b60007f00000000000000000000000000000000000000000000000000000000000000006000541061012657600080fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061017690610396565b919050555060008081548092919061018d90610396565b91905055507f90ddedd5a25821bba11fbb98de02ec1f75c1be90ae147d6450ce873e7b78b5d8826040516101c1919061034c565b60405180910390a160019050919050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000819050919050565b61025681610243565b82525050565b6000602082019050610271600083018461024d565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102a78261027c565b9050919050565b6102b78161029c565b81146102c257600080fd5b50565b6000813590506102d4816102ae565b92915050565b6000602082840312156102f0576102ef610277565b5b60006102fe848285016102c5565b91505092915050565b60008115159050919050565b61031c81610307565b82525050565b60006020820190506103376000830184610313565b92915050565b6103468161029c565b82525050565b6000602082019050610361600083018461033d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006103a182610243565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036103d3576103d2610367565b5b60018201905091905056fea26469706673582212200a979ea2bfdf429b5546fa25906c9d20a3d67ef5fbe531f31d2cc83533e3239564736f6c63430008120033"; - const signer = await provider.getSigner(0); - - const factory = new quais.ContractFactory(abi, bytecode, signer); - - const contract = await factory.deploy(signer, 100); + const provider = new quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const abi = QRC20.abi; + const bytecode = QRC20.bytecode; + const constructorArgs = { + name: 'Testing', + symbol: 'Test', + totalSupply: Math.pow(10, 3), + } + let contract: Contract; + let address: string; + + before(async function() { + this.timeout(100000); + const factory = new quais.ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy(constructorArgs.name, constructorArgs.symbol, constructorArgs.totalSupply, { + gasLimit: 5000000 }) as Contract; address = await contract.getAddress(); + console.log('Contract deployed to:', address); + + let tries = 0; + const POLLING_TRIES = 10; // define POLLING_TRIES if not defined elsewhere + let deployed = false; + let code = await provider.getCode(address); + while (tries < POLLING_TRIES && !deployed) { + code = await provider.getCode(address); + if (code != "0x") { + deployed = true; + } + tries += 1; + await stall(10000); // Ensure stall is defined or use a different delay mechanism + } - await contract.waitForDeployment(); + if (!deployed) { + throw new Error("Contract deployment failed"); + } + }); - const deployed = await provider.getCode(address); - assert.ok(deployed != "0x", "has bytescode"); + it("confirms the contract deployment", function() { + assert.ok(address, "Contract address should be available"); + assert.ok(contract, "Contract instance should be available"); }); it("runs contract operations", async function() { - this.timeout(10000); + this.timeout(100000); assert.ok(address != null); - const signer = await provider.getSigner(0); const CustomContract = quais.BaseContract.buildClass(abi); - const contract = new CustomContract(address, signer); //quais.Contract.from(address, abi, signer); + const contract = new CustomContract(address, wallet); //quais.Contract.from(address, abi, signer); // Test implicit staticCall (i.e. view/pure) { const supply0 = await contract.totalSupply(); - assert.equal(supply0, BigInt(0), "initial supply 0; default"); + assert.equal(supply0, BigInt(1000), "initial supply 0; default"); } // Test explicit staticCall { const supply0 = await contract.totalSupply.staticCall(); - assert.equal(supply0, BigInt(0), "initial supply 0; staticCall"); + assert.equal(supply0, BigInt(1000), "initial supply 0; staticCall"); } // Test staticCallResult (positional and named) { const supply0 = await contract.totalSupply.staticCallResult(); - assert.equal(supply0[0], BigInt(0), "initial supply 0; staticCallResult"); - assert.equal(supply0.supply, BigInt(0), "initial supply 0; staticCallResult"); + assert.equal(supply0[0], BigInt(1000), "initial supply 0; staticCallResult"); } - // Test populateTransaction - const txInfo = await contract.mint.populateTransaction(signer); - assert.equal(txInfo.to, address, "populateTransaction.to"); - const txInfoData = quais.hexlify(quais.concat([ - "0x6a627842", - quais.zeroPadValue(await signer.getAddress(), 32) - ])); - assert.equal(txInfo.data, txInfoData, "populateTransaction.data"); - - // Test minting (default) - const tx = await contract.mint(signer); - const receipt = await tx.wait(); + const reciever = '0x0aff86a125b29b25a9e418c2fb64f1753532c0ca' + // Test transfer (default) + const tx = await contract.transfer(reciever,BigInt(1)); - assert.ok(receipt, "receipt"); + await stall(60000) + + const receipt = await provider.getTransactionReceipt(tx.hash); + await stall(10000) + assert.ok(receipt, "receipt not null"); + const contractAddr = await contract.getAddress() // Check the receipt has parsed the events + assert.equal(receipt.logs.length, 1, "logs.length"); - assert.ok(receipt instanceof quais.ContractTransactionReceipt, "receipt typeof"); - assert.ok(receipt.logs[0] instanceof quais.EventLog, "receipt.log typeof"); - assert.equal(receipt.logs[0].fragment && receipt.logs[0].fragment.name, "Minted", "logs[0].fragment.name"); - assert.equal(receipt.logs[0].args[0], await signer.getAddress(), "logs[0].args[0]"); - assert.equal(receipt.logs[0].args.target, await signer.getAddress(), "logs[0].args.target"); - - // Check the state has been adjusted - assert.equal(await contract.totalSupply(), BigInt(1), "initial supply 1; default"); - assert.equal(await contract.balanceOf(signer), BigInt(1), "balanceOf(signer)"); - - // Test minting (explicit) - const tx2 = await contract.mint.send(signer); - await tx2.wait(); + assert.ok(receipt instanceof quais.TransactionReceipt, "receipt typeof"); + assert.ok(receipt.logs[0] instanceof quais.Log, "receipt.log typeof"); + assert.equal(receipt.logs[0].address, contractAddr, "Proper target address"); // Check the state has been adjusted - assert.equal(await contract.totalSupply(), BigInt(2), "initial supply 2; default"); + assert.equal(await contract.balanceOf(reciever), BigInt(1), "balanceOf(signer)"); }); }); diff --git a/src.ts/_tests/test-contract.ts b/src.ts/_tests/test-contract.ts index 7afce92c..dbb80f8d 100644 --- a/src.ts/_tests/test-contract.ts +++ b/src.ts/_tests/test-contract.ts @@ -4,179 +4,176 @@ import assert from "assert"; import { getProvider, setupProviders } from "./create-provider.js"; import { - Contract, EventLog, isError, Typed, Wallet + Contract, ContractFactory, isError, Typed, } from "../index.js"; -import type { ContractEventPayload, ContractEventName, Log } from "../index.js"; +import TestContract from "./contracts/TestContract.js" +import TypedContract from "./contracts/TypedContract.js" +import { quais } from "../index.js"; +import { stall } from "./utils.js"; setupProviders(); describe("Test Contract", function() { - const addr = "0x99417252Aad7B065940eBdF50d665Fb8879c5958"; - const abi = [ - "error CustomError1(uint256 code, string message)", - - "event EventUint256(uint256 indexed value)", - "event EventAddress(address indexed value)", - "event EventString(string value)", - "event EventBytes(bytes value)", - - "function testCustomError1(bool pass, uint code, string calldata message) pure returns (uint256)", - "function testErrorString(bool pass, string calldata message) pure returns (uint256)", - "function testPanic(uint256 code) returns (uint256)", - "function testEvent(uint256 valueUint256, address valueAddress, string valueString, bytes valueBytes) public", - "function testCallAdd(uint256 a, uint256 b) pure returns (uint256 result)", - ]; + const provider = new quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const abi = TestContract.abi; + const bytecode = TestContract.bytecode; + let contract: Contract; + let addr: string + before( async function () { + this.timeout(60000); + await stall(10000); + const factory = new ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy({gasLimit: 5000000, maxFeePerGas: quais.parseUnits('10', 'gwei'), maxPriorityFeePerGas: quais.parseUnits('3', 'gwei')}) as Contract; + addr = await contract.getAddress(); + console.log("Contract deployed to: ", addr); + await stall(30000); + }) + it("tests contract calls", async function() { this.timeout(10000); - const provider = getProvider("InfuraProvider", "goerli"); - const contract = new Contract(addr, abi, provider); - assert.equal(await contract.testCallAdd(4, 5), BigInt(9), "testCallAdd(4, 5)"); assert.equal(await contract.testCallAdd(6, 0), BigInt(6), "testCallAdd(6, 0)"); }); - it("tests events", async function() { - this.timeout(60000); - - const provider = getProvider("InfuraProvider", "goerli"); - assert.ok(provider); - - const contract = new Contract(addr, abi, provider); - - const signer = new Wallet((process.env.FAUCET_PRIVATEKEY), provider); - const contractSigner = contract.connect(signer); - - const vUint256 = 42; - const vAddrName = "quais.eth"; - const vAddr = "0x228568EA92aC5Bc281c1E30b1893735c60a139F1"; - const vString = "Hello"; - const vBytes = "0x12345678"; - - let hash: null | string = null; - - // Test running a listener for a specific event - const specificEvent = new Promise((resolve, reject) => { - contract.on("EventUint256", async (value, event) => { - // Triggered by someone else - if (hash == null || hash !== event.log.transactionHash) { return; } - - try { - assert.equal(event.filter, "EventUint256", "event.filter"); - assert.equal(event.fragment.name, "EventUint256", "event.fragment.name"); - assert.equal(event.log.address, addr, "event.log.address"); - assert.equal(event.args.length, 1, "event.args.length"); - assert.equal(event.args[0], BigInt(42), "event.args[0]"); - - const count = await contract.listenerCount("EventUint256"); - await event.removeListener(); - assert.equal(await contract.listenerCount("EventUint256"), count - 1, "decrement event count"); - - resolve(null); - } catch (e) { - event.removeListener(); - reject(e); - } - }); - }); - - // Test running a listener on all (i.e. "*") events - const allEvents = new Promise((resolve, reject) => { - const waitingFor: Record = { - EventUint256: vUint256, - EventAddress: vAddr, - EventString: vString, - EventBytes: vBytes - }; - - contract.on("*", (event: ContractEventPayload) => { - // Triggered by someone else - if (hash == null || hash !== event.log.transactionHash) { return; } - try { - const name = event.eventName; - - assert.equal(event.args[0], waitingFor[name], `${ name }`); - delete waitingFor[name]; - - if (Object.keys(waitingFor).length === 0) { - event.removeListener(); - resolve(null); - } - - } catch (error) { - reject(error); - } - }); - - }); - - // Send a transaction to trigger some events - const tx = await contractSigner.testEvent(vUint256, vAddr, vString, vBytes); - hash = tx.hash; - - const checkEvent = (filter: ContractEventName, event: EventLog | Log) => { - const values: Record = { - EventUint256: vUint256, - EventString: vString, - EventAddress: vAddr, - EventBytes: vBytes - }; - - assert.ok(event instanceof EventLog, `queryFilter(${ filter }):isEventLog`); - - const name = event.eventName; - - assert.equal(event.address, addr, `queryFilter(${ filter }):address`); - assert.equal(event.args[0], values[name], `queryFilter(${ filter }):args[0]`); - }; - - const checkEventFilter = async (filter: ContractEventName) => { - const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); - assert.equal(events.length, 1, `queryFilter(${ filter }).length`); - checkEvent(filter, events[0]); - return events[0]; - }; - - const receipt = await tx.wait(); - - // Check the logs in the receipt - for (const log of receipt.logs) { checkEvent("receipt", log); } - - // Various options for queryFilter - await checkEventFilter("EventUint256"); - await checkEventFilter([ "EventUint256" ]); - await checkEventFilter([ [ "EventUint256" ] ]); - await checkEventFilter("EventUint256(uint)"); - await checkEventFilter([ "EventUint256(uint)" ]); - await checkEventFilter([ [ "EventUint256(uint)" ] ]); - await checkEventFilter([ [ "EventUint256", "EventUint256(uint)" ] ]); - await checkEventFilter("0x85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea337"); - - // Query by Event - await checkEventFilter(contract.filters.EventUint256); - - // Query by Deferred Topic Filter; address - await checkEventFilter(contract.filters.EventUint256(vUint256)); - - // Query by Deferred Topic Filter; address - await checkEventFilter(contract.filters.EventAddress(vAddr)); - - // Query by Deferred Topic Filter; ENS name => address - await checkEventFilter(contract.filters.EventAddress(vAddrName)); - - // Multiple Methods - { - const filter = [ [ "EventUint256", "EventString" ] ]; - const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); - assert.equal(events.length, 2, `queryFilter(${ filter }).length`); - - for (const event of events) { checkEvent(filter, event); } - } - - await specificEvent; - await allEvents; - }); + //Awaiting Quai subscrigbe functionality + + // it("tests events", async function() { + // this.timeout(60000); + + // assert.ok(provider) + + // const vUint256 = 42; + // const vAddrName = "quais.eth"; + // const vAddr = "0x228568EA92aC5Bc281c1E30b1893735c60a139F1"; + // const vString = "Hello"; + // const vBytes = "0x12345678"; + + // let hash: null | string = null; + + // // Test running a listener for a specific event + // const specificEvent = new Promise((resolve, reject) => { + // contract.on("EventUint256", async (value, event) => { + // // Triggered by someone else + // if (hash == null || hash !== event.log.transactionHash) { return; } + + // try { + // assert.equal(event.filter, "EventUint256", "event.filter"); + // assert.equal(event.fragment.name, "EventUint256", "event.fragment.name"); + // assert.equal(event.log.address, addr, "event.log.address"); + // assert.equal(event.args.length, 1, "event.args.length"); + // assert.equal(event.args[0], BigInt(42), "event.args[0]"); + + // const count = await contract.listenerCount("EventUint256"); + // await event.removeListener(); + // assert.equal(await contract.listenerCount("EventUint256"), count - 1, "decrement event count"); + + // resolve(null); + // } catch (e) { + // event.removeListener(); + // reject(e); + // } + // }); + // }); + + // // Test running a listener on all (i.e. "*") events + // const allEvents = new Promise((resolve, reject) => { + // const waitingFor: Record = { + // EventUint256: vUint256, + // EventAddress: vAddr, + // EventString: vString, + // EventBytes: vBytes + // }; + + // contract.on("*", (event: ContractEventPayload) => { + // // Triggered by someone else + // if (hash == null || hash !== event.log.transactionHash) { return; } + // try { + // const name = event.eventName; + + // assert.equal(event.args[0], waitingFor[name], `${ name }`); + // delete waitingFor[name]; + + // if (Object.keys(waitingFor).length === 0) { + // event.removeListener(); + // resolve(null); + // } + + // } catch (error) { + // reject(error); + // } + // }); + + // }); + + // // Send a transaction to trigger some events + // const tx = await contractSigner.testEvent(vUint256, vAddr, vString, vBytes); + // hash = tx.hash; + + // const checkEvent = (filter: ContractEventName, event: EventLog | Log) => { + // const values: Record = { + // EventUint256: vUint256, + // EventString: vString, + // EventAddress: vAddr, + // EventBytes: vBytes + // }; + + // assert.ok(event instanceof EventLog, `queryFilter(${ filter }):isEventLog`); + + // const name = event.eventName; + + // assert.equal(event.address, addr, `queryFilter(${ filter }):address`); + // assert.equal(event.args[0], values[name], `queryFilter(${ filter }):args[0]`); + // }; + + // const checkEventFilter = async (filter: ContractEventName) => { + // const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); + // assert.equal(events.length, 1, `queryFilter(${ filter }).length`); + // checkEvent(filter, events[0]); + // return events[0]; + // }; + + // const receipt = await tx.wait(); + + // // Check the logs in the receipt + // for (const log of receipt.logs) { checkEvent("receipt", log); } + + // // Various options for queryFilter + // await checkEventFilter("EventUint256"); + // await checkEventFilter([ "EventUint256" ]); + // await checkEventFilter([ [ "EventUint256" ] ]); + // await checkEventFilter("EventUint256(uint)"); + // await checkEventFilter([ "EventUint256(uint)" ]); + // await checkEventFilter([ [ "EventUint256(uint)" ] ]); + // await checkEventFilter([ [ "EventUint256", "EventUint256(uint)" ] ]); + // await checkEventFilter("0x85c55bbb820e6d71c71f4894e57751de334b38c421f9c170b0e66d32eafea337"); + + // // Query by Event + // await checkEventFilter(contract.filters.EventUint256); + + // // Query by Deferred Topic Filter; address + // await checkEventFilter(contract.filters.EventUint256(vUint256)); + + // // Query by Deferred Topic Filter; address + // await checkEventFilter(contract.filters.EventAddress(vAddr)); + + // // Query by Deferred Topic Filter; ENS name => address + // await checkEventFilter(contract.filters.EventAddress(vAddrName)); + + // // Multiple Methods + // { + // const filter = [ [ "EventUint256", "EventString" ] ]; + // const events = (await contract.queryFilter(filter, -10)).filter((e) => (e.transactionHash === hash)); + // assert.equal(events.length, 2, `queryFilter(${ filter }).length`); + + // for (const event of events) { checkEvent(filter, event); } + // } + + // await specificEvent; + // await allEvents; + // }); it("tests the _in_ operator for functions", function() { const contract = new Contract(addr, abi); @@ -249,20 +246,21 @@ describe("Test Typed Contract Interaction", function() { } ]; - const abi: Array = [ ]; - for (let i = 1; i <= 32; i++) { - abi.push(`function testTyped(uint${ i * 8 }) public pure returns (string memory)`); - abi.push(`function testTyped(int${ i * 8 }) public pure returns (string memory)`); - abi.push(`function testTyped(bytes${ i }) public pure returns (string memory)`); - } - abi.push(`function testTyped(address) public pure returns (string memory)`); - abi.push(`function testTyped(bool) public pure returns (string memory)`); - abi.push(`function testTyped(bytes memory) public pure returns (string memory)`); - abi.push(`function testTyped(string memory) public pure returns (string memory)`); + const abi = TypedContract.abi + const provider = new quais.JsonRpcProvider(process.env.RPC_URL); + const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', provider); + const bytecode = TypedContract.bytecode; + let contract: Contract; + let addr: string + before( async function () { + this.timeout(120000); + const factory = new ContractFactory(abi, bytecode, wallet); + contract = await factory.deploy({gasLimit: 5000000, maxFeePerGas: quais.parseUnits('10', 'gwei'), maxPriorityFeePerGas: quais.parseUnits('3', 'gwei'),}) as Contract; + addr = await contract.getAddress(); + console.log("Contract deployed to: ", addr); + await stall(50000); + }) - const addr = "0x838f41545DA5e18AA0e1ab391085d22E172B7B02"; - const provider = getProvider("InfuraProvider", "goerli"); - const contract = new Contract(addr, abi, provider); for (const { types, valueFunc } of tests) { for (const type of types) { @@ -288,78 +286,6 @@ describe("Test Typed Contract Interaction", function() { }); - - -/* -describe("Test Contract Calls", function() { - it("finds typed methods", async function() { - const contract = new Contract("0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72", [ - "function foo(string s) view returns (uint)", - "function foo(uint8) view returns (uint)", - "function foo(uint u, bool b) view returns (uint)", - ]); - const value = Typed.string("42"); - await contract.foo.populateTransaction(value, Typed.overrides({ value: 100 })) - contract["foo(string)"].fragment - }); -}); - -describe("Test Contract Interface", function() { - it("builds contract interfaces", async function() { - this.timeout(60000); - - interface Erc20Interface { - // Constant Methods - balanceOf: ConstantContractMethod<[ address: string | Addressable ], bigint>; - decimals: ConstantContractMethod<[ ], bigint>; - - name: ConstantContractMethod<[ ], string>; - symbol: ConstantContractMethod<[ ], string>; - - // Mutation Methods - transferFrom: ContractMethod<[ address: string | Addressable, - address: string | Addressable, amount: BigNumberish ], boolean>; - - // Events - filters: { - Transfer: ContractEvent<[ from: Addressable | string, to: BigNumberish ]>; - } - } - - const erc20Abi = [ - "function balanceOf(address owner) view returns (uint)", - "function decimals() view returns (uint)", - "function name() view returns (string)", - "function symbol() view returns (string)", - - "function transferFrom(address from, address to, uint amount) returns (boolean)", - - "event Transfer(address indexed from, address indexed to, uint amount)" - ]; - - class Erc20Contract extends BaseContract.buildClass(erc20Abi) { }; - - const provider = new providers.InfuraProvider(); - // ENS - //const addr = "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72"; - // DAI - const addr = "0x6B175474E89094C44Da98b954EedeAC495271d0F"; - const contract = new Erc20Contract(addr, provider); - console.log("SYMBOL", await contract.symbol()); - console.log("DECIMALS", await contract.decimals()); - console.log(await contract.balanceOf("0x5555763613a12D8F3e73be831DFf8598089d3dCa")); - console.log(await contract.balanceOf("ricmoo.eth")); - - await contract.on(contract.filters.Transfer, (from, to, value, event) => { - console.log("HELLO!", { from, to, value, event }); - event.removeListener(); - }); - const logs = await contract.queryFilter("Transfer", -10); - console.log(logs, logs[0], logs[0].args.from); - }); -}); -*/ - type TestContractFallbackResult = { data: string; } | { diff --git a/src.ts/_tests/test-hash.ts b/src.ts/_tests/test-hash.ts index cacd1b72..cd7d7a34 100644 --- a/src.ts/_tests/test-hash.ts +++ b/src.ts/_tests/test-hash.ts @@ -146,17 +146,17 @@ describe("Test EIP-191 Personal Message Hash", function() { { test: "hello-world", message: "Hello World", - hash: "0xa1de988600a42c4b4ab089b619297c17d53cffae5d5120d82d8a92d0bb3b78f2" + hash: "0xca6464b285e602e01f3261caa151da2bd35fe19cb3532f7acd0d594ca0d810c5" }, { test: "binary-message", message: new Uint8Array([ 0x42, 0x43 ]), - hash: "0x0d3abc18ec299cf9b42ba439ac6f7e3e6ec9f5c048943704e30fc2d9c7981438" + hash: "0xd2ca8706bdbb1255b510b6acf42339faabf95bb8192cc7c562a6019ad8463c60" }, { test: "hex-looking-string", message: "0x4243", - hash: "0x6d91b221f765224b256762dcba32d62209cf78e9bebb0a1b758ca26c76db3af4" + hash: "0xcfe58e0f243f48080feeeb86f9b27e35f65955d3b39a644478c376b2733d9804" } ]; diff --git a/src.ts/_tests/test-provider-jsonrpc.ts b/src.ts/_tests/test-provider-jsonrpc.ts index 04f7bc36..6d88a3ef 100644 --- a/src.ts/_tests/test-provider-jsonrpc.ts +++ b/src.ts/_tests/test-provider-jsonrpc.ts @@ -12,6 +12,7 @@ const StatusMessages: Record = { 500: "SERVER ERROR", }; +//Requires running a local node and working quai_accounts api call type ProcessRequest = (method: string, params: Array, blockNumber: number) => any; @@ -28,13 +29,13 @@ function createProvider(testFunc: ProcessRequest): JsonRpcProvider { let result = testFunc(req.method, req.params, blockNumber); if (result === undefined) { switch (req.method) { - case "eth_blockNumber": + case "quai_blockNumber": result = blockNumber; break; - case "eth_chainId": + case "quai_chainId": result = "0x1337"; break; - case "eth_accounts": + case "quai_accounts": result = [ wallet.address ]; break; default: @@ -98,10 +99,10 @@ describe("Ensure Catchable Errors", function() { const provider = createProvider((method, params, blockNumber) => { switch (method) { - case "eth_sendTransaction": + case "quai_sendTransaction": return txObj.hash; - case "eth_getTransactionByHash": { + case "quai_getTransactionByHash": { count++; // First time; fail! @@ -162,10 +163,10 @@ describe("Ensure Catchable Errors", function() { const provider = createProvider((method, params, blockNumber) => { switch (method) { - case "eth_sendTransaction": + case "quai_sendTransaction": return txObj.hash; - case "eth_getTransactionByHash": { + case "quai_getTransactionByHash": { count++; // The fully valid tx response diff --git a/src.ts/_tests/test-providers-avatar.ts b/src.ts/_tests/test-providers-avatar.ts deleted file mode 100644 index e6fff590..00000000 --- a/src.ts/_tests/test-providers-avatar.ts +++ /dev/null @@ -1,34 +0,0 @@ -import assert from "assert"; - -import { connect, setupProviders } from "./create-provider.js"; - -setupProviders(); - -describe("Resolve ENS avatar", function() { - [ - { title: "data", name: "data-avatar.tests.quais.eth", value: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAMAAACeL25MAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUQ4NTEyNUIyOEIwMTFFQzg0NTBDNTU2RDk1NTA5NzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUQ4NTEyNUMyOEIwMTFFQzg0NTBDNTU2RDk1NTA5NzgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1RDg1MTI1OTI4QjAxMUVDODQ1MEM1NTZEOTU1MDk3OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1RDg1MTI1QTI4QjAxMUVDODQ1MEM1NTZEOTU1MDk3OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkbM0uMAAAAGUExURQAA/wAAAHtivz4AAAAOSURBVHjaYmDABAABBgAAFAABaEkyYwAAAABJRU5ErkJggg==" }, - { title: "ipfs", name: "ipfs-avatar.tests.quais.eth", value: "https:/\/gateway.ipfs.io/ipfs/QmQsQgpda6JAYkFoeVcj5iPbwV3xRcvaiXv3bhp1VuYUqw" }, - { title: "url", name: "url-avatar.tests.quais.eth", value: "https:/\/quais.org/static/logo.png" }, - ].forEach((test) => { - it(`Resolves avatar for ${ test.title }`, async function() { - this.timeout(60000); - const provider = connect("goerli"); - const avatar = await provider.getAvatar(test.name); - assert.equal(test.value, avatar, "avatar url"); - }); - }); -/* -// @TODO: Set up some examples on goerli - [ - { title: "ERC-1155", name: "nick.eth", value: "https:/\/lh3.googleusercontent.com/hKHZTZSTmcznonu8I6xcVZio1IF76fq0XmcxnvUykC-FGuVJ75UPdLDlKJsfgVXH9wOSmkyHw0C39VAYtsGyxT7WNybjQ6s3fM3macE" }, -// { title: "ERC-721", name: "brantly.eth", value: "https:/\/api.wrappedpunks.com/images/punks/2430.png" } - ].forEach((test) => { - it(`Resolves avatar for ${ test.title }`, async function() { - this.timeout(60000); - const provider = connect("mainnet"); - const avatar = await provider.getAvatar(test.name); - assert.equal(avatar, test.value, "avatar url"); - }); - }); -*/ -}); diff --git a/src.ts/_tests/test-providers-ccip.ts b/src.ts/_tests/test-providers-ccip.ts deleted file mode 100644 index 9c70fd7d..00000000 --- a/src.ts/_tests/test-providers-ccip.ts +++ /dev/null @@ -1,182 +0,0 @@ -import assert from "assert"; - -import { - concat, dataLength, - keccak256, - toBeArray, - isCallException, isError -} from "../index.js"; - -import { connect, setupProviders } from "./create-provider.js"; - -setupProviders(); - -describe("Test CCIP execution", function() { - - // This matches the verify method in the Solidity contract against the - // processed data from the endpoint - const verify = function(sender: string, data: string, result: string): void { - const check = concat([ - toBeArray(dataLength(sender)), sender, - toBeArray(dataLength(data)), data - ]); - assert.equal(result, keccak256(check), "response is equal"); - } - - const address = "0x6C5ed35574a9b4d163f75bBf0595F7540D8FCc2d"; - const calldata = "0x1234"; - - it("testGet passes under normal operation", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testGet(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - const result = await provider.call(tx); - verify(address, calldata, result); - }); - - it("testGet should fail with CCIP not explicitly enabled by overrides", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testGet(bytes callData = "0x1234") - const tx = { - to: address, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - await assert.rejects(async function() { - const result = await provider.call(tx); - console.log(result); - }, (error: unknown) => { - const offchainErrorData = "0x556f18300000000000000000000000006c5ed35574a9b4d163f75bbf0595f7540d8fcc2d00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return (isCallException(error) && error.data === offchainErrorData); - }); - }); - - it("testGet should fail with CCIP explicitly disabled on provider", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - provider.disableCcipRead = true; - - // testGetFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xa5f3271e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - await assert.rejects(async function() { - const result = await provider.call(tx); - console.log(result); - }, (error: unknown) => { - const offchainErrorData = "0x556f18300000000000000000000000006c5ed35574a9b4d163f75bbf0595f7540d8fcc2d00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return (isCallException(error) && error.data === offchainErrorData); - }); - }); - - it("testGetFail should fail if all URLs 5xx", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testGetFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x36f9cea6000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - await assert.rejects(async function() { - const result = await provider.call(tx); - console.log(result); - }, (error: unknown) => { - const infoJson = '{"urls":["https:/\/quais.ricmoo.workers.dev/status/500/{sender}/{data}"],"errorMessages":["hello world"]}'; - return (isError(error, "OFFCHAIN_FAULT") && error.reason === "500_SERVER_ERROR" && - JSON.stringify(error.info) === infoJson); - }); - }); - - it("testGetSenderFail should fail if sender does not match", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testGetSenderFail(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x64bff6d1000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000", - } - - await assert.rejects(async function() { - const result = await provider.call(tx); - console.log(result); - }, (error: unknown) => { - const errorArgsJson = '["0x0000000000000000000000000000000000000000",["https://quais.ricmoo.workers.dev/test-ccip-read/{sender}/{data}"],"0x1234","0xb1494be1","0x4d792065787472612064617461"]'; - const offchainErrorData = "0x556f1830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000140b1494be100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6574686572732e7269636d6f6f2e776f726b6572732e6465762f746573742d636369702d726561642f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d79206578747261206461746100000000000000000000000000000000000000"; - return (isCallException(error) && error.data === offchainErrorData && - error.revert && - error.revert.signature === "OffchainLookup(address,string[],bytes,bytes4,bytes)" && - JSON.stringify(error.revert.args) === errorArgsJson); - }); - }); - - - it("testGetMissing should fail if early URL 4xx", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testGetMissing(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x4ece8d7d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - await assert.rejects(async function() { - const result = await provider.call(tx); - console.log(result); - }, (error: unknown) => { - const infoJson = '{"url":"https:/\/quais.ricmoo.workers.dev/status/404/{sender}/{data}","errorMessage":"hello world"}'; - return (isError(error, "OFFCHAIN_FAULT") && error.reason === "404_MISSING_RESOURCE" && - JSON.stringify(error.info || "") === infoJson); - }); - }); - - - it("testGetFallback passes if any URL returns correctly", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testGetFallback(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0xedf4a021000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - const result = await provider.call(tx); - verify(address, calldata, result); - }); - - it("testPost passes under normal operation", async function() { - this.timeout(60000); - - const provider = connect("goerli"); - - // testPost(bytes callData = "0x1234") - const tx = { - to: address, enableCcipRead: true, - data: "0x66cab49d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000021234000000000000000000000000000000000000000000000000000000000000" - } - - const result = await provider.call(tx); - verify(address, calldata, result); - }); -}) diff --git a/src.ts/_tests/test-providers-data.ts b/src.ts/_tests/test-providers-data.ts index c6dae62d..a74619f5 100644 --- a/src.ts/_tests/test-providers-data.ts +++ b/src.ts/_tests/test-providers-data.ts @@ -1,227 +1,355 @@ import assert from "assert"; -import { - checkProvider, getProvider, setupProviders, providerNames -} from "./create-provider.js"; -import { retryIt } from "./utils.js"; - -import type { Provider } from "../index.js"; - - -import { - networkFeatureAtBlock, networkNames, - testAddress, testBlock, testReceipt, testTransaction -} from "./blockchain-data.js"; - -import type { TestBlockchainNetwork } from "./blockchain-data.js"; - - -setupProviders(); - - -function forEach(prefix: string, tests: Record>, func: (providerName: string, test: T) => (null | ((p: Provider) => Promise))): void { - for (const networkName of networkNames) { - const networkTests: Array = tests[networkName]; - if (networkTests == null) { continue; } - - for (const test of networkTests) { - for (const providerName of providerNames) { - if (!checkProvider(providerName, networkName)) { continue; } - - // Let the testcase skip this by returning null - const testFunc = func(providerName, test); - if (testFunc == null) { continue; } - - // Prepare the testcase - retryIt(`${ prefix }: ${ providerName }:${ networkName }.${ test.test }`, async function() { - // Create a provider - const provider = getProvider(providerName, networkName); +// import { +// checkProvider, getProvider, providerNames +// } from "./create-provider.js"; +// import { retryIt } from "./utils.js"; + +//import type { Provider } from "../index.js"; +import { quais } from "../index.js"; +import axios from 'axios'; +import { stall } from "./utils.js"; +// import { +// networkFeatureAtBlock, networkNames, +// testAddress, testBlock, testReceipt, testTransaction +// } from "./blockchain-data.js"; + +// import type { TestBlockchainNetwork } from "./blockchain-data.js"; + + +//setupProviders(); + + +const providerC1 = new quais.JsonRpcProvider(process.env.RPC_URL); +const wallet = new quais.Wallet(process.env.FAUCET_PRIVATEKEY || '', providerC1); +const destinationC1 = '0x0aff86a125b29b25a9e418c2fb64f1753532c0ca' +const destinationC2 = '0x261ee260b611a0e4c76c8f148cdf7cad65e0daf8' + +function equals(name: string, actual: any, expected: any): void { + if (expected && expected.eq) { + if (actual == null) { assert.ok(false, name + " - actual big number null"); } + expected = BigInt(expected); + actual = BigInt(actual); + assert.ok(expected.eq(actual), name + " matches"); + + } else if (Array.isArray(expected)) { + if (actual == null) { assert.ok(false, name + " - actual array null"); } + assert.equal(actual.length, expected.length, name + " array lengths match"); + for (let i = 0; i < expected.length; i++) { + equals("(" + name + " - item " + i + ")", actual[i], expected[i]); + } - try { - assert.ok(provider != null, "missing provider"); + } else if (typeof(expected) === "object") { + if (actual == null) { + if (expected === actual) { return; } + assert.ok(false, name + " - actual object null"); + } - await testFunc(provider); + let keys: { [ key: string ]: boolean } = {}; + Object.keys(expected).forEach((key) => { keys[key] = true; }); + Object.keys(actual).forEach((key) => { keys[key] = true; }); - } catch (error) { - // Shutdown socket-based provider, otherwise its socket will prevent - // this process from exiting - if ((provider).destroy) { (provider).destroy(); } + Object.keys(keys).forEach((key) => { + if ( typeof actual[key] === "string" && actual[key].toLowerCase && key === "type") { + actual[key] = actual[key].toLowerCase(); + } + equals("(" + name + " - key + " + key + ")", actual[key], expected[key]); + }); - throw error; - } + } else { + if (actual == null) { assert.ok(false, name + " - actual null"); } - // Shutdown socket-based provider, otherwise its socket will prevent - // this process from exiting - if ((provider).destroy) { (provider).destroy(); } - }); - } + // Modify this part for case-insensitive comparison for string values + if (typeof actual === 'string' && typeof expected === 'string') { + assert.equal(actual.toLowerCase(), expected.toLowerCase(), name + " matches (case-insensitive)"); + } else { + assert.equal(actual, expected, name + " matches"); } } } -describe("Test Provider Address operations", function() { - forEach("test getBalance(address)", testAddress, (providerName, test) => { - if (test.balance == null) { return null; } - return async (provider) => { - assert.equal(await provider.getBalance(test.address), test.balance); - }; - }); - - forEach("test getCode(address)", testAddress, (providerName, test) => { - if (test.code == null) { return null; } - return async (provider) => { - assert.equal(await provider.getCode(test.address), test.code); - }; - }); -/* - forEach("test lookupAddress(address)", testAddress, (provider, test) => { - if (test.name == null) { return null; } - return async () => { - assert.equal(await provider.lookupAddress(test.address), test.name); - }; - }); - - forEach("test resolveName(name)", testAddress, (provider, test) => { - if (test.name == null) { return null; } - return async () => { - assert.equal(await provider.lookupAddress((test.name)), test.address); - }; - }); -*/ - forEach("test getStorage(address)", testAddress, (providerName, test) => { - if (test.storage == null) { return null; } - return async (provider) => { - for (const key in test.storage) { - assert.equal(await provider.getStorage(test.address, key), test.storage[key]); - } - }; - }); - - forEach("test getTransactionCount(address)", testAddress, (providerName, test) => { - if (test.balance == null) { return null; } - return async (provider) => { - assert.equal(await provider.getTransactionCount(test.address), test.nonce); - }; - }); -}); - -function assertObj(prefix: string, actual: any, expected: any): void { - assert.ok(actual != null, `${ prefix } is null`); - for (const key in expected) { - if (expected[key] === undefined) { continue; } - assert.equal(actual[key], expected[key], `${ prefix }.${ key }`); +async function getRPCGasPrice(url:string | undefined){ + try { + let response; + do{ + response = await axios.post(url || "http://localhost:8610", { + jsonrpc: "2.0", + method: "quai_gasPrice", + params: [], + id: 1 + }); + } while (response.data.result == null) + return response.data.result; + + } catch (error: any ) { + throw new Error(`Error fetching block: ${error.message}`); } } -function assertBlock(actual: any, expected: any): void { - // Check transactions - for (let i = 0; i < expected.transactions.length; i++) { - const expectedTx = expected.transactions[i]; - if (typeof(expectedTx) === "string") { - assert.equal(actual.transactions[i], expectedTx, `block.transactions[${ i }]`); - } else { - throw new Error("@TODO"); - } +async function sendTransaction(to: string){ + let txResponse; + let typeValue; + try{ + do{ + const prefix = to.substring(0, 4); + typeValue = (Number(prefix) > 29) ? 2 : 0; + const gas = await getRPCGasPrice(process.env.RPC_URL); + let tx: { + from: string; + to: string; + value: any; + gasPrice: any; + maxFeePerGas: any; + maxPriorityFeePerGas:any; + nonce: number; + data: string; + type: number; + gasLimit: number; + chainId: number; + etxGasLimit?: any; + etxGasTip?: any; + etxGasPrice?: any; + } = { + from: wallet.address, + to, + value: quais.parseEther("0.1"), // Sending 0.1 ether + gasPrice: gas*2, + maxFeePerGas: quais.parseUnits('20', 'gwei'), + maxPriorityFeePerGas: quais.parseUnits('20', 'gwei'), + nonce: await providerC1.getTransactionCount(wallet.address, 'latest'), + data: '', + type: typeValue, + gasLimit: typeValue == 0 ? 21000 : 42000, + chainId: Number(process.env.CHAIN_ID || 1337), + }; + txResponse = await wallet.sendTransaction(tx); + await stall(15000); + } while (txResponse.hash == null); + + console.log(`Transaction hash for type ${typeValue}: `, txResponse.hash); + return txResponse; + } catch(error: any){ + console.error('Failed to send Transaction: ', error); + return null; } - - // Remove the transactions and test keys - expected = Object.assign({ }, expected, { transactions: undefined, test: undefined }); - - // Check remaining keys - assertObj("block", actual, expected); } -function assertTransaction(actual: any, expected: any): void { - // @TODO: Accesslist - - // Check signature - assertObj("tx.signature", actual.signature, expected.signature); - - // Remove the transactions and test keys - expected = Object.assign({ }, expected, { - accessList: undefined, - signature: undefined, - test: undefined - }); - - // Check remaining keys - assertObj("tx", actual, expected); +async function fetchRPCBlock(blockNumber: string | null) { + try { + let response; + do { + response = await axios.post(process.env.RPC_URL || "http://localhost:8610", { + jsonrpc: "2.0", + method: "quai_getBlockByNumber", + params: [ + blockNumber || '0xA', + false + ], + id: 1 + }); + }while (response.data.result.hash == null) + return response.data.result; + + } catch (error: any) { + throw error; + } } -function assertReceipt(actual: any, expected: any): void { - - // Check logs - for (let i = 0; i < expected.logs.length; i++) { - let expectedLog = expected.logs[i]; - for (let j = 0; j < expectedLog.topics.length; j++) { - assert.equal(actual.logs[i].topics[j], expectedLog.topics[j], `receipt.logs[${ i }].topics[${ j }]`); - } - - expectedLog = Object.assign({ }, expectedLog, { topics: undefined }); - - assertObj(`receipt.log[${ i }]`, actual.logs[i], expectedLog); +async function fetchRPCBalance(address: string, url: string){ + try { + let response; + do{ + response = await axios.post(url, { + jsonrpc: "2.0", + method: "quai_getBalance", + params: [ + address, + 'latest' + ], + id: 1 + }); + } while (response.data.result == null) + return response.data.result; + + } catch (error: any) { + throw new Error(`Error fetching block: ${error.message}`); } +} - // Remove the transactions and test keys - expected = Object.assign({ }, expected, { logs: undefined, test: undefined }); - - // In Byzantium, the root was dropped and the status was added - if (networkFeatureAtBlock("byzantium", expected.blockNumber)) { - expected = Object.assign({ }, expected, { root: undefined }); - } else { - expected = Object.assign({ }, expected, { status: undefined }); +async function fetchRPCTxReceipt(hash: string ,url: string){ + try { + let response; + do{ + response = await axios.post(url, { + jsonrpc: "2.0", + method: "quai_getTransactionReceipt", + params: [ + hash + ], + id: 1 + }); + await stall(5000); + } while (response.data.result.blockHash == null) + return response.data.result; + } catch (error:any) { + throw new Error(`Error fetching block: ${error.message}`); } - - // Check remaining keys - assertObj("receipt", actual, expected); } describe("Test Provider Block operations", function() { - forEach("test getBlock(blockHash)", testBlock, (providerName, test) => { - // quaiscan does not support getting a block by blockhash - if (providerName === "quaiscanProvider") { return null; } - - return async (provider) => { - assertBlock(await provider.getBlock(test.hash), test); + let block: quais.BlockParams; + + before( async() => { + const rpcBlock = await fetchRPCBlock('0xA') + block = { + hash: rpcBlock.hash, + number: rpcBlock.number.map((stringNumber: string) => Number(stringNumber)), + transactions: rpcBlock.transactions, + parentHash: rpcBlock.parentHash, + parentEntropy: rpcBlock.parentEntropy.map((entropy: string) => BigInt(entropy)), + extTransactions: rpcBlock.extTransactions, + timestamp: Number(rpcBlock.timestamp), + nonce: rpcBlock.nonce, + difficulty: BigInt(rpcBlock.difficulty), + gasLimit: BigInt(rpcBlock.gasLimit), + gasUsed: BigInt(rpcBlock.gasUsed), + miner: rpcBlock.miner, + extraData: rpcBlock.extraData, + transactionsRoot: rpcBlock.transactionsRoot, + stateRoot: rpcBlock.stateRoot, + receiptsRoot: rpcBlock.receiptsRoot, + baseFeePerGas: BigInt(rpcBlock.baseFeePerGas), + extRollupRoot: rpcBlock.extRollupRoot, + extTransactionsRoot: rpcBlock.extTransactionsRoot, + location: rpcBlock.location, + manifestHash: rpcBlock.manifestHash, + mixHash: rpcBlock.mixHash, + order: rpcBlock.order, + parentDeltaS: rpcBlock.parentDeltaS.map((delta:string) => BigInt(delta)), + sha3Uncles: rpcBlock.sha3Uncles, + size: BigInt(rpcBlock.size), + uncles: rpcBlock.uncles, + subManifest: rpcBlock.subManifest, + totalEntropy: BigInt(rpcBlock.totalEntropy), + } + }) + + it('should fetch block by number', async function () { + let responseBlock = await providerC1.getBlock('0xA') as quais.Block; + assert.ok(responseBlock != null, "block != null"); + + let { provider, ...formatBlock } = { + ...responseBlock, + transactions: responseBlock.transactions, + extTransactions: responseBlock.extTransactions }; + equals("Block by Number", formatBlock, block); }); - - forEach("test getBlock(blockNumber)", testBlock, (providerName, test) => { - return async (provider) => { - assertBlock(await provider.getBlock(test.number), test); + + it('should fetch block by hash', async function() { + assert.ok(block.hash != null, 'block.hash != null') + let responseBlock = await providerC1.getBlock(block.hash) as quais.Block; + assert.ok(responseBlock != null, "block != null"); + + let { provider, ...formatBlock } = { + ...responseBlock, + transactions: responseBlock.transactions, + extTransactions: responseBlock.extTransactions }; + equals("Block by Hash", formatBlock, block); + }) +}) + + +describe("Test Transaction operations", function() { + let internalTx: any; + let internalToExternalTx: any; + + it('should fetch balance after internal tx', async function () { + this.timeout(60000) + const oldBal = await fetchRPCBalance(destinationC1, process.env.RPC_URL || "http://localhost:8610"); + internalTx = await sendTransaction(destinationC1); + await stall(30000) + const expectedBal = BigInt(internalTx.value); + const balance = await providerC1.getBalance(destinationC1); + const actualBal = Number(balance) - Number(oldBal) + assert.equal(actualBal, Number(expectedBal)); }); -}); -describe("Test Provider Transaction operations", function() { - forEach("test getTransaction(hash)", testTransaction, (providerName, test) => { - return async (provider) => { - assertTransaction(await provider.getTransaction(test.hash), test); + it('should get transaction receipt for internal tx', async function () { + this.timeout(60000) + const receipt = await fetchRPCTxReceipt(internalTx.hash, process.env.RPC_URL || "http://localhost:8610"); + const expectedReceipt = { + blockHash: receipt.blockHash, + contractAddress: receipt.contractAddress || null, + blockNumber: Number(receipt.blockNumber), + cumulativeGasUsed: BigInt(receipt.cumulativeGasUsed), + gasPrice: BigInt(receipt.effectiveGasPrice), + etxs: receipt.etxs, + gasUsed: BigInt(receipt.gasUsed), + logs: receipt.logs, + logsBloom: receipt.logsBloom, + status: Number(receipt.status), + to: receipt.to, + from: receipt.from, + hash: receipt.transactionHash, + index: Number(receipt.transactionIndex), + type: receipt.type, + } + const receiptResponse = await providerC1.getTransactionReceipt(internalTx.hash); + let { provider, ...receiptResult } = { + ...receiptResponse, + logs: receiptResponse?.logs }; - }); - - forEach("test getTransactionReceipt(hash)", testReceipt, (providerName, test) => { - return async (provider) => { - const receipt = await provider.getTransactionReceipt(test.hash) - assert.ok(receipt != null, "receipt != null"); - - // Cloudflare doesn't return the root in legacy receipts; but it isn't - // *actually* that important, so we'll give it a pass... - if (providerName === "CloudflareProvider" || providerName === "AnkrProvider" || providerName === "PocketProvider") { - test = Object.assign({ } , test, { root: undefined }); - } - - //if (providerName === "PocketProvider") { - //} - - assertReceipt(receipt, test); + equals("Internal Tx Receipt", receiptResult, expectedReceipt); + + }) + + it("should fetch transaction receipt for internal to external tx", async function () { + this.timeout(120000) + internalToExternalTx = await sendTransaction(destinationC2); + await stall(60000); + const receipt = await fetchRPCTxReceipt(internalToExternalTx.hash, process.env.RPC_URL || "http://localhost:8610"); + await stall(30000); + const etx = receipt.etxs[0]; + const expectedReceipt = { + blockHash: receipt.blockHash, + blockNumber: Number(receipt.blockNumber), + contractAddress: receipt.contractAddress || null, + cumulativeGasUsed: BigInt(receipt.cumulativeGasUsed), + gasPrice: BigInt(receipt.effectiveGasPrice), + etxs: [ + { + type: Number(etx.type), + nonce: Number(etx.nonce), + maxPriorityFeePerGas: BigInt(etx.maxPriorityFeePerGas), + maxFeePerGas: BigInt(etx.maxFeePerGas), + gas: BigInt(etx.gas), + value: BigInt(etx.value), + input: etx.input, + to: etx.to, + from: etx.sender, + hash: etx.hash, + chainId: Number(etx.chainId), + accessList: etx.accessList, + } + ], + gasUsed: BigInt(receipt.gasUsed), + logs: receipt.logs, + logsBloom: receipt.logsBloom, + status: Number(receipt.status), + to: receipt.to, + from: receipt.from, + hash: receipt.transactionHash, + index: Number(receipt.transactionIndex), + type: Number(receipt.type), + } + const receiptResponse = await providerC1.getTransactionReceipt(internalToExternalTx.hash); + let { provider, ...receiptResult } = { + ...receiptResponse, + logs: receiptResponse?.logs }; + equals("Internal to External Tx Receipt", receiptResult, expectedReceipt); }); +}) - forEach("test lookupAddress(addr) == null", testReceipt, (providerName, test) => { - return async (provider) => { - const name = await provider.lookupAddress("0x0123456789012345678901234567890123456789") - assert.ok(name == null, "name == null"); - }; - }); -}); diff --git a/src.ts/_tests/test-providers-errors.ts b/src.ts/_tests/test-providers-errors.ts index 43fecac3..682a0578 100644 --- a/src.ts/_tests/test-providers-errors.ts +++ b/src.ts/_tests/test-providers-errors.ts @@ -11,6 +11,9 @@ import { getProvider, setupProviders, providerNames } from "./create-provider.js import { stall } from "./utils.js"; import type { TransactionResponse } from "../index.js"; +//require('dotenv').config(); +import dotenv from "dotenv"; +dotenv.config(); type TestCustomError = { name: string; @@ -42,9 +45,9 @@ describe("Tests Provider Call Exception", function() { //{ code: 0x51, reason: "UNINITIALIZED_FUNCTION_CALL" }, ]; - const testAddr = "0xF20Ba47c47a32fc2d9ad846fF06f2fa6e89eeC74"; + const testAddr = "0x0aff86a125b29b25a9e418c2fb64f1753532c0ca"; //Cyprus1 - const networkName = "goerli"; + const networkName = "colosseum"; for (const { code, reason } of panics) { for (const method of [ "call", "estimateGas" ]) { for (const providerName of providerNames) { @@ -166,7 +169,7 @@ describe("Tests Provider Call Exception", function() { describe("Test Provider Blockchain Errors", function() { const wallet = new Wallet((process.env.FAUCET_PRIVATEKEY)); - const networkName = "goerli"; + const networkName = "colosseum"; for (const providerName of providerNames) { const provider = getProvider(providerName, networkName); diff --git a/src.ts/_tests/test-providers-fallback.ts b/src.ts/_tests/test-providers-fallback.ts index 66627740..ac3e38cb 100644 --- a/src.ts/_tests/test-providers-fallback.ts +++ b/src.ts/_tests/test-providers-fallback.ts @@ -3,8 +3,7 @@ import assert from "assert"; import { isError, makeError, - AbstractProvider, FallbackProvider, Network, - ZeroAddress + AbstractProvider, FallbackProvider, Network } from "../index.js"; import type { @@ -39,11 +38,11 @@ export class MockProvider extends AbstractProvider { describe("Test Fallback broadcast", function() { - const txHash = "0x33017397ef7c7943dee3b422aec52b0a210de58d73d49c1b3ce455970f01c83a"; + const txHash = "0xe9fb92945282cf04f7bb3027d690fdaab6d601c99a7cdd0a5eb41d1a5c0893d5"; async function test(actions: Array<{ timeout: number, error?: Error }>): Promise { - // https://sepolia.etherscan.io/tx/0x33017397ef7c7943dee3b422aec52b0a210de58d73d49c1b3ce455970f01c83a - const tx = "0x02f87683aa36a7048459682f00845d899ef982520894b5bdaa442bb34f27e793861c456cd5bdc527ac8c89056bc75e2d6310000080c001a07503893743e94445b2361a444343757e6f59d52e19e9b3f65eb138d802eaa972a06e4e9bc10ff55474f9aac0a4c284733b4195cb7b273de5e7465ce75a168e0c38"; + + const tx = "0x00f8788223288202898504a817c8008504a817c800825208940aff86a125b29b25a9e418c2fb64f1753532c0ca88016345785d8a000080c001a0711d47f0f6828721f336430ca87277534d0134de5f04ce3629085f8d5371c129a061c4838dec40c296cfad6fe771d502c26e209089124e6f702c64353b3ca195c1"; const providers: Array = actions.map(({ timeout, error }) => { return new MockProvider(async (r) => { @@ -70,15 +69,6 @@ describe("Test Fallback broadcast", function() { assert(result.hash === txHash, "result.hash === txHash"); }); - it("picks late non-failed broadcasts with quorum-met red-herrings", async function() { - const result = await test([ - { timeout: 200, error: makeError("bad nonce", "NONCE_EXPIRED") }, - { timeout: 400, error: makeError("bad nonce", "NONCE_EXPIRED") }, - { timeout: 1000 }, - ]); - assert(result.hash === txHash, "result.hash === txHash"); - }); - it("insufficient funds short-circuit broadcast", async function() { await assert.rejects(async function() { const result = await test([ @@ -95,67 +85,4 @@ describe("Test Fallback broadcast", function() { }); }); -describe("Test Inflight Quorum", function() { - // Fires the %%actions%% as providers which will delay before returning, - // and returns an array of arrays, where each sub-array indicates which - // providers were inflight at once. - async function test(actions: Array<{ delay: number, stallTimeout: number, priority: number, weight: number }>, quorum: number): Promise>> { - const inflights: Array> = [ [ ] ]; - - const configs = actions.map(({ delay, stallTimeout, priority, weight }, index) => ({ - provider: new MockProvider(async (r) => { - if (r.method === "getBlockNumber") { return 1; } - if (r.method === "getBalance") { - // Add this as inflight - let last = inflights.pop(); - if (last == null) { throw new Error("no elements"); } - inflights.push(last); - last = last.slice(); - last.push(index); - inflights.push(last); - - // Do the thing - await stall(delay); - - // Remove as inflight - last = inflights.pop(); - if (last == null) { throw new Error("no elements"); } - inflights.push(last); - last = last.filter((v) => (v !== index)); - inflights.push(last); - - return 0; - } - console.log(r); - throw new Error(`unhandled method: ${ r.method }`); - }), - stallTimeout, priority, weight - })); - - const provider = new FallbackProvider(configs, network, { - cacheTimeout: -1, pollingInterval: 100, - quorum - }); - await provider.getBalance(ZeroAddress); - - return inflights; - } - - // See: #4298 - it("applies weights against inflight requests", async function() { - this.timeout(2000); - const inflights = await test([ - { delay: 50, stallTimeout: 1000, priority: 1, weight: 2 }, - { delay: 50, stallTimeout: 1000, priority: 1, weight: 2 }, - ], 2); - - // Make sure there is never more than 1 inflight provider at once - for (const running of inflights) { - assert.ok(running.length <= 1, `too many inflight requests: ${ JSON.stringify(inflights) }`); - } - }); - - // @TODO: add lots more tests, checking on priority, weight and stall - // configurations -}); diff --git a/src.ts/_tests/test-providers-send.ts b/src.ts/_tests/test-providers-send.ts deleted file mode 100644 index ac5dd196..00000000 --- a/src.ts/_tests/test-providers-send.ts +++ /dev/null @@ -1,62 +0,0 @@ -import assert from "assert"; - -import { isError, Wallet } from "../index.js"; - -import { getProvider, providerNames, setupProviders } from "./create-provider.js"; - -import type { TransactionResponse } from "../index.js"; - -function stall(duration: number): Promise { - return new Promise((resolve) => { setTimeout(resolve, duration); }); -} - -setupProviders(); - -describe("Sends Transactions", function() { - - const wallet = new Wallet((process.env.FAUCET_PRIVATEKEY)); - console.log("Faucet Address:", wallet.address); - - const networkName = "goerli"; - for (const providerName of providerNames) { - const provider = getProvider(providerName, networkName); - if (provider == null) { continue; } - - it(`tests sending: ${ providerName }`, async function() { - this.timeout(180000); - - const w = wallet.connect(provider); - - const dustAddr = Wallet.createRandom().address; - - // Retry if another CI instance used our value - let tx: null | TransactionResponse = null; - for (let i = 0; i < 10; i++) { - try { - tx = await w.sendTransaction({ - to: dustAddr, - value: 42, - type: 2 - }); - break; - } catch (error) { - if (isError(error, "REPLACEMENT_UNDERPRICED") || isError(error, "NONCE_EXPIRED")) { - await stall(1000); - continue; - } - throw error; - } - } - assert.ok(!!tx, "too many retries"); - - //const receipt = - await provider.waitForTransaction(tx.hash, null, 60000); //tx.wait(); - //console.log(receipt); - - const balance = await provider.getBalance(dustAddr); - assert.equal(balance, BigInt(42), "target balance after send"); - }); - } - - -}); diff --git a/src.ts/_tests/test-providers-wildcard.ts b/src.ts/_tests/test-providers-wildcard.ts deleted file mode 100644 index 8cc98fce..00000000 --- a/src.ts/_tests/test-providers-wildcard.ts +++ /dev/null @@ -1,22 +0,0 @@ -import assert from "assert"; - -import { connect, setupProviders } from "./create-provider.js"; - -setupProviders(); - -describe("Test EIP-2544 ENS wildcards", function() { - const provider = connect("goerli"); - - it("Resolves recursively", async function() { - const resolver = await provider.getResolver("ricmoose.hatch.eth"); - assert.ok(resolver, "failed to get resolver"); - - assert.equal(resolver.address, "0x15abA1fa74Bfdecd63A71218DC632d4328Db8168", "address"); - assert.equal(await resolver.supportsWildcard(), true, "supportsWildcard()"); - - // Test pass-through avatar - assert.equal(await resolver.getAvatar(), "https:/\/static.ricmoo.com/uploads/profile-06cb9c3031c9.jpg", "getAvatar()"); - - assert.equal(await resolver.getAddress(), "0x4B711A377B1b3534749FBe5e59Bcf7F94d92EA98", "getAddress()"); - }); -}); diff --git a/src.ts/_tests/test-transaction.ts b/src.ts/_tests/test-transaction.ts index 4b64a891..128ae8cf 100644 --- a/src.ts/_tests/test-transaction.ts +++ b/src.ts/_tests/test-transaction.ts @@ -2,31 +2,13 @@ import assert from "assert"; import { loadTests } from "./utils.js"; import type { TestCaseTransaction, TestCaseTransactionTx } from "./types.js"; - import { isError, Transaction } from "../index.js"; const BN_0 = BigInt(0); describe("Tests Unsigned Transaction Serializing", function() { - const tests = loadTests("transactions"); - - for (const test of tests) { - it(`serialized unsigned legacy transaction: ${ test.name }`, function() { - const txData = Object.assign({ }, test.transaction, { - type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }); - - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { txData.chainId = "0x00"; } - - const tx = Transaction.from(txData); - assert.equal(tx.unsignedSerialized, test.unsignedLegacy, "unsignedLegacy"); - }); - } + const tests = loadTests("transactions") for (const test of tests) { // Unsupported parameters for EIP-155; i.e. unspecified chain ID @@ -38,95 +20,29 @@ describe("Tests Unsigned Transaction Serializing", function() { maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - const tx = Transaction.from(txData); assert.equal(tx.unsignedSerialized, test.unsignedEip155, "unsignedEip155"); }); } - - for (const test of tests) { - it(`serialized unsigned Berlin transaction: ${ test.name }`, function() { - const txData = Object.assign({ }, test.transaction, { - type: 1, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }); - - const tx = Transaction.from(txData); - assert.equal(tx.unsignedSerialized, test.unsignedBerlin, "unsignedBerlin"); - }); - } - - for (const test of tests) { - it(`serialized unsigned London transaction: ${ test.name }`, function() { - const txData = Object.assign({ }, test.transaction, { type: 2 }); - const tx = Transaction.from(txData); - assert.equal(tx.unsignedSerialized, test.unsignedLondon, "unsignedLondon"); - }); - } }); describe("Tests Signed Transaction Serializing", function() { const tests = loadTests("transactions"); - for (const test of tests) { - it(`serialized signed legacy transaction: ${ test.name }`, function() { - const txData = Object.assign({ }, test.transaction, { - type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined, - signature: test.signatureLegacy - }); - - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { txData.chainId = "0x00"; } - - const tx = Transaction.from(txData); - assert.equal(tx.serialized, test.signedLegacy, "signedLegacy"); - }); - } - for (const test of tests) { if (!test.unsignedEip155) { continue; } it(`serialized signed EIP-155 transaction: ${ test.name }`, function() { const txData = Object.assign({ }, test.transaction, { type: 0, - accessList: undefined, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined, + accessList: [], + maxFeePerGas: 0, + maxPriorityFeePerGas: 0, signature: test.signatureEip155 }); - const tx = Transaction.from(txData); assert.equal(tx.serialized, test.signedEip155, "signedEip155"); }); } - - for (const test of tests) { - it(`serialized signed Berlin transaction: ${ test.name }`, function() { - const txData = Object.assign({ }, test.transaction, { - type: 1, - maxFeePerGas: undefined, - maxPriorityFeePerGas: undefined - }, { signature: test.signatureBerlin }); - - const tx = Transaction.from(txData); - assert.equal(tx.serialized, test.signedBerlin, "signedBerlin"); - }); - } - - for (const test of tests) { - it(`serialized signed London transaction: ${ test.name }`, function() { - const txData = Object.assign({ }, test.transaction, { - type: 2, - signature: test.signatureLondon - }); - - const tx = Transaction.from(txData); - assert.equal(tx.serialized, test.signedLondon, "signedLondon"); - }); - } }); function assertTxUint(actual: null | bigint, _expected: undefined | string, name: string): void { @@ -164,10 +80,9 @@ function addDefaults(tx: any): any { tx = Object.assign({ }, tx); addDefault(tx, "nonce", 0); addDefault(tx, "gasLimit", BN_0); - addDefault(tx, "gasPrice", BN_0); addDefault(tx, "maxFeePerGas", BN_0); addDefault(tx, "maxPriorityFeePerGas", BN_0); - addDefault(tx, "value", BN_0); + addDefault(tx, "value", 0); addDefault(tx, "data", "0x"); addDefault(tx, "accessList", [ ]); addDefault(tx, "chainId", BN_0); @@ -177,53 +92,15 @@ function addDefaults(tx: any): any { describe("Tests Unsigned Transaction Parsing", function() { const tests = loadTests("transactions"); - for (const test of tests) { - it(`parses unsigned legacy transaction: ${ test.name }`, function() { - const tx = Transaction.from(test.unsignedLegacy); - - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - expected.chainId = BN_0; - - assertTxEqual(tx, expected); - }); - } - for (const test of tests) { if (!test.unsignedEip155) { continue; } it(`parses unsigned EIP-155 transaction: ${ test.name }`, function() { const tx = Transaction.from(test.unsignedEip155); const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - - assertTxEqual(tx, expected); - }); - } - - for (const test of tests) { - it(`parses unsigned Berlin transaction: ${ test.name }`, function() { - const tx = Transaction.from(test.unsignedBerlin); - - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - - assertTxEqual(tx, expected); - }); - } - - for (const test of tests) { - it(`parses unsigned London transaction: ${ test.name }`, function() { - const tx = Transaction.from(test.unsignedLondon); - - const expected = addDefaults(test.transaction); - expected.gasPrice = null; - + expected.maxFeePerGas = 0; + expected.maxPriorityFeePerGas = 0; + expected.accessList = []; assertTxEqual(tx, expected); }); } @@ -232,46 +109,17 @@ describe("Tests Unsigned Transaction Parsing", function() { describe("Tests Signed Transaction Parsing", function() { const tests = loadTests("transactions"); - for (const test of tests) { - it(`parses signed legacy transaction: ${ test.name }`, function() { - let tx = Transaction.from(test.signedLegacy); - - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - expected.chainId = BN_0; - - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - - assert.equal(tx.typeName, "legacy", "typeName"); - - assert.ok(!!tx.signature, "signature:!null") - assert.equal(tx.signature.r, test.signatureLegacy.r, "signature.r"); - assert.equal(tx.signature.s, test.signatureLegacy.s, "signature.s"); - assert.equal(BigInt(tx.signature.v), BigInt(test.signatureLegacy.v), "signature.v"); - - tx = tx.clone(); - } - }); - } - for (const test of tests) { if (!test.unsignedEip155) { continue; } it(`parses signed EIP-155 transaction: ${ test.name }`, function() { let tx = Transaction.from(test.signedEip155); - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - expected.accessList = null; - + expected.maxFeePerGas = 0; + expected.maxPriorityFeePerGas = 0; + expected.accessList = []; for (let i = 0; i < 2; i++) { assertTxEqual(tx, expected); - assert.equal(tx.typeName, "legacy", "typeName"); - assert.ok(!!tx.signature, "signature:!null") assert.equal(tx.signature.r, test.signatureEip155.r, "signature.r"); assert.equal(tx.signature.s, test.signatureEip155.s, "signature.s"); @@ -280,83 +128,37 @@ describe("Tests Signed Transaction Parsing", function() { } }); } - - for (const test of tests) { - it(`parses signed Berlin transaction: ${ test.name }`, function() { - let tx = Transaction.from(test.signedBerlin); - - const expected = addDefaults(test.transaction); - expected.maxFeePerGas = null; - expected.maxPriorityFeePerGas = null; - - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - - assert.equal(tx.typeName, "eip-2930", "typeName"); - - assert.ok(!!tx.signature, "signature:!null") - assert.equal(tx.signature.r, test.signatureBerlin.r, "signature.r"); - assert.equal(tx.signature.s, test.signatureBerlin.s, "signature.s"); - assert.equal(tx.signature.yParity, parseInt(test.signatureBerlin.v), "signature.v"); - - tx = tx.clone(); - } - }); - } - - for (const test of tests) { - it(`parses signed London transaction: ${ test.name }`, function() { - let tx = Transaction.from(test.signedLondon); - - const expected = addDefaults(test.transaction); - expected.gasPrice = null; - - for (let i = 0; i < 2; i++) { - assertTxEqual(tx, expected); - - assert.equal(tx.typeName, "eip-1559", "typeName"); - - assert.ok(!!tx.signature, "signature:!null") - assert.equal(tx.signature.r, test.signatureLondon.r, "signature.r"); - assert.equal(tx.signature.s, test.signatureLondon.s, "signature.s"); - assert.equal(tx.signature.yParity, parseInt(test.signatureLondon.v), "signature.v"); - - // Test cloning - tx = tx.clone(); - } - }); - } }); describe("Tests Transaction Parameters", function() { const badData: Array<{ name: string, data: string, argument: string, message?: string }> = [ { name: "accessList=0x09", - data: "0x02c9010203040580070809", + data: "0x00c9010203040580070809", message: "invalid access list", argument: "accessList" }, { name: "accessList=[0x09]", - data: "0x02ca0102030405800708c109", + data: "0x00ca0102030405800708c109", message: "invalid address-slot set", argument: "accessList" }, { name: "accessList=[0x09,0x10]", - data: "0x02cb0102030405800708c20910", + data: "0x00cb0102030405800708c20910", message: "invalid address-slot set", argument: "accessList" }, { name: "accessList=[0x09,[HASH]] (bad address)", - data: "0x02ed0102030405800708e4e309e1a024412927c99a717115f5308c0ebd11136659b3cb6291abb4a8f87e9856a12538", + data: "0x00ed0102030405800708e4e309e1a024412927c99a717115f5308c0ebd11136659b3cb6291abb4a8f87e9856a12538", message: "invalid address", argument: "accessList" }, { name: "accessList=[ADDR,[0x09]] (bad slot)", - data: "0x02e10102030405800708d8d794939d33ff01840e9eeeb67525ec2f7035af41a4b1c109", + data: "0x00e10102030405800708d8d794939d33ff01840e9eeeb67525ec2f7035af41a4b1c109", message: "invalid slot", argument: "accessList" } @@ -368,7 +170,7 @@ describe("Tests Transaction Parameters", function() { // The access list is a single value: 0x09 instead of // structured data const result = Transaction.from(data); - console.log(result); + console.log(result) }, (error: any) => { return (isError(error, "INVALID_ARGUMENT") && error.argument === argument && diff --git a/src.ts/_tests/test-wallet.ts b/src.ts/_tests/test-wallet.ts index 5e739920..918d1b08 100644 --- a/src.ts/_tests/test-wallet.ts +++ b/src.ts/_tests/test-wallet.ts @@ -6,7 +6,6 @@ import type { TestCaseAccount, TestCaseTypedData, TestCaseTransaction } from "./types.js"; - import { hexlify, randomBytes, Wallet } from "../index.js"; import type { HDNodeWallet } from "../index.js"; @@ -26,46 +25,20 @@ describe("Test Private Key Wallet", function() { describe("Test Transaction Signing", function() { const tests = loadTests("transactions"); - for (const test of tests) { - it(`tests signing a legacy transaction: ${ test.name }`, async function() { - const wallet = new Wallet(test.privateKey); - const txData = Object.assign({ }, test.transaction, { type: 0, accessList: undefined, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - - // Use the testcase sans the chainId for a legacy test - if (txData.chainId != null && parseInt(txData.chainId) != 0) { txData.chainId = "0x00"; } - - const signed = await wallet.signTransaction(txData); - assert.equal(signed, test.signedLegacy, "signedLegacy"); - }); - } for (const test of tests) { if (!test.signedEip155) { continue; } it(`tests signing an EIP-155 transaction: ${ test.name }`, async function() { const wallet = new Wallet(test.privateKey); - const txData = Object.assign({ }, test.transaction, { type: 0, accessList: undefined, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); + const txData = Object.assign({ }, test.transaction, { type: 0, accessList: [], maxFeePerGas: 0, maxPriorityFeePerGas: 0 }); const signed = await wallet.signTransaction(txData); + // let parsed = Transaction.from(signed); + // // console.log('txData: ', JSON.stringify(parsed)) + // // console.log('EXPECTED: ', test.signedEip155) + // // console.log("ACTUAL: ", signed) assert.equal(signed, test.signedEip155, "signedEip155"); }); } - - for (const test of tests) { - it(`tests signing a Berlin transaction: ${ test.name }`, async function() { - const wallet = new Wallet(test.privateKey); - const txData = Object.assign({ }, test.transaction, { type: 1, maxFeePerGas: undefined, maxPriorityFeePerGas: undefined }); - const signed = await wallet.signTransaction(txData); - assert.equal(signed, test.signedBerlin, "signedBerlin"); - }); - } - - for (const test of tests) { - it(`tests signing a London transaction: ${ test.name }`, async function() { - const wallet = new Wallet(test.privateKey); - const txData = Object.assign({ }, test.transaction, { type: 2 }); - const signed = await wallet.signTransaction(txData); - assert.equal(signed, test.signedLondon, "signedLondon"); - }); - } }); describe("Test Message Signing (EIP-191)", function() { diff --git a/src.ts/contract/factory.ts b/src.ts/contract/factory.ts index b8b61242..3d6b6ff6 100644 --- a/src.ts/contract/factory.ts +++ b/src.ts/contract/factory.ts @@ -167,7 +167,6 @@ export class ContractFactory = Array, I = BaseContract tx.from = this.runner.address; } const grindedTx = await this.grindContractAddress(tx); - const sentTx = await this.runner.sendTransaction(grindedTx); const address = getStatic<(tx: ContractDeployTransaction) => string>( this.constructor, diff --git a/src.ts/providers/format.ts b/src.ts/providers/format.ts index 8f629ade..b04c6204 100644 --- a/src.ts/providers/format.ts +++ b/src.ts/providers/format.ts @@ -5,7 +5,7 @@ import { getAddress, getCreateAddress } from "../address/index.js"; import { Signature } from "../crypto/index.js" import { accessListify } from "../transaction/index.js"; import { - getBigInt, getNumber, hexlify, isHexString, zeroPadValue, + getBigInt, getNumber, isHexString, zeroPadValue, assert, assertArgument } from "../utils/index.js"; @@ -202,7 +202,6 @@ const _formatTransactionReceipt = object({ contractAddress: allowNull(getAddress, null), // should be allowNull(hash), but broken-EIP-658 support is handled in receipt index: getNumber, - root: allowNull(hexlify), gasUsed: getBigInt, logsBloom: allowNull(formatData), blockHash: formatHash, diff --git a/src.ts/providers/formatting.ts b/src.ts/providers/formatting.ts index 02cbdb5f..278f210a 100644 --- a/src.ts/providers/formatting.ts +++ b/src.ts/providers/formatting.ts @@ -284,28 +284,9 @@ export interface TransactionReceiptParams { */ status: null | number; - /** - * The root of this transaction in a pre-bazatium block. In - * post-byzantium blocks this is null. - */ - root: null | string; - etxs: ReadonlyArray; } -/* -export interface LegacyTransactionReceipt { - byzantium: false; - status: null; - root: string; -} - -export interface ByzantiumTransactionReceipt { - byzantium: true; - status: number; - root: null; -} -*/ diff --git a/src.ts/providers/provider-jsonrpc.ts b/src.ts/providers/provider-jsonrpc.ts index c218e4df..0fd77f27 100644 --- a/src.ts/providers/provider-jsonrpc.ts +++ b/src.ts/providers/provider-jsonrpc.ts @@ -1075,6 +1075,9 @@ export abstract class JsonRpcApiProvider extends AbstractProvider { * * Throws if the account doesn't exist. */ + + // Works only if using a local node or browser wallet for this, otherwise cannot get accounts + async getSigner(address?: number | string): Promise { if (address == null) { address = 0; } diff --git a/src.ts/providers/provider.ts b/src.ts/providers/provider.ts index a174172b..21793912 100644 --- a/src.ts/providers/provider.ts +++ b/src.ts/providers/provider.ts @@ -981,19 +981,6 @@ export class Log implements LogParams { ////////////////////// // Transaction Receipt -/* -export interface LegacyTransactionReceipt { - byzantium: false; - status: null; - root: string; -} - -export interface ByzantiumTransactionReceipt { - byzantium: true; - status: number; - root: null; -} -*/ /** * A **TransactionReceipt** includes additional information about a @@ -1100,7 +1087,6 @@ export class TransactionReceipt implements TransactionReceiptParams, Iterable; @@ -1144,7 +1130,6 @@ export class TransactionReceipt implements TransactionReceiptParams, Iterable { if (payload[0] >= 0x7f) { // @TODO: > vs >= ?? return Transaction.from(_parse(payload)); } - switch(payload[0]) { case 0: return Transaction.from(_parse(payload)); @@ -761,7 +758,6 @@ export class Transaction implements TransactionLike { if (tx.to != null) { result.to = tx.to; } if (tx.nonce != null) { result.nonce = tx.nonce; } if (tx.gasLimit != null) { result.gasLimit = tx.gasLimit; } - if (tx.gasPrice != null) { result.gasPrice = tx.gasPrice; } if (tx.maxPriorityFeePerGas != null) { result.maxPriorityFeePerGas = tx.maxPriorityFeePerGas; } if (tx.maxFeePerGas != null) { result.maxFeePerGas = tx.maxFeePerGas; } if (tx.data != null) { result.data = tx.data; } diff --git a/src.ts/utils/shards.ts b/src.ts/utils/shards.ts index 32723a7e..7b5a83b0 100644 --- a/src.ts/utils/shards.ts +++ b/src.ts/utils/shards.ts @@ -1,11 +1,11 @@ -import { ShardData } from "../constants"; +import { ShardData } from "../constants/shards.js"; export function getShardForAddress(address: string): string | null { if (address.length < 4) return null; const byteCode = address.substring(2, 4).toUpperCase(); for (const shardInfo of ShardData) { - if (byteCode >= shardInfo.byte[0] && byteCode <= shardInfo.byte[1]) { + if (byteCode >= shardInfo.byte[0].toUpperCase() && byteCode <= shardInfo.byte[1].toUpperCase()) { return shardInfo.shard; } } diff --git a/testcases/test-env/test-tsc/tsconfig.json b/testcases/test-env/test-tsc/tsconfig.json index d0edaaf5..bc217daf 100644 --- a/testcases/test-env/test-tsc/tsconfig.json +++ b/testcases/test-env/test-tsc/tsconfig.json @@ -1,13 +1,15 @@ { "compilerOptions": { "declaration": true, + "module": "esnext", "importHelpers": false, + "resolveJsonModule": true, + "esModuleInterop": true, "lib": [ "dom", "es2020", "es5" ], - "module": "${TS_MODULE}", "moduleResolution": "${TS_MODULE_RESOLUTION}", "strict": true, "target": "es2022" diff --git a/testcases/transactions.json.gz b/testcases/transactions.json.gz index 7f6d75b7..2a0a6577 100644 Binary files a/testcases/transactions.json.gz and b/testcases/transactions.json.gz differ diff --git a/transactions.json.gz b/transactions.json.gz new file mode 100644 index 00000000..e69de29b