erc1155

package

Versions in this module

v0
Nov 13, 2021
Nov 13, 2021
Oct 10, 2021
Oct 10, 2021
Changes in this version
+ var Erc1155Bin = "0x60806040523480156200001157600080fd5b50604051620029b0380380620029b083398181016040528101906200003791906200018d565b62000048816200004f60201b60201c565b5062000342565b8060029080519060200190620000679291906200006b565b5050565b828054620000799062000267565b90600052602060002090601f0160209004810192826200009d5760008555620000e9565b82601f10620000b857805160ff1916838001178555620000e9565b82800160010185558215620000e9579182015b82811115620000e8578251825591602001919060010190620000cb565b5b509050620000f89190620000fc565b5090565b5b8082111562000117576000816000905550600101620000fd565b5090565b6000620001326200012c84620001fb565b620001d2565b9050828152602081018484840111156200014b57600080fd5b6200015884828562000231565b509392505050565b600082601f8301126200017257600080fd5b8151620001848482602086016200011b565b91505092915050565b600060208284031215620001a057600080fd5b600082015167ffffffffffffffff811115620001bb57600080fd5b620001c98482850162000160565b91505092915050565b6000620001de620001f1565b9050620001ec82826200029d565b919050565b6000604051905090565b600067ffffffffffffffff82111562000219576200021862000302565b5b620002248262000331565b9050602081019050919050565b60005b838110156200025157808201518184015260208101905062000234565b8381111562000261576000848401525b50505050565b600060028204905060018216806200028057607f821691505b60208210811415620002975762000296620002d3565b5b50919050565b620002a88262000331565b810181811067ffffffffffffffff82111715620002ca57620002c962000302565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61265e80620003526000396000f3fe608060405234801561001057600080fd5b50600436106100875760003560e01c80634e1273f41161005b5780634e1273f414610138578063a22cb46514610168578063e985e9c514610184578063f242432a146101b457610087565b8062fdd58e1461008c57806301ffc9a7146100bc5780630e89341c146100ec5780632eb2c2d61461011c575b600080fd5b6100a660048036038101906100a191906117c7565b6101d0565b6040516100b39190611e04565b60405180910390f35b6100d660048036038101906100d1919061186f565b610299565b6040516100e39190611c87565b60405180910390f35b610106600480360381019061010191906118c1565b61037b565b6040516101139190611ca2565b60405180910390f35b6101366004803603810190610131919061163d565b61040f565b005b610152600480360381019061014d9190611803565b610805565b60405161015f9190611c2e565b60405180910390f35b610182600480360381019061017d919061178b565b6109b6565b005b61019e60048036038101906101999190611601565b610b37565b6040516101ab9190611c87565b60405180910390f35b6101ce60048036038101906101c991906116fc565b610bcb565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023890611d04565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061036457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610374575061037382610ee3565b5b9050919050565b60606002805461038a906120a7565b80601f01602080910402602001604051908101604052809291908181526020018280546103b6906120a7565b80156104035780601f106103d857610100808354040283529160200191610403565b820191906000526020600020905b8154815290600101906020018083116103e657829003601f168201915b50505050509050919050565b8151835114610453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044a90611de4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156104c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ba90611d44565b60405180910390fd5b6104cb610f4d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061051157506105108561050b610f4d565b610b37565b5b610550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054790611d64565b60405180910390fd5b600061055a610f4d565b905061056a818787878787610f55565b60005b84518110156107705760008582815181106105b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106105f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068e90611d84565b60405180910390fd5b81816106a39190611fbd565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107559190611f67565b92505081905550505050806107699061210a565b905061056d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516107e7929190611c50565b60405180910390a46107fd818787878787610f5d565b505050505050565b6060815183511461084b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084290611dc4565b60405180910390fd5b6000835167ffffffffffffffff81111561088e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156108bc5781602001602082028036833780820191505090505b50905060005b84518110156109ab57610955858281518110610907577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610948577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516101d0565b82828151811061098e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806109a49061210a565b90506108c2565b508091505092915050565b8173ffffffffffffffffffffffffffffffffffffffff166109d5610f4d565b73ffffffffffffffffffffffffffffffffffffffff161415610a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2390611da4565b60405180910390fd5b8060016000610a39610f4d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610ae6610f4d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b2b9190611c87565b60405180910390a35050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3290611d44565b60405180910390fd5b610c43610f4d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c895750610c8885610c83610f4d565b610b37565b5b610cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbf90611d24565b60405180910390fd5b6000610cd2610f4d565b9050610cf2818787610ce388611144565b610cec88611144565b87610f55565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8090611d84565b60405180910390fd5b8381610d959190611fbd565b60008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e479190611f67565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051610ec4929190611e1f565b60405180910390a4610eda82888888888861120a565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b505050505050565b610f7c8473ffffffffffffffffffffffffffffffffffffffff166113f1565b1561113c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401610fc2959493929190611b6c565b602060405180830381600087803b158015610fdc57600080fd5b505af192505050801561100d57506040513d601f19601f8201168201806040525081019061100a9190611898565b60015b6110b3576110196121e0565b806308c379a01415611076575061102e612536565b806110395750611078565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d9190611ca2565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90611cc4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190611ce4565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115611189577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111b75781602001602082028036833780820191505090505b50905082816000815181106111f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6112298473ffffffffffffffffffffffffffffffffffffffff166113f1565b156113e9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161126f959493929190611bd4565b602060405180830381600087803b15801561128957600080fd5b505af19250505080156112ba57506040513d601f19601f820116820180604052508101906112b79190611898565b60015b611360576112c66121e0565b806308c379a0141561132357506112db612536565b806112e65750611325565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a9190611ca2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790611cc4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90611ce4565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b600061141761141284611e6d565b611e48565b9050808382526020820190508285602086028201111561143657600080fd5b60005b85811015611466578161144c888261151a565b845260208401935060208301925050600181019050611439565b5050509392505050565b600061148361147e84611e99565b611e48565b905080838252602082019050828560208602820111156114a257600080fd5b60005b858110156114d257816114b888826115ec565b8452602084019350602083019250506001810190506114a5565b5050509392505050565b60006114ef6114ea84611ec5565b611e48565b90508281526020810184848401111561150757600080fd5b611512848285612065565b509392505050565b600081359050611529816125cc565b92915050565b600082601f83011261154057600080fd5b8135611550848260208601611404565b91505092915050565b600082601f83011261156a57600080fd5b813561157a848260208601611470565b91505092915050565b600081359050611592816125e3565b92915050565b6000813590506115a7816125fa565b92915050565b6000815190506115bc816125fa565b92915050565b600082601f8301126115d357600080fd5b81356115e38482602086016114dc565b91505092915050565b6000813590506115fb81612611565b92915050565b6000806040838503121561161457600080fd5b60006116228582860161151a565b92505060206116338582860161151a565b9150509250929050565b600080600080600060a0868803121561165557600080fd5b60006116638882890161151a565b95505060206116748882890161151a565b945050604086013567ffffffffffffffff81111561169157600080fd5b61169d88828901611559565b935050606086013567ffffffffffffffff8111156116ba57600080fd5b6116c688828901611559565b925050608086013567ffffffffffffffff8111156116e357600080fd5b6116ef888289016115c2565b9150509295509295909350565b600080600080600060a0868803121561171457600080fd5b60006117228882890161151a565b95505060206117338882890161151a565b9450506040611744888289016115ec565b9350506060611755888289016115ec565b925050608086013567ffffffffffffffff81111561177257600080fd5b61177e888289016115c2565b9150509295509295909350565b6000806040838503121561179e57600080fd5b60006117ac8582860161151a565b92505060206117bd85828601611583565b9150509250929050565b600080604083850312156117da57600080fd5b60006117e88582860161151a565b92505060206117f9858286016115ec565b9150509250929050565b6000806040838503121561181657600080fd5b600083013567ffffffffffffffff81111561183057600080fd5b61183c8582860161152f565b925050602083013567ffffffffffffffff81111561185957600080fd5b61186585828601611559565b9150509250929050565b60006020828403121561188157600080fd5b600061188f84828501611598565b91505092915050565b6000602082840312156118aa57600080fd5b60006118b8848285016115ad565b91505092915050565b6000602082840312156118d357600080fd5b60006118e1848285016115ec565b91505092915050565b60006118f68383611b4e565b60208301905092915050565b61190b81611ff1565b82525050565b600061191c82611f06565b6119268185611f34565b935061193183611ef6565b8060005b8381101561196257815161194988826118ea565b975061195483611f27565b925050600181019050611935565b5085935050505092915050565b61197881612003565b82525050565b600061198982611f11565b6119938185611f45565b93506119a3818560208601612074565b6119ac81612202565b840191505092915050565b60006119c282611f1c565b6119cc8185611f56565b93506119dc818560208601612074565b6119e581612202565b840191505092915050565b60006119fd603483611f56565b9150611a0882612220565b604082019050919050565b6000611a20602883611f56565b9150611a2b8261226f565b604082019050919050565b6000611a43602b83611f56565b9150611a4e826122be565b604082019050919050565b6000611a66602983611f56565b9150611a718261230d565b604082019050919050565b6000611a89602583611f56565b9150611a948261235c565b604082019050919050565b6000611aac603283611f56565b9150611ab7826123ab565b604082019050919050565b6000611acf602a83611f56565b9150611ada826123fa565b604082019050919050565b6000611af2602983611f56565b9150611afd82612449565b604082019050919050565b6000611b15602983611f56565b9150611b2082612498565b604082019050919050565b6000611b38602883611f56565b9150611b43826124e7565b604082019050919050565b611b578161205b565b82525050565b611b668161205b565b82525050565b600060a082019050611b816000830188611902565b611b8e6020830187611902565b8181036040830152611ba08186611911565b90508181036060830152611bb48185611911565b90508181036080830152611bc8818461197e565b90509695505050505050565b600060a082019050611be96000830188611902565b611bf66020830187611902565b611c036040830186611b5d565b611c106060830185611b5d565b8181036080830152611c22818461197e565b90509695505050505050565b60006020820190508181036000830152611c488184611911565b905092915050565b60006040820190508181036000830152611c6a8185611911565b90508181036020830152611c7e8184611911565b90509392505050565b6000602082019050611c9c600083018461196f565b92915050565b60006020820190508181036000830152611cbc81846119b7565b905092915050565b60006020820190508181036000830152611cdd816119f0565b9050919050565b60006020820190508181036000830152611cfd81611a13565b9050919050565b60006020820190508181036000830152611d1d81611a36565b9050919050565b60006020820190508181036000830152611d3d81611a59565b9050919050565b60006020820190508181036000830152611d5d81611a7c565b9050919050565b60006020820190508181036000830152611d7d81611a9f565b9050919050565b60006020820190508181036000830152611d9d81611ac2565b9050919050565b60006020820190508181036000830152611dbd81611ae5565b9050919050565b60006020820190508181036000830152611ddd81611b08565b9050919050565b60006020820190508181036000830152611dfd81611b2b565b9050919050565b6000602082019050611e196000830184611b5d565b92915050565b6000604082019050611e346000830185611b5d565b611e416020830184611b5d565b9392505050565b6000611e52611e63565b9050611e5e82826120d9565b919050565b6000604051905090565b600067ffffffffffffffff821115611e8857611e876121b1565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611eb457611eb36121b1565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611ee057611edf6121b1565b5b611ee982612202565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000611f728261205b565b9150611f7d8361205b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fb257611fb1612153565b5b828201905092915050565b6000611fc88261205b565b9150611fd38361205b565b925082821015611fe657611fe5612153565b5b828203905092915050565b6000611ffc8261203b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612092578082015181840152602081019050612077565b838111156120a1576000848401525b50505050565b600060028204905060018216806120bf57607f821691505b602082108114156120d3576120d2612182565b5b50919050565b6120e282612202565b810181811067ffffffffffffffff82111715612101576121006121b1565b5b80604052505050565b60006121158261205b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561214857612147612153565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156121ff5760046000803e6121fc600051612213565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600060443d1015612546576125c9565b61254e611e63565b60043d036004823e80513d602482011167ffffffffffffffff821117156125765750506125c9565b808201805167ffffffffffffffff81111561259457505050506125c9565b80602083010160043d0385018111156125b15750505050506125c9565b6125c0826020018501866120d9565b82955050505050505b90565b6125d581611ff1565b81146125e057600080fd5b50565b6125ec81612003565b81146125f757600080fd5b50565b6126038161200f565b811461260e57600080fd5b50565b61261a8161205b565b811461262557600080fd5b5056fea264697066735822122090d3cbf27f45613ae4d2380574b6e861d1c818e6957c0d94c87dd8872fe1e09564736f6c63430008040033"

Jump to

Keyboard shortcuts

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