ERC721Handler

package

Versions in this module

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

Jump to

Keyboard shortcuts

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