@acala-network/contracts
Advanced tools
Comparing version 4.4.1 to 4.5.0
@@ -6,6 +6,6 @@ { | ||
"abi": [], | ||
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205bcb29c9a86dc2b3fb7896d049cc3a9ff0ec1a8402820e5ef4c7a4771f83b3d164736f6c63430008120033", | ||
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205bcb29c9a86dc2b3fb7896d049cc3a9ff0ec1a8402820e5ef4c7a4771f83b3d164736f6c63430008120033", | ||
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122042d8d3cf4c710b74e58838bcdb6d5a768882d75fd555afaaf4015dba0654e02d64736f6c63430008120033", | ||
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122042d8d3cf4c710b74e58838bcdb6d5a768882d75fd555afaaf4015dba0654e02d64736f6c63430008120033", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
@@ -57,5 +57,30 @@ { | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "sender", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "bytes32", | ||
"name": "dest", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "TransferToAccountId32", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "owner", | ||
@@ -276,8 +301,32 @@ "type": "address" | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "bytes32", | ||
"name": "dest", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "transferToAccountId32", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
], | ||
"bytecode": "0x608060405234801561001057600080fd5b50610fff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220c7f7b10f6a56ea903788aba11d8f9aaa31df2429f5df4fbe3874b4faecbef54b64736f6c63430008120033", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220c7f7b10f6a56ea903788aba11d8f9aaa31df2429f5df4fbe3874b4faecbef54b64736f6c63430008120033", | ||
"bytecode": "0x608060405234801561001057600080fd5b506111f1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806370a0823111610081578063a457c2d71161005b578063a457c2d71461019e578063a9059cbb146101b1578063dd62ed3e146101c457600080fd5b806370a0823114610170578063871069c01461018357806395d89b411461019657600080fd5b806323b872dd116100b257806323b872dd14610130578063313ce56714610143578063395093511461015d57600080fd5b806306fdde03146100d9578063095ea7b3146100f757806318160ddd1461011a575b600080fd5b6100e1610208565b6040516100ee9190610ed8565b60405180910390f35b61010a610105366004610f52565b610217565b60405190151581526020016100ee565b610122610231565b6040519081526020016100ee565b61010a61013e366004610f7c565b61023b565b61014b61025f565b60405160ff90911681526020016100ee565b61010a61016b366004610f52565b610269565b61012261017e366004610fb8565b6102b3565b61010a610191366004610fda565b6102be565b6100e16103bb565b61010a6101ac366004610f52565b6103c5565b61010a6101bf366004610f52565b610494565b6101226101d2366004610ffc565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606102126104a2565b905090565b60003361022581858561057d565b60019150505b92915050565b600061021261072f565b600033610249858285610802565b6102548585856108d7565b506001949350505050565b6000610212610a87565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061022590829086906102ae90879061102f565b61057d565b600061022b82610b5a565b600033838203610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f45524332303a207472616e7366657220746f20746865207a65726f204163636f60448201527f756e74496433320000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610360818585610c76565b838173ffffffffffffffffffffffffffffffffffffffff167f1d17b5770b13229fb9a0fbb368edadb0cd26837679bf04920d26031ad8fd6bdc856040516103a991815260200190565b60405180910390a35060019392505050565b6060610212610d8b565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161034c565b610254828686840361057d565b6000336102258185856108d7565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b600060405180830381855afa9150503d806000811461054b576040519150601f19603f3d011682016040523d82523d6000602084013e610550565b606091505b50909250905081610562573d60208201fd5b8080602001905181019061057691906110b4565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff831661061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff82166106c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd000000000000000000000000000000000000000000000000000000001790529051600091829182916104009161079c9190611069565b600060405180830381855afa9150503d80600081146107d7576040519150601f19603f3d011682016040523d82523d6000602084013e6107dc565b606091505b509092509050816107ee573d60208201fd5b80806020019051810190610576919061117f565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108d157818110156108c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161034c565b6108d1848484840361057d565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8216610a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161034c565b610a28838383610df9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072291815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829161040091610af49190611069565b600060405180830381855afa9150503d8060008114610b2f576040519150601f19603f3d011682016040523d82523d6000602084013e610b34565b606091505b50909250905081610b46573d60208201fd5b808060200190518101906105769190611198565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610c089190611069565b600060405180830381855afa9150503d8060008114610c43576040519150601f19603f3d011682016040523d82523d6000602084013e610c48565b606091505b50909250905081610c5a573d60208201fd5b80806020019051810190610c6e919061117f565b949350505050565b60405173ffffffffffffffffffffffffffffffffffffffff841660248201526044810183905260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f895904980000000000000000000000000000000000000000000000000000000017905251610d309190611069565b6000604051808303816000865af19150503d8060008114610d6d576040519150601f19603f3d011682016040523d82523d6000602084013e610d72565b606091505b50909250905081610d84573d60208201fd5b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610d309190611069565b60005b83811015610ecf578181015183820152602001610eb7565b50506000910152565b6020815260008251806020840152610ef7816040850160208701610eb4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f4d57600080fd5b919050565b60008060408385031215610f6557600080fd5b610f6e83610f29565b946020939093013593505050565b600080600060608486031215610f9157600080fd5b610f9a84610f29565b9250610fa860208501610f29565b9150604084013590509250925092565b600060208284031215610fca57600080fd5b610fd382610f29565b9392505050565b60008060408385031215610fed57600080fd5b50508035926020909101359150565b6000806040838503121561100f57600080fd5b61101883610f29565b915061102660208401610f29565b90509250929050565b8082018082111561022b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000825161107b818460208701610eb4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156110c657600080fd5b815167ffffffffffffffff808211156110de57600080fd5b818401915084601f8301126110f257600080fd5b81518181111561110457611104611085565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561114a5761114a611085565b8160405282815287602084870101111561116357600080fd5b611174836020830160208801610eb4565b979650505050505050565b60006020828403121561119157600080fd5b5051919050565b6000602082840312156111aa57600080fd5b815160ff81168114610fd357600080fdfea2646970667358221220054e18bc0b3f0a07464c0663a4015c3aa60d5e66cf648752fbf056e6eeefc5e864736f6c63430008120033", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100d45760003560e01c806370a0823111610081578063a457c2d71161005b578063a457c2d71461019e578063a9059cbb146101b1578063dd62ed3e146101c457600080fd5b806370a0823114610170578063871069c01461018357806395d89b411461019657600080fd5b806323b872dd116100b257806323b872dd14610130578063313ce56714610143578063395093511461015d57600080fd5b806306fdde03146100d9578063095ea7b3146100f757806318160ddd1461011a575b600080fd5b6100e1610208565b6040516100ee9190610ed8565b60405180910390f35b61010a610105366004610f52565b610217565b60405190151581526020016100ee565b610122610231565b6040519081526020016100ee565b61010a61013e366004610f7c565b61023b565b61014b61025f565b60405160ff90911681526020016100ee565b61010a61016b366004610f52565b610269565b61012261017e366004610fb8565b6102b3565b61010a610191366004610fda565b6102be565b6100e16103bb565b61010a6101ac366004610f52565b6103c5565b61010a6101bf366004610f52565b610494565b6101226101d2366004610ffc565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606102126104a2565b905090565b60003361022581858561057d565b60019150505b92915050565b600061021261072f565b600033610249858285610802565b6102548585856108d7565b506001949350505050565b6000610212610a87565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061022590829086906102ae90879061102f565b61057d565b600061022b82610b5a565b600033838203610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f45524332303a207472616e7366657220746f20746865207a65726f204163636f60448201527f756e74496433320000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610360818585610c76565b838173ffffffffffffffffffffffffffffffffffffffff167f1d17b5770b13229fb9a0fbb368edadb0cd26837679bf04920d26031ad8fd6bdc856040516103a991815260200190565b60405180910390a35060019392505050565b6060610212610d8b565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161034c565b610254828686840361057d565b6000336102258185856108d7565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b600060405180830381855afa9150503d806000811461054b576040519150601f19603f3d011682016040523d82523d6000602084013e610550565b606091505b50909250905081610562573d60208201fd5b8080602001905181019061057691906110b4565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff831661061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff82166106c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd000000000000000000000000000000000000000000000000000000001790529051600091829182916104009161079c9190611069565b600060405180830381855afa9150503d80600081146107d7576040519150601f19603f3d011682016040523d82523d6000602084013e6107dc565b606091505b509092509050816107ee573d60208201fd5b80806020019051810190610576919061117f565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108d157818110156108c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161034c565b6108d1848484840361057d565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8216610a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161034c565b610a28838383610df9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072291815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829161040091610af49190611069565b600060405180830381855afa9150503d8060008114610b2f576040519150601f19603f3d011682016040523d82523d6000602084013e610b34565b606091505b50909250905081610b46573d60208201fd5b808060200190518101906105769190611198565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610c089190611069565b600060405180830381855afa9150503d8060008114610c43576040519150601f19603f3d011682016040523d82523d6000602084013e610c48565b606091505b50909250905081610c5a573d60208201fd5b80806020019051810190610c6e919061117f565b949350505050565b60405173ffffffffffffffffffffffffffffffffffffffff841660248201526044810183905260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f895904980000000000000000000000000000000000000000000000000000000017905251610d309190611069565b6000604051808303816000865af19150503d8060008114610d6d576040519150601f19603f3d011682016040523d82523d6000602084013e610d72565b606091505b50909250905081610d84573d60208201fd5b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610d309190611069565b60005b83811015610ecf578181015183820152602001610eb7565b50506000910152565b6020815260008251806020840152610ef7816040850160208701610eb4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f4d57600080fd5b919050565b60008060408385031215610f6557600080fd5b610f6e83610f29565b946020939093013593505050565b600080600060608486031215610f9157600080fd5b610f9a84610f29565b9250610fa860208501610f29565b9150604084013590509250925092565b600060208284031215610fca57600080fd5b610fd382610f29565b9392505050565b60008060408385031215610fed57600080fd5b50508035926020909101359150565b6000806040838503121561100f57600080fd5b61101883610f29565b915061102660208401610f29565b90509250929050565b8082018082111561022b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000825161107b818460208701610eb4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156110c657600080fd5b815167ffffffffffffffff808211156110de57600080fd5b818401915084601f8301126110f257600080fd5b81518181111561110457611104611085565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561114a5761114a611085565b8160405282815287602084870101111561116357600080fd5b611174836020830160208801610eb4565b979650505050505050565b60006020828403121561119157600080fd5b5051919050565b6000602082840312156111aa57600080fd5b815160ff81168114610fd357600080fdfea2646970667358221220054e18bc0b3f0a07464c0663a4015c3aa60d5e66cf648752fbf056e6eeefc5e864736f6c63430008120033", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
@@ -242,4 +242,27 @@ # Token | ||
### transferToAccountId32 | ||
```solidity | ||
function transferToAccountId32(bytes32 dest, uint256 amount) external nonpayable returns (bool) | ||
``` | ||
Moves `amount` tokens from the caller's account to `dest`, which is AccountId32 type account. | ||
*It'll emit an {TransferToAccountId32} event. The caller must have a balance of at least `amount`.* | ||
#### Parameters | ||
| Name | Type | Description | | ||
|---|---|---| | ||
| dest | bytes32 | The dest AccountId32 type account, it cannot be the zero AccountId32. | | ||
| amount | uint256 | The transfer amount. | | ||
#### Returns | ||
| Name | Type | Description | | ||
|---|---|---| | ||
| _0 | bool | Returns a boolean value indicating whether the operation succeeded. | | ||
## Events | ||
@@ -283,3 +306,21 @@ | ||
### TransferToAccountId32 | ||
```solidity | ||
event TransferToAccountId32(address indexed sender, bytes32 indexed dest, uint256 amount) | ||
``` | ||
Transfer event to AccountId32 type account. | ||
*This is Transfer event which transfer AccountId32 type account.* | ||
#### Parameters | ||
| Name | Type | Description | | ||
|---|---|---| | ||
| sender `indexed` | address | The sender of the transaction. | | ||
| dest `indexed` | bytes32 | The dest AccountId32 type account. | | ||
| amount | uint256 | The transfer amount. | | ||
{ | ||
"name": "@acala-network/contracts", | ||
"version": "4.4.1", | ||
"version": "4.5.0", | ||
"description": "AcalaNetwork Smart Contract library for Solidity", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -0,1 +1,2 @@ | ||
export type { IToken } from "./IToken"; | ||
export type { Token } from "./Token"; |
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export type { IToken } from "./IToken"; | ||
export type { Token } from "./Token"; |
@@ -18,4 +18,5 @@ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; | ||
"transferFrom(address,address,uint256)": FunctionFragment; | ||
"transferToAccountId32(bytes32,uint256)": FunctionFragment; | ||
}; | ||
getFunction(nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "decimals" | "decreaseAllowance" | "increaseAllowance" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment; | ||
getFunction(nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "decimals" | "decreaseAllowance" | "increaseAllowance" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom" | "transferToAccountId32"): FunctionFragment; | ||
encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string; | ||
@@ -36,2 +37,3 @@ encodeFunctionData(functionFragment: "approve", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string; | ||
]): string; | ||
encodeFunctionData(functionFragment: "transferToAccountId32", values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>]): string; | ||
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; | ||
@@ -48,8 +50,11 @@ decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "transferToAccountId32", data: BytesLike): Result; | ||
events: { | ||
"Approval(address,address,uint256)": EventFragment; | ||
"Transfer(address,address,uint256)": EventFragment; | ||
"TransferToAccountId32(address,bytes32,uint256)": EventFragment; | ||
}; | ||
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TransferToAccountId32"): EventFragment; | ||
} | ||
@@ -78,2 +83,13 @@ export interface ApprovalEventObject { | ||
export declare type TransferEventFilter = TypedEventFilter<TransferEvent>; | ||
export interface TransferToAccountId32EventObject { | ||
sender: string; | ||
dest: string; | ||
amount: BigNumber; | ||
} | ||
export declare type TransferToAccountId32Event = TypedEvent<[ | ||
string, | ||
string, | ||
BigNumber | ||
], TransferToAccountId32EventObject>; | ||
export declare type TransferToAccountId32EventFilter = TypedEventFilter<TransferToAccountId32Event>; | ||
export interface Token extends BaseContract { | ||
@@ -115,2 +131,5 @@ connect(signerOrProvider: Signer | Provider | string): this; | ||
}): Promise<ContractTransaction>; | ||
transferToAccountId32(dest: PromiseOrValue<BytesLike>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { | ||
from?: PromiseOrValue<string>; | ||
}): Promise<ContractTransaction>; | ||
}; | ||
@@ -138,2 +157,5 @@ allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>; | ||
}): Promise<ContractTransaction>; | ||
transferToAccountId32(dest: PromiseOrValue<BytesLike>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { | ||
from?: PromiseOrValue<string>; | ||
}): Promise<ContractTransaction>; | ||
callStatic: { | ||
@@ -151,2 +173,3 @@ allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>; | ||
transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>; | ||
transferToAccountId32(dest: PromiseOrValue<BytesLike>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>; | ||
}; | ||
@@ -158,2 +181,4 @@ filters: { | ||
Transfer(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, value?: null): TransferEventFilter; | ||
"TransferToAccountId32(address,bytes32,uint256)"(sender?: PromiseOrValue<string> | null, dest?: PromiseOrValue<BytesLike> | null, amount?: null): TransferToAccountId32EventFilter; | ||
TransferToAccountId32(sender?: PromiseOrValue<string> | null, dest?: PromiseOrValue<BytesLike> | null, amount?: null): TransferToAccountId32EventFilter; | ||
}; | ||
@@ -182,2 +207,5 @@ estimateGas: { | ||
}): Promise<BigNumber>; | ||
transferToAccountId32(dest: PromiseOrValue<BytesLike>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { | ||
from?: PromiseOrValue<string>; | ||
}): Promise<BigNumber>; | ||
}; | ||
@@ -206,3 +234,6 @@ populateTransaction: { | ||
}): Promise<PopulatedTransaction>; | ||
transferToAccountId32(dest: PromiseOrValue<BytesLike>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { | ||
from?: PromiseOrValue<string>; | ||
}): Promise<PopulatedTransaction>; | ||
}; | ||
} |
@@ -43,2 +43,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
"transferFrom(address,address,uint256)": FunctionFragment; | ||
"transferToAccountId32(bytes32,uint256)": FunctionFragment; | ||
}; | ||
@@ -59,2 +60,3 @@ | ||
| "transferFrom" | ||
| "transferToAccountId32" | ||
): FunctionFragment; | ||
@@ -101,2 +103,6 @@ | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "transferToAccountId32", | ||
values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>] | ||
): string; | ||
@@ -126,2 +132,6 @@ decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "transferToAccountId32", | ||
data: BytesLike | ||
): Result; | ||
@@ -131,2 +141,3 @@ events: { | ||
"Transfer(address,address,uint256)": EventFragment; | ||
"TransferToAccountId32(address,bytes32,uint256)": EventFragment; | ||
}; | ||
@@ -136,2 +147,3 @@ | ||
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TransferToAccountId32"): EventFragment; | ||
} | ||
@@ -163,2 +175,15 @@ | ||
export interface TransferToAccountId32EventObject { | ||
sender: string; | ||
dest: string; | ||
amount: BigNumber; | ||
} | ||
export type TransferToAccountId32Event = TypedEvent< | ||
[string, string, BigNumber], | ||
TransferToAccountId32EventObject | ||
>; | ||
export type TransferToAccountId32EventFilter = | ||
TypedEventFilter<TransferToAccountId32Event>; | ||
export interface Token extends BaseContract { | ||
@@ -240,2 +265,8 @@ connect(signerOrProvider: Signer | Provider | string): this; | ||
): Promise<ContractTransaction>; | ||
transferToAccountId32( | ||
dest: PromiseOrValue<BytesLike>, | ||
amount: PromiseOrValue<BigNumberish>, | ||
overrides?: Overrides & { from?: PromiseOrValue<string> } | ||
): Promise<ContractTransaction>; | ||
}; | ||
@@ -293,2 +324,8 @@ | ||
transferToAccountId32( | ||
dest: PromiseOrValue<BytesLike>, | ||
amount: PromiseOrValue<BigNumberish>, | ||
overrides?: Overrides & { from?: PromiseOrValue<string> } | ||
): Promise<ContractTransaction>; | ||
callStatic: { | ||
@@ -344,2 +381,8 @@ allowance( | ||
): Promise<boolean>; | ||
transferToAccountId32( | ||
dest: PromiseOrValue<BytesLike>, | ||
amount: PromiseOrValue<BigNumberish>, | ||
overrides?: CallOverrides | ||
): Promise<boolean>; | ||
}; | ||
@@ -369,2 +412,13 @@ | ||
): TransferEventFilter; | ||
"TransferToAccountId32(address,bytes32,uint256)"( | ||
sender?: PromiseOrValue<string> | null, | ||
dest?: PromiseOrValue<BytesLike> | null, | ||
amount?: null | ||
): TransferToAccountId32EventFilter; | ||
TransferToAccountId32( | ||
sender?: PromiseOrValue<string> | null, | ||
dest?: PromiseOrValue<BytesLike> | null, | ||
amount?: null | ||
): TransferToAccountId32EventFilter; | ||
}; | ||
@@ -422,2 +476,8 @@ | ||
): Promise<BigNumber>; | ||
transferToAccountId32( | ||
dest: PromiseOrValue<BytesLike>, | ||
amount: PromiseOrValue<BigNumberish>, | ||
overrides?: Overrides & { from?: PromiseOrValue<string> } | ||
): Promise<BigNumber>; | ||
}; | ||
@@ -475,3 +535,9 @@ | ||
): Promise<PopulatedTransaction>; | ||
transferToAccountId32( | ||
dest: PromiseOrValue<BytesLike>, | ||
amount: PromiseOrValue<BigNumberish>, | ||
overrides?: Overrides & { from?: PromiseOrValue<string> } | ||
): Promise<PopulatedTransaction>; | ||
}; | ||
} |
@@ -0,1 +1,2 @@ | ||
export { IToken__factory } from "./IToken__factory"; | ||
export { Token__factory } from "./Token__factory"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Token__factory = void 0; | ||
exports.Token__factory = exports.IToken__factory = void 0; | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
var IToken__factory_1 = require("./IToken__factory"); | ||
Object.defineProperty(exports, "IToken__factory", { enumerable: true, get: function () { return IToken__factory_1.IToken__factory; } }); | ||
var Token__factory_1 = require("./Token__factory"); | ||
Object.defineProperty(exports, "Token__factory", { enumerable: true, get: function () { return Token__factory_1.Token__factory; } }); |
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export { IToken__factory } from "./IToken__factory"; | ||
export { Token__factory } from "./Token__factory"; |
@@ -16,3 +16,3 @@ import { Signer, ContractFactory, Overrides } from "ethers"; | ||
connect(signer: Signer): Token__factory; | ||
static readonly bytecode = "0x608060405234801561001057600080fd5b50610fff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220c7f7b10f6a56ea903788aba11d8f9aaa31df2429f5df4fbe3874b4faecbef54b64736f6c63430008120033"; | ||
static readonly bytecode = "0x608060405234801561001057600080fd5b506111f1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806370a0823111610081578063a457c2d71161005b578063a457c2d71461019e578063a9059cbb146101b1578063dd62ed3e146101c457600080fd5b806370a0823114610170578063871069c01461018357806395d89b411461019657600080fd5b806323b872dd116100b257806323b872dd14610130578063313ce56714610143578063395093511461015d57600080fd5b806306fdde03146100d9578063095ea7b3146100f757806318160ddd1461011a575b600080fd5b6100e1610208565b6040516100ee9190610ed8565b60405180910390f35b61010a610105366004610f52565b610217565b60405190151581526020016100ee565b610122610231565b6040519081526020016100ee565b61010a61013e366004610f7c565b61023b565b61014b61025f565b60405160ff90911681526020016100ee565b61010a61016b366004610f52565b610269565b61012261017e366004610fb8565b6102b3565b61010a610191366004610fda565b6102be565b6100e16103bb565b61010a6101ac366004610f52565b6103c5565b61010a6101bf366004610f52565b610494565b6101226101d2366004610ffc565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606102126104a2565b905090565b60003361022581858561057d565b60019150505b92915050565b600061021261072f565b600033610249858285610802565b6102548585856108d7565b506001949350505050565b6000610212610a87565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061022590829086906102ae90879061102f565b61057d565b600061022b82610b5a565b600033838203610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f45524332303a207472616e7366657220746f20746865207a65726f204163636f60448201527f756e74496433320000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610360818585610c76565b838173ffffffffffffffffffffffffffffffffffffffff167f1d17b5770b13229fb9a0fbb368edadb0cd26837679bf04920d26031ad8fd6bdc856040516103a991815260200190565b60405180910390a35060019392505050565b6060610212610d8b565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161034c565b610254828686840361057d565b6000336102258185856108d7565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b600060405180830381855afa9150503d806000811461054b576040519150601f19603f3d011682016040523d82523d6000602084013e610550565b606091505b50909250905081610562573d60208201fd5b8080602001905181019061057691906110b4565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff831661061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff82166106c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd000000000000000000000000000000000000000000000000000000001790529051600091829182916104009161079c9190611069565b600060405180830381855afa9150503d80600081146107d7576040519150601f19603f3d011682016040523d82523d6000602084013e6107dc565b606091505b509092509050816107ee573d60208201fd5b80806020019051810190610576919061117f565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108d157818110156108c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161034c565b6108d1848484840361057d565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8216610a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161034c565b610a28838383610df9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072291815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829161040091610af49190611069565b600060405180830381855afa9150503d8060008114610b2f576040519150601f19603f3d011682016040523d82523d6000602084013e610b34565b606091505b50909250905081610b46573d60208201fd5b808060200190518101906105769190611198565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610c089190611069565b600060405180830381855afa9150503d8060008114610c43576040519150601f19603f3d011682016040523d82523d6000602084013e610c48565b606091505b50909250905081610c5a573d60208201fd5b80806020019051810190610c6e919061117f565b949350505050565b60405173ffffffffffffffffffffffffffffffffffffffff841660248201526044810183905260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f895904980000000000000000000000000000000000000000000000000000000017905251610d309190611069565b6000604051808303816000865af19150503d8060008114610d6d576040519150601f19603f3d011682016040523d82523d6000602084013e610d72565b606091505b50909250905081610d84573d60208201fd5b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610d309190611069565b60005b83811015610ecf578181015183820152602001610eb7565b50506000910152565b6020815260008251806020840152610ef7816040850160208701610eb4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f4d57600080fd5b919050565b60008060408385031215610f6557600080fd5b610f6e83610f29565b946020939093013593505050565b600080600060608486031215610f9157600080fd5b610f9a84610f29565b9250610fa860208501610f29565b9150604084013590509250925092565b600060208284031215610fca57600080fd5b610fd382610f29565b9392505050565b60008060408385031215610fed57600080fd5b50508035926020909101359150565b6000806040838503121561100f57600080fd5b61101883610f29565b915061102660208401610f29565b90509250929050565b8082018082111561022b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000825161107b818460208701610eb4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156110c657600080fd5b815167ffffffffffffffff808211156110de57600080fd5b818401915084601f8301126110f257600080fd5b81518181111561110457611104611085565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561114a5761114a611085565b8160405282815287602084870101111561116357600080fd5b611174836020830160208801610eb4565b979650505050505050565b60006020828403121561119157600080fd5b5051919050565b6000602082840312156111aa57600080fd5b815160ff81168114610fd357600080fdfea2646970667358221220054e18bc0b3f0a07464c0663a4015c3aa60d5e66cf648752fbf056e6eeefc5e864736f6c63430008120033"; | ||
static readonly abi: readonly [{ | ||
@@ -59,4 +59,24 @@ readonly anonymous: false; | ||
}, { | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly indexed: true; | ||
readonly internalType: "address"; | ||
readonly name: "sender"; | ||
readonly type: "address"; | ||
}, { | ||
readonly indexed: true; | ||
readonly internalType: "bytes32"; | ||
readonly name: "dest"; | ||
readonly type: "bytes32"; | ||
}, { | ||
readonly indexed: false; | ||
readonly internalType: "uint256"; | ||
readonly name: "amount"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "TransferToAccountId32"; | ||
readonly type: "event"; | ||
}, { | ||
readonly inputs: readonly [{ | ||
readonly internalType: "address"; | ||
readonly name: "owner"; | ||
@@ -225,2 +245,20 @@ readonly type: "address"; | ||
readonly type: "function"; | ||
}, { | ||
readonly inputs: readonly [{ | ||
readonly internalType: "bytes32"; | ||
readonly name: "dest"; | ||
readonly type: "bytes32"; | ||
}, { | ||
readonly internalType: "uint256"; | ||
readonly name: "amount"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "transferToAccountId32"; | ||
readonly outputs: readonly [{ | ||
readonly internalType: "bool"; | ||
readonly name: ""; | ||
readonly type: "bool"; | ||
}]; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
}]; | ||
@@ -227,0 +265,0 @@ static createInterface(): TokenInterface; |
@@ -60,5 +60,30 @@ "use strict"; | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "bytes32", | ||
name: "dest", | ||
type: "bytes32", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "amount", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TransferToAccountId32", | ||
type: "event", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "owner", | ||
@@ -280,4 +305,28 @@ type: "address", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "bytes32", | ||
name: "dest", | ||
type: "bytes32", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "amount", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "transferToAccountId32", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
name: "", | ||
type: "bool", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
]; | ||
const _bytecode = "0x608060405234801561001057600080fd5b50610fff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220c7f7b10f6a56ea903788aba11d8f9aaa31df2429f5df4fbe3874b4faecbef54b64736f6c63430008120033"; | ||
const _bytecode = "0x608060405234801561001057600080fd5b506111f1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806370a0823111610081578063a457c2d71161005b578063a457c2d71461019e578063a9059cbb146101b1578063dd62ed3e146101c457600080fd5b806370a0823114610170578063871069c01461018357806395d89b411461019657600080fd5b806323b872dd116100b257806323b872dd14610130578063313ce56714610143578063395093511461015d57600080fd5b806306fdde03146100d9578063095ea7b3146100f757806318160ddd1461011a575b600080fd5b6100e1610208565b6040516100ee9190610ed8565b60405180910390f35b61010a610105366004610f52565b610217565b60405190151581526020016100ee565b610122610231565b6040519081526020016100ee565b61010a61013e366004610f7c565b61023b565b61014b61025f565b60405160ff90911681526020016100ee565b61010a61016b366004610f52565b610269565b61012261017e366004610fb8565b6102b3565b61010a610191366004610fda565b6102be565b6100e16103bb565b61010a6101ac366004610f52565b6103c5565b61010a6101bf366004610f52565b610494565b6101226101d2366004610ffc565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606102126104a2565b905090565b60003361022581858561057d565b60019150505b92915050565b600061021261072f565b600033610249858285610802565b6102548585856108d7565b506001949350505050565b6000610212610a87565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061022590829086906102ae90879061102f565b61057d565b600061022b82610b5a565b600033838203610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f45524332303a207472616e7366657220746f20746865207a65726f204163636f60448201527f756e74496433320000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610360818585610c76565b838173ffffffffffffffffffffffffffffffffffffffff167f1d17b5770b13229fb9a0fbb368edadb0cd26837679bf04920d26031ad8fd6bdc856040516103a991815260200190565b60405180910390a35060019392505050565b6060610212610d8b565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161034c565b610254828686840361057d565b6000336102258185856108d7565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b600060405180830381855afa9150503d806000811461054b576040519150601f19603f3d011682016040523d82523d6000602084013e610550565b606091505b50909250905081610562573d60208201fd5b8080602001905181019061057691906110b4565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff831661061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff82166106c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd000000000000000000000000000000000000000000000000000000001790529051600091829182916104009161079c9190611069565b600060405180830381855afa9150503d80600081146107d7576040519150601f19603f3d011682016040523d82523d6000602084013e6107dc565b606091505b509092509050816107ee573d60208201fd5b80806020019051810190610576919061117f565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108d157818110156108c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161034c565b6108d1848484840361057d565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8216610a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161034c565b610a28838383610df9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072291815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829161040091610af49190611069565b600060405180830381855afa9150503d8060008114610b2f576040519150601f19603f3d011682016040523d82523d6000602084013e610b34565b606091505b50909250905081610b46573d60208201fd5b808060200190518101906105769190611198565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610c089190611069565b600060405180830381855afa9150503d8060008114610c43576040519150601f19603f3d011682016040523d82523d6000602084013e610c48565b606091505b50909250905081610c5a573d60208201fd5b80806020019051810190610c6e919061117f565b949350505050565b60405173ffffffffffffffffffffffffffffffffffffffff841660248201526044810183905260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f895904980000000000000000000000000000000000000000000000000000000017905251610d309190611069565b6000604051808303816000865af19150503d8060008114610d6d576040519150601f19603f3d011682016040523d82523d6000602084013e610d72565b606091505b50909250905081610d84573d60208201fd5b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610d309190611069565b60005b83811015610ecf578181015183820152602001610eb7565b50506000910152565b6020815260008251806020840152610ef7816040850160208701610eb4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f4d57600080fd5b919050565b60008060408385031215610f6557600080fd5b610f6e83610f29565b946020939093013593505050565b600080600060608486031215610f9157600080fd5b610f9a84610f29565b9250610fa860208501610f29565b9150604084013590509250925092565b600060208284031215610fca57600080fd5b610fd382610f29565b9392505050565b60008060408385031215610fed57600080fd5b50508035926020909101359150565b6000806040838503121561100f57600080fd5b61101883610f29565b915061102660208401610f29565b90509250929050565b8082018082111561022b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000825161107b818460208701610eb4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156110c657600080fd5b815167ffffffffffffffff808211156110de57600080fd5b818401915084601f8301126110f257600080fd5b81518181111561110457611104611085565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561114a5761114a611085565b8160405282815287602084870101111561116357600080fd5b611174836020830160208801610eb4565b979650505050505050565b60006020828403121561119157600080fd5b5051919050565b6000602082840312156111aa57600080fd5b815160ff81168114610fd357600080fdfea2646970667358221220054e18bc0b3f0a07464c0663a4015c3aa60d5e66cf648752fbf056e6eeefc5e864736f6c63430008120033"; | ||
const isSuperArgs = (xs) => xs.length > 1; | ||
@@ -284,0 +333,0 @@ class Token__factory extends ethers_1.ContractFactory { |
@@ -61,5 +61,30 @@ /* Autogenerated file. Do not edit manually. */ | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "bytes32", | ||
name: "dest", | ||
type: "bytes32", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "amount", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TransferToAccountId32", | ||
type: "event", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "owner", | ||
@@ -281,6 +306,30 @@ type: "address", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "bytes32", | ||
name: "dest", | ||
type: "bytes32", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "amount", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "transferToAccountId32", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
name: "", | ||
type: "bool", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
] as const; | ||
const _bytecode = | ||
"0x608060405234801561001057600080fd5b50610fff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610180578063a9059cbb14610193578063dd62ed3e146101a657600080fd5b8063395093511461015257806370a082311461016557806395d89b411461017857600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610125578063313ce5671461013857600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101ea565b6040516100e39190610d08565b60405180910390f35b6100ff6100fa366004610d82565b6101f9565b60405190151581526020016100e3565b610117610213565b6040519081526020016100e3565b6100ff610133366004610dac565b61021d565b610140610241565b60405160ff90911681526020016100e3565b6100ff610160366004610d82565b61024b565b610117610173366004610de8565b610295565b6100d66102a0565b6100ff61018e366004610d82565b6102aa565b6100ff6101a1366004610d82565b61037e565b6101176101b4366004610e0a565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606101f461038c565b905090565b600033610207818585610467565b60019150505b92915050565b60006101f4610619565b60003361022b8582856106ec565b6102368585856107c1565b506001949350505050565b60006101f4610971565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102079082908690610290908790610e3d565b610467565b600061020d82610a44565b60606101f4610b60565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102368286868403610467565b6000336102078185856107c1565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b600060405180830381855afa9150503d8060008114610435576040519150601f19603f3d011682016040523d82523d6000602084013e61043a565b606091505b5090925090508161044c573d60208201fd5b808060200190518101906104609190610ec2565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff8316610509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff82166105ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd00000000000000000000000000000000000000000000000000000000179052905160009182918291610400916106869190610e77565b600060405180830381855afa9150503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b509092509050816106d8573d60208201fd5b808060200190518101906104609190610f8d565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107bb57818110156107ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610368565b6107bb8484848403610467565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610368565b73ffffffffffffffffffffffffffffffffffffffff8216610907576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610368565b610912838383610bce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060c91815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce56700000000000000000000000000000000000000000000000000000000179052905160009182918291610400916109de9190610e77565b600060405180830381855afa9150503d8060008114610a19576040519150601f19603f3d011682016040523d82523d6000602084013e610a1e565b606091505b50909250905081610a30573d60208201fd5b808060200190518101906104609190610fa6565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610af29190610e77565b600060405180830381855afa9150503d8060008114610b2d576040519150601f19603f3d011682016040523d82523d6000602084013e610b32565b606091505b50909250905081610b44573d60208201fd5b80806020019051810190610b589190610f8d565b949350505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916103fa9190610e77565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610c899190610e77565b6000604051808303816000865af19150503d8060008114610cc6576040519150601f19603f3d011682016040523d82523d6000602084013e610ccb565b606091505b50909250905081610cdd573d60208201fd5b5050505050565b60005b83811015610cff578181015183820152602001610ce7565b50506000910152565b6020815260008251806020840152610d27816040850160208701610ce4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7d57600080fd5b919050565b60008060408385031215610d9557600080fd5b610d9e83610d59565b946020939093013593505050565b600080600060608486031215610dc157600080fd5b610dca84610d59565b9250610dd860208501610d59565b9150604084013590509250925092565b600060208284031215610dfa57600080fd5b610e0382610d59565b9392505050565b60008060408385031215610e1d57600080fd5b610e2683610d59565b9150610e3460208401610d59565b90509250929050565b8082018082111561020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008251610e89818460208701610ce4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ed457600080fd5b815167ffffffffffffffff80821115610eec57600080fd5b818401915084601f830112610f0057600080fd5b815181811115610f1257610f12610e93565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610f5857610f58610e93565b81604052828152876020848701011115610f7157600080fd5b610f82836020830160208801610ce4565b979650505050505050565b600060208284031215610f9f57600080fd5b5051919050565b600060208284031215610fb857600080fd5b815160ff81168114610e0357600080fdfea2646970667358221220c7f7b10f6a56ea903788aba11d8f9aaa31df2429f5df4fbe3874b4faecbef54b64736f6c63430008120033"; | ||
"0x608060405234801561001057600080fd5b506111f1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806370a0823111610081578063a457c2d71161005b578063a457c2d71461019e578063a9059cbb146101b1578063dd62ed3e146101c457600080fd5b806370a0823114610170578063871069c01461018357806395d89b411461019657600080fd5b806323b872dd116100b257806323b872dd14610130578063313ce56714610143578063395093511461015d57600080fd5b806306fdde03146100d9578063095ea7b3146100f757806318160ddd1461011a575b600080fd5b6100e1610208565b6040516100ee9190610ed8565b60405180910390f35b61010a610105366004610f52565b610217565b60405190151581526020016100ee565b610122610231565b6040519081526020016100ee565b61010a61013e366004610f7c565b61023b565b61014b61025f565b60405160ff90911681526020016100ee565b61010a61016b366004610f52565b610269565b61012261017e366004610fb8565b6102b3565b61010a610191366004610fda565b6102be565b6100e16103bb565b61010a6101ac366004610f52565b6103c5565b61010a6101bf366004610f52565b610494565b6101226101d2366004610ffc565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205490565b60606102126104a2565b905090565b60003361022581858561057d565b60019150505b92915050565b600061021261072f565b600033610249858285610802565b6102548585856108d7565b506001949350505050565b6000610212610a87565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061022590829086906102ae90879061102f565b61057d565b600061022b82610b5a565b600033838203610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f45524332303a207472616e7366657220746f20746865207a65726f204163636f60448201527f756e74496433320000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610360818585610c76565b838173ffffffffffffffffffffffffffffffffffffffff167f1d17b5770b13229fb9a0fbb368edadb0cd26837679bf04920d26031ad8fd6bdc856040516103a991815260200190565b60405180910390a35060019392505050565b6060610212610d8b565b3360008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161034c565b610254828686840361057d565b6000336102258185856108d7565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde030000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b600060405180830381855afa9150503d806000811461054b576040519150601f19603f3d011682016040523d82523d6000602084013e610550565b606091505b50909250905081610562573d60208201fd5b8080602001905181019061057691906110b4565b9250505090565b73ffffffffffffffffffffffffffffffffffffffff831661061f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff82166106c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152602081815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f18160ddd000000000000000000000000000000000000000000000000000000001790529051600091829182916104009161079c9190611069565b600060405180830381855afa9150503d80600081146107d7576040519150601f19603f3d011682016040523d82523d6000602084013e6107dc565b606091505b509092509050816107ee573d60208201fd5b80806020019051810190610576919061117f565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260208181526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108d157818110156108c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161034c565b6108d1848484840361057d565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161034c565b73ffffffffffffffffffffffffffffffffffffffff8216610a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161034c565b610a28838383610df9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072291815260200190565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829161040091610af49190611069565b600060405180830381855afa9150503d8060008114610b2f576040519150601f19603f3d011682016040523d82523d6000602084013e610b34565b606091505b50909250905081610b46573d60208201fd5b808060200190518101906105769190611198565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190819061040090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905251610c089190611069565b600060405180830381855afa9150503d8060008114610c43576040519150601f19603f3d011682016040523d82523d6000602084013e610c48565b606091505b50909250905081610c5a573d60208201fd5b80806020019051810190610c6e919061117f565b949350505050565b60405173ffffffffffffffffffffffffffffffffffffffff841660248201526044810183905260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f895904980000000000000000000000000000000000000000000000000000000017905251610d309190611069565b6000604051808303816000865af19150503d8060008114610d6d576040519150601f19603f3d011682016040523d82523d6000602084013e610d72565b606091505b50909250905081610d84573d60208201fd5b5050505050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b410000000000000000000000000000000000000000000000000000000017905290516060916000918291610400916105109190611069565b60405173ffffffffffffffffffffffffffffffffffffffff84811660248301528316604482015260648101829052600090819061040090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fbeabacc80000000000000000000000000000000000000000000000000000000017905251610d309190611069565b60005b83811015610ecf578181015183820152602001610eb7565b50506000910152565b6020815260008251806020840152610ef7816040850160208701610eb4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f4d57600080fd5b919050565b60008060408385031215610f6557600080fd5b610f6e83610f29565b946020939093013593505050565b600080600060608486031215610f9157600080fd5b610f9a84610f29565b9250610fa860208501610f29565b9150604084013590509250925092565b600060208284031215610fca57600080fd5b610fd382610f29565b9392505050565b60008060408385031215610fed57600080fd5b50508035926020909101359150565b6000806040838503121561100f57600080fd5b61101883610f29565b915061102660208401610f29565b90509250929050565b8082018082111561022b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000825161107b818460208701610eb4565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156110c657600080fd5b815167ffffffffffffffff808211156110de57600080fd5b818401915084601f8301126110f257600080fd5b81518181111561110457611104611085565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561114a5761114a611085565b8160405282815287602084870101111561116357600080fd5b611174836020830160208801610eb4565b979650505050505050565b60006020828403121561119157600080fd5b5051919050565b6000602082840312156111aa57600080fd5b815160ff81168114610fd357600080fdfea2646970667358221220054e18bc0b3f0a07464c0663a4015c3aa60d5e66cf648752fbf056e6eeefc5e864736f6c63430008120033"; | ||
@@ -287,0 +336,0 @@ type TokenConstructorParams = |
@@ -104,2 +104,6 @@ /* Autogenerated file. Do not edit manually. */ | ||
getContractFactory( | ||
name: "IToken", | ||
signerOrOptions?: ethers.Signer | FactoryOptions | ||
): Promise<Contracts.IToken__factory>; | ||
getContractFactory( | ||
name: "Token", | ||
@@ -228,2 +232,7 @@ signerOrOptions?: ethers.Signer | FactoryOptions | ||
getContractAt( | ||
name: "IToken", | ||
address: string, | ||
signer?: ethers.Signer | ||
): Promise<Contracts.IToken>; | ||
getContractAt( | ||
name: "Token", | ||
@@ -230,0 +239,0 @@ address: string, |
@@ -50,2 +50,4 @@ import type * as openzeppelin from "./@openzeppelin"; | ||
export { StableAsset__factory } from "./factories/contracts/stable-asset/StableAsset__factory"; | ||
export type { IToken } from "./contracts/token/IToken"; | ||
export { IToken__factory } from "./factories/contracts/token/IToken__factory"; | ||
export type { Token } from "./contracts/token/Token"; | ||
@@ -52,0 +54,0 @@ export { Token__factory } from "./factories/contracts/token/Token__factory"; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Xtokens__factory = exports.IXtokens__factory = exports.Token__factory = exports.StableAsset__factory = exports.IStableAsset__factory = exports.Schedule__factory = exports.ISchedule__factory = exports.Oracle__factory = exports.IOracle__factory = exports.NFT__factory = exports.LiquidCrowdloan__factory = exports.ILiquidCrowdloan__factory = exports.InterfaceIncentives__factory = exports.Incentives__factory = exports.IHonzon__factory = exports.Honzon__factory = exports.IHoma__factory = exports.Homa__factory = exports.IEVM__factory = exports.EVM__factory = exports.IEVMAccounts__factory = exports.EVMAccounts__factory = exports.IDEX__factory = exports.DEX__factory = exports.IERC20__factory = exports.factories = void 0; | ||
exports.Xtokens__factory = exports.IXtokens__factory = exports.Token__factory = exports.IToken__factory = exports.StableAsset__factory = exports.IStableAsset__factory = exports.Schedule__factory = exports.ISchedule__factory = exports.Oracle__factory = exports.IOracle__factory = exports.NFT__factory = exports.LiquidCrowdloan__factory = exports.ILiquidCrowdloan__factory = exports.InterfaceIncentives__factory = exports.Incentives__factory = exports.IHonzon__factory = exports.Honzon__factory = exports.IHoma__factory = exports.Homa__factory = exports.IEVM__factory = exports.EVM__factory = exports.IEVMAccounts__factory = exports.EVMAccounts__factory = exports.IDEX__factory = exports.DEX__factory = exports.IERC20__factory = exports.factories = void 0; | ||
exports.factories = __importStar(require("./factories")); | ||
@@ -73,2 +73,4 @@ var IERC20__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/IERC20__factory"); | ||
Object.defineProperty(exports, "StableAsset__factory", { enumerable: true, get: function () { return StableAsset__factory_1.StableAsset__factory; } }); | ||
var IToken__factory_1 = require("./factories/contracts/token/IToken__factory"); | ||
Object.defineProperty(exports, "IToken__factory", { enumerable: true, get: function () { return IToken__factory_1.IToken__factory; } }); | ||
var Token__factory_1 = require("./factories/contracts/token/Token__factory"); | ||
@@ -75,0 +77,0 @@ Object.defineProperty(exports, "Token__factory", { enumerable: true, get: function () { return Token__factory_1.Token__factory; } }); |
@@ -53,2 +53,4 @@ /* Autogenerated file. Do not edit manually. */ | ||
export { StableAsset__factory } from "./factories/contracts/stable-asset/StableAsset__factory"; | ||
export type { IToken } from "./contracts/token/IToken"; | ||
export { IToken__factory } from "./factories/contracts/token/IToken__factory"; | ||
export type { Token } from "./contracts/token/Token"; | ||
@@ -55,0 +57,0 @@ export { Token__factory } from "./factories/contracts/token/Token__factory"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1802833
368
36751