ERC20Handler

package

Versions in this module

v0
Mar 31, 2021
Mar 29, 2021
Mar 23, 2021
Changes in this version
+ var ERC20HandlerBin = "0x60806040523480156200001157600080fd5b50604051620015843803806200158483398101604081905262000034916200025d565b8151835114620000615760405162461bcd60e51b81526004016200005890620003a2565b60405180910390fd5b600080546001600160a01b0319166001600160a01b0386161781555b8351811015620000ca57620000c18482815181106200009857fe5b6020026020010151848381518110620000ad57fe5b60200260200101516200011160201b60201c565b6001016200007d565b5060005b81518110156200010657620000fd828281518110620000e957fe5b60200260200101516200016060201b60201c565b600101620000ce565b505050505062000446565b600082815260016020818152604080842080546001600160a01b039096166001600160a01b0319909616861790559383526002815283832094909455600390935220805460ff19169091179055565b6001600160a01b03811660009081526003602052604090205460ff166200019b5760405162461bcd60e51b815260040162000058906200035e565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b80516001600160a01b0381168114620001d757600080fd5b92915050565b600082601f830112620001ee578081fd5b815162000205620001ff8262000426565b620003ff565b8181529150602080830190848101818402860182018710156200022757600080fd5b60005b8481101562000252576200023f8883620001bf565b845292820192908201906001016200022a565b505050505092915050565b6000806000806080858703121562000273578384fd5b6200027f8686620001bf565b602086810151919550906001600160401b03808211156200029e578586fd5b818801915088601f830112620002b2578586fd5b8151620002c3620001ff8262000426565b81815284810190848601868402860187018d1015620002e057898afd5b8995505b8386101562000304578051835260019590950194918601918601620002e4565b5060408b015190985094505050808311156200031e578485fd5b6200032c89848a01620001dd565b9450606088015192508083111562000342578384fd5b50506200035287828801620001dd565b91505092959194509250565b60208082526024908201527f70726f766964656420636f6e7472616374206973206e6f742077686974656c696040820152631cdd195960e21b606082015260800190565b6020808252603c908201527f696e697469616c5265736f7572636549447320616e6420696e697469616c436f60408201527f6e7472616374416464726573736573206c656e206d69736d6174636800000000606082015260800190565b6040518181016001600160401b03811182821017156200041e57600080fd5b604052919050565b60006001600160401b038211156200043c578081fd5b5060209081020190565b61112e80620004566000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637f79bea81161008c578063ba484c0911610066578063ba484c09146101ab578063c8ba6c87146101cb578063d9caed12146101eb578063e248cff2146101fe576100cf565b80637f79bea81461017257806395601f0914610185578063b8fa373614610198576100cf565b806307b7ed99146100d45780630a6d55d8146100e9578063318c136e1461011257806338995da91461011a5780634402027f1461012d5780636a70d08114610152575b600080fd5b6100e76100e2366004610bea565b610211565b005b6100fc6100f7366004610c6c565b610225565b6040516101099190610e58565b60405180910390f35b6100fc610240565b6100e7610128366004610cfd565b61024f565b61014061013b366004610dd2565b610473565b60405161010996959493929190610ea9565b610165610160366004610bea565b610553565b6040516101099190610eee565b610165610180366004610bea565b610568565b6100e7610193366004610c0c565b61057d565b6100e76101a6366004610c84565b610590565b6101be6101b9366004610d9e565b6105a6565b6040516101099190611026565b6101de6101d9366004610bea565b6106c0565b6040516101099190610ef9565b6100e76101f9366004610c0c565b6106d2565b6100e761020c366004610cb3565b6106ea565b6102196107e9565b61022281610815565b50565b6001602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b6102576107e9565b606060008061026884860186610d7d565b909250905061027d604080830190868861108f565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052508d8152600160209081526040808320546001600160a01b03168084526003909252909120549497509360ff1692506103039150505760405162461bcd60e51b81526004016102fa90610fde565b60405180910390fd5b6001600160a01b03811660009081526004602052604090205460ff16156103345761032f818885610871565b610340565b610340818830866108cf565b6040518060c00160405280826001600160a01b031681526020018a60ff1681526020018b8152602001858152602001886001600160a01b0316815260200184815250600560008b60ff1660ff16815260200190815260200160002060008a67ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff160217905550604082015181600101556060820151816002019080519060200190610434929190610a9c565b5060808201516003820180546001600160a01b0319166001600160a01b0390921691909117905560a09091015160049091015550505050505050505050565b600560209081526000928352604080842082529183529181902080546001808301546002808501805487516101009582161595909502600019011691909104601f81018890048802840188019096528583526001600160a01b03841696600160a01b90940460ff16959194939091908301828280156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b50505050600383015460049093015491926001600160a01b031691905086565b60046020526000908152604090205460ff1681565b60036020526000908152604090205460ff1681565b8261058a818430856108e3565b50505050565b6105986107e9565b6105a2828261093b565b5050565b6105ae610b1a565b60ff828116600090815260056020908152604080832067ffffffffffffffff88168452825291829020825160c08101845281546001600160a01b0381168252600160a01b900490941684830152600180820154858501526002808301805486516101009482161594909402600019011691909104601f8101859004850283018501909552848252919360608601939192918301828280156106905780601f1061066557610100808354040283529160200191610690565b820191906000526020600020905b81548152906001019060200180831161067357829003601f168201915b505050918352505060038201546001600160a01b0316602082015260049091015460409091015290505b92915050565b60026020526000908152604090205481565b6106da6107e9565b6106e583838361098a565b505050565b6106f26107e9565b600080606061070384860186610d7d565b9093509150610718604080840190868861108f565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052508a815260016020908152604080832054828801516001600160a01b039091168085526003909352922054959650909490935060ff16915061079d90505760405162461bcd60e51b81526004016102fa90610fde565b6001600160a01b03811660009081526004602052604090205460ff16156107d1576107cc818360601c87610996565b6107df565b6107df818360601c8761098a565b5050505050505050565b6000546001600160a01b031633146108135760405162461bcd60e51b81526004016102fa90610f37565b565b6001600160a01b03811660009081526003602052604090205460ff1661084d5760405162461bcd60e51b81526004016102fa90610f6e565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b60405163079cc67960e41b815283906001600160a01b038216906379cc6790906108a19086908690600401610e90565b600060405180830381600087803b1580156108bb57600080fd5b505af11580156107df573d6000803e3d6000fd5b836108dc818585856108e3565b5050505050565b61058a846323b872dd60e01b85858560405160240161090493929190610e6c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526109c6565b600082815260016020818152604080842080546001600160a01b039096166001600160a01b0319909616861790559383526002815283832094909455600390935220805460ff19169091179055565b8261058a818484610a7d565b6040516340c10f1960e01b815283906001600160a01b038216906340c10f19906108a19086908690600401610e90565b60006060836001600160a01b0316836040516109e29190610e3c565b6000604051808303816000865af19150503d8060008114610a1f576040519150601f19603f3d011682016040523d82523d6000602084013e610a24565b606091505b509150915081610a465760405162461bcd60e51b81526004016102fa90610fb2565b80511561058a5780806020019051810190610a619190610c4c565b61058a5760405162461bcd60e51b81526004016102fa90610f02565b6106e58363a9059cbb60e01b8484604051602401610904929190610e90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610add57805160ff1916838001178555610b0a565b82800160010185558215610b0a579182015b82811115610b0a578251825591602001919060010190610aef565b50610b16929150610b4e565b5090565b6040805160c0810182526000808252602082018190529181018290526060808201526080810182905260a081019190915290565b5b80821115610b165760008155600101610b4f565b80356001600160a01b03811681146106ba57600080fd5b60008083601f840112610b8b578182fd5b50813567ffffffffffffffff811115610ba2578182fd5b602083019150836020828501011115610bba57600080fd5b9250929050565b803567ffffffffffffffff811681146106ba57600080fd5b803560ff811681146106ba57600080fd5b600060208284031215610bfb578081fd5b610c058383610b63565b9392505050565b600080600060608486031215610c20578182fd5b8335610c2b816110e3565b92506020840135610c3b816110e3565b929592945050506040919091013590565b600060208284031215610c5d578081fd5b81518015158114610c05578182fd5b600060208284031215610c7d578081fd5b5035919050565b60008060408385031215610c96578182fd5b823591506020830135610ca8816110e3565b809150509250929050565b600080600060408486031215610cc7578283fd5b83359250602084013567ffffffffffffffff811115610ce4578283fd5b610cf086828701610b7a565b9497909650939450505050565b60008060008060008060a08789031215610d15578182fd5b86359550610d268860208901610bd9565b9450610d358860408901610bc1565b9350610d448860608901610b63565b9250608087013567ffffffffffffffff811115610d5f578283fd5b610d6b89828a01610b7a565b979a9699509497509295939492505050565b60008060408385031215610d8f578182fd5b50508035926020909101359150565b60008060408385031215610db0578182fd5b610dba8484610bc1565b9150610dc98460208501610bd9565b90509250929050565b60008060408385031215610de4578182fd5b823560ff81168114610df4578283fd5b9150602083013567ffffffffffffffff81168114610ca8578182fd5b60008151808452610e288160208601602086016110b7565b601f01601f19169290920160200192915050565b60008251610e4e8184602087016110b7565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b600060018060a01b03808916835260ff8816602084015286604084015260c06060840152610eda60c0840187610e10565b941660808301525060a00152949350505050565b901515815260200190565b90815260200190565b6020808252818101527f45524332303a206f7065726174696f6e20646964206e6f742073756363656564604082015260600190565b6020808252601e908201527f73656e646572206d7573742062652062726964676520636f6e74726163740000604082015260600190565b60208082526024908201527f70726f766964656420636f6e7472616374206973206e6f742077686974656c696040820152631cdd195960e21b606082015260800190565b602080825260129082015271115490cc8c0e8818d85b1b0819985a5b195960721b604082015260600190565b60208082526028908201527f70726f766964656420746f6b656e41646472657373206973206e6f74207768696040820152671d195b1a5cdd195960c21b606082015260800190565b60006020825260018060a01b0380845116602084015260ff602085015116604084015260408401516060840152606084015160c0608085015261106c60e0850182610e10565b90508160808601511660a085015260a085015160c0850152809250505092915050565b6000808585111561109e578182fd5b838611156110aa578182fd5b5050820193919092039150565b60005b838110156110d25781810151838201526020016110ba565b8381111561058a5750506000910152565b6001600160a01b038116811461022257600080fdfea2646970667358221220cbd87a004146accd319befaf2483d057bafbc30a31ff8a6a21f476e2522a0d2b64736f6c634300060c0033"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL