@boostxyz/sdk 5.3.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +2 -3
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +1696 -348
- package/dist/Actions/EventAction.js.map +1 -1
- package/package.json +1 -1
- package/src/Actions/EventAction.test.ts +9 -0
- package/src/Actions/EventAction.ts +37 -52
|
@@ -1,125 +1,1500 @@
|
|
|
1
|
-
import { bL as
|
|
2
|
-
import { getTransaction as
|
|
3
|
-
import { isAddressEqual as N, toEventSelector as
|
|
4
|
-
import { f as
|
|
5
|
-
import { DeployableTarget as
|
|
6
|
-
import { ValidationAbiMissingError as
|
|
7
|
-
import { RegistryType as
|
|
8
|
-
const A0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f602c608760201b60201c565b90508054600181161560455763f92ee8a95f526004601cfd5b8160c01c808260011c146082578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b6080516124506100c85f395f61034a01526124505ff3fe608060405260043610610090575f3560e01c80639bc1cf81116100585780639bc1cf811461017d578063c26624e8146101a7578063d7768c47146101e3578063dbdf21101461021f578063ddd6ab081461024957610090565b806301ffc9a71461009457806309c5eabe146100d057806328d6183b14610101578063393df8cb1461012b578063439fab9114610155575b5f80fd5b34801561009f575f80fd5b506100ba60048036038101906100b591906113b2565b610273565b6040516100c791906113f7565b60405180910390f35b6100ea60048036038101906100e59190611471565b6102ec565b6040516100f892919061152c565b60405180910390f35b34801561010c575f80fd5b50610115610321565b6040516101229190611569565b60405180910390f35b348015610136575f80fd5b5061013f610348565b60405161014c91906115fc565b60405180910390f35b348015610160575f80fd5b5061017b60048036038101906101769190611471565b61036c565b005b348015610188575f80fd5b506101916103f9565b60405161019e9190611986565b60405180910390f35b3480156101b2575f80fd5b506101cd60048036038101906101c891906119d0565b610651565b6040516101da9190611a81565b60405180910390f35b3480156101ee575f80fd5b5061020960048036038101906102049190611471565b610887565b6040516102169190611aa1565b60405180910390f35b34801561022a575f80fd5b506102336108bb565b6040516102409190611b27565b60405180910390f35b348015610254575f80fd5b5061025d610993565b60405161026a9190611b4f565b60405180910390f35b5f7f7687b0ed000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806102e557506102e48261099f565b5b9050919050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f7f7687b0ed00000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f610375610a18565b905080546003825580156103a75760018160011c14303b1061039e5763f92ee8a95f526004601cfd5b818160ff1b1b91505b506103bf83838101906103ba9190612077565b610a41565b80156103f4576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610648578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff16600181111561046a57610469611656565b5b600181111561047c5761047b611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff1660078111156105305761052f611656565b5b600781111561054257610541611656565b5b81526020015f820160019054906101000a900460ff16600481111561056a57610569611656565b5b600481111561057c5761057b611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546105b5906120eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105e1906120eb565b801561062c5780601f106106035761010080835404028352916020019161062c565b820191905f5260205f20905b81548152906001019060200180831161060f57829003601f168201915b505050505081525050815250508152602001906001019061041c565b50505050905090565b610659611240565b6004828154811061066d5761066c61211b565b5b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156106b1576106b0611656565b5b60018111156106c3576106c2611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff16600781111561077757610776611656565b5b600781111561078957610788611656565b5b81526020015f820160019054906101000a900460ff1660048111156107b1576107b0611656565b5b60048111156107c3576107c2611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546107fc906120eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610828906120eb565b80156108735780601f1061084a57610100808354040283529160200191610873565b820191905f5260205f20905b81548152906001019060200180831161085657829003601f168201915b505050505081525050815250509050919050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108c36112a5565b5f6040518060a00160405290815f82015f9054906101000a900460ff1660018111156108f2576108f1611656565b5b600181111561090457610903611656565b5b815260200160018201548152602001600282015f9054906101000a900460ff1660ff1660ff1681526020016002820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050905090565b5f600480549050905090565b5f7fe6715795000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a115750610a108261113a565b5b9050919050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b610a496111b3565b805f01515f80820151815f015f6101000a81548160ff02191690836001811115610a7657610a75611656565b5b0217905550602082015181600101556040820151816002015f6101000a81548160ff021916908360ff16021790555060608201518160020160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816003015590505060048160200151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610b5857610b57611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610c0057610bff611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610c2f57610c2e611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610c6f91906122dc565b505050505060048160400151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610cd357610cd2611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610d7b57610d7a611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610daa57610da9611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610dea91906122dc565b505050505060048160600151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610e4e57610e4d611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610ef657610ef5611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610f2557610f24611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610f6591906122dc565b505050505060048160800151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610fc957610fc8611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff0219169083600781111561107157611070611656565b5b02179055506020820151815f0160016101000a81548160ff021916908360048111156110a05761109f611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff16021790555060608201518160010190816110e091906122dc565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161112f9594939291906123ab565b60405180910390a150565b5f7f6ab67a0d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ac57506111ab826111d7565b5b9050919050565b5f6111bc610a18565b905080546001166111d45763d7e6bcf85f526004601cfd5b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6040518060c001604052805f80191681526020015f600181111561126757611266611656565b5b81526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f815260200161129f6112fd565b81525090565b6040518060a001604052805f60018111156112c3576112c2611656565b5b81526020015f80191681526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81525090565b60405180608001604052805f600781111561131b5761131a611656565b5b81526020015f600481111561133357611332611656565b5b81526020015f63ffffffff168152602001606081525090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6113918161135d565b811461139b575f80fd5b50565b5f813590506113ac81611388565b92915050565b5f602082840312156113c7576113c6611355565b5b5f6113d48482850161139e565b91505092915050565b5f8115159050919050565b6113f1816113dd565b82525050565b5f60208201905061140a5f8301846113e8565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261143157611430611410565b5b8235905067ffffffffffffffff81111561144e5761144d611414565b5b60208301915083600182028301111561146a57611469611418565b5b9250929050565b5f806020838503121561148757611486611355565b5b5f83013567ffffffffffffffff8111156114a4576114a3611359565b5b6114b08582860161141c565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114fe826114bc565b61150881856114c6565b93506115188185602086016114d6565b611521816114e4565b840191505092915050565b5f60408201905061153f5f8301856113e8565b818103602083015261155181846114f4565b90509392505050565b6115638161135d565b82525050565b5f60208201905061157c5f83018461155a565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6115c46115bf6115ba84611582565b6115a1565b611582565b9050919050565b5f6115d5826115aa565b9050919050565b5f6115e6826115cb565b9050919050565b6115f6816115dc565b82525050565b5f60208201905061160f5f8301846115ed565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f819050919050565b6116508161163e565b82525050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6002811061169457611693611656565b5b50565b5f8190506116a482611683565b919050565b5f6116b382611697565b9050919050565b6116c3816116a9565b82525050565b5f60ff82169050919050565b6116de816116c9565b82525050565b5f6116ee82611582565b9050919050565b6116fe816116e4565b82525050565b5f819050919050565b61171681611704565b82525050565b6008811061172d5761172c611656565b5b50565b5f81905061173d8261171c565b919050565b5f61174c82611730565b9050919050565b61175c81611742565b82525050565b6005811061177357611772611656565b5b50565b5f81905061178382611762565b919050565b5f61179282611776565b9050919050565b6117a281611788565b82525050565b5f63ffffffff82169050919050565b6117c0816117a8565b82525050565b5f82825260208201905092915050565b5f6117e0826114bc565b6117ea81856117c6565b93506117fa8185602086016114d6565b611803816114e4565b840191505092915050565b5f608083015f8301516118235f860182611753565b5060208301516118366020860182611799565b50604083015161184960408601826117b7565b506060830151848203606086015261186182826117d6565b9150508091505092915050565b5f60c083015f8301516118835f860182611647565b50602083015161189660208601826116ba565b5060408301516118a960408601826116d5565b5060608301516118bc60608601826116f5565b5060808301516118cf608086018261170d565b5060a083015184820360a08601526118e7828261180e565b9150508091505092915050565b5f6118ff838361186e565b905092915050565b5f602082019050919050565b5f61191d82611615565b611927818561161f565b9350836020820285016119398561162f565b805f5b85811015611974578484038952815161195585826118f4565b945061196083611907565b925060208a0199505060018101905061193c565b50829750879550505050505092915050565b5f6020820190508181035f83015261199e8184611913565b905092915050565b6119af81611704565b81146119b9575f80fd5b50565b5f813590506119ca816119a6565b92915050565b5f602082840312156119e5576119e4611355565b5b5f6119f2848285016119bc565b91505092915050565b5f60c083015f830151611a105f860182611647565b506020830151611a2360208601826116ba565b506040830151611a3660408601826116d5565b506060830151611a4960608601826116f5565b506080830151611a5c608086018261170d565b5060a083015184820360a0860152611a74828261180e565b9150508091505092915050565b5f6020820190508181035f830152611a9981846119fb565b905092915050565b5f6020820190508181035f830152611ab981846114f4565b905092915050565b60a082015f820151611ad55f8501826116ba565b506020820151611ae86020850182611647565b506040820151611afb60408501826116d5565b506060820151611b0e60608501826116f5565b506080820151611b21608085018261170d565b50505050565b5f60a082019050611b3a5f830184611ac1565b92915050565b611b4981611704565b82525050565b5f602082019050611b625f830184611b40565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ba2826114e4565b810181811067ffffffffffffffff82111715611bc157611bc0611b6c565b5b80604052505050565b5f611bd361134c565b9050611bdf8282611b99565b919050565b5f80fd5b60028110611bf4575f80fd5b50565b5f81359050611c0581611be8565b92915050565b611c148161163e565b8114611c1e575f80fd5b50565b5f81359050611c2f81611c0b565b92915050565b611c3e816116c9565b8114611c48575f80fd5b50565b5f81359050611c5981611c35565b92915050565b611c68816116e4565b8114611c72575f80fd5b50565b5f81359050611c8381611c5f565b92915050565b5f60a08284031215611c9e57611c9d611b68565b5b611ca860a0611bca565b90505f611cb784828501611bf7565b5f830152506020611cca84828501611c21565b6020830152506040611cde84828501611c4b565b6040830152506060611cf284828501611c75565b6060830152506080611d06848285016119bc565b60808301525092915050565b60088110611d1e575f80fd5b50565b5f81359050611d2f81611d12565b92915050565b60058110611d41575f80fd5b50565b5f81359050611d5281611d35565b92915050565b611d61816117a8565b8114611d6b575f80fd5b50565b5f81359050611d7c81611d58565b92915050565b5f80fd5b5f67ffffffffffffffff821115611da057611d9f611b6c565b5b611da9826114e4565b9050602081019050919050565b828183375f83830152505050565b5f611dd6611dd184611d86565b611bca565b905082815260208101848484011115611df257611df1611d82565b5b611dfd848285611db6565b509392505050565b5f82601f830112611e1957611e18611410565b5b8135611e29848260208601611dc4565b91505092915050565b5f60808284031215611e4757611e46611b68565b5b611e516080611bca565b90505f611e6084828501611d21565b5f830152506020611e7384828501611d44565b6020830152506040611e8784828501611d6e565b604083015250606082013567ffffffffffffffff811115611eab57611eaa611be4565b5b611eb784828501611e05565b60608301525092915050565b5f60c08284031215611ed857611ed7611b68565b5b611ee260c0611bca565b90505f611ef184828501611c21565b5f830152506020611f0484828501611bf7565b6020830152506040611f1884828501611c4b565b6040830152506060611f2c84828501611c75565b6060830152506080611f40848285016119bc565b60808301525060a082013567ffffffffffffffff811115611f6457611f63611be4565b5b611f7084828501611e32565b60a08301525092915050565b5f6101208284031215611f9257611f91611b68565b5b611f9c60a0611bca565b90505f611fab84828501611c89565b5f8301525060a082013567ffffffffffffffff811115611fce57611fcd611be4565b5b611fda84828501611ec3565b60208301525060c082013567ffffffffffffffff811115611ffe57611ffd611be4565b5b61200a84828501611ec3565b60408301525060e082013567ffffffffffffffff81111561202e5761202d611be4565b5b61203a84828501611ec3565b60608301525061010082013567ffffffffffffffff81111561205f5761205e611be4565b5b61206b84828501611ec3565b60808301525092915050565b5f6020828403121561208c5761208b611355565b5b5f82013567ffffffffffffffff8111156120a9576120a8611359565b5b6120b584828501611f7c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061210257607f821691505b602082108103612115576121146120be565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026121a47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612169565b6121ae8683612169565b95508019841693508086168417925050509392505050565b5f6121e06121db6121d684611704565b6115a1565b611704565b9050919050565b5f819050919050565b6121f9836121c6565b61220d612205826121e7565b848454612175565b825550505050565b5f90565b612221612215565b61222c8184846121f0565b505050565b5b8181101561224f576122445f82612219565b600181019050612232565b5050565b601f8211156122945761226581612148565b61226e8461215a565b8101602085101561227d578190505b6122916122898561215a565b830182612231565b50505b505050565b5f82821c905092915050565b5f6122b45f1984600802612299565b1980831691505092915050565b5f6122cc83836122a5565b9150826002028217905092915050565b6122e5826114bc565b67ffffffffffffffff8111156122fe576122fd611b6c565b5b61230882546120eb565b612313828285612253565b5f60209050601f831160018114612344575f8415612332578287015190505b61233c85826122c1565b8655506123a3565b601f19841661235286612148565b5f5b8281101561237957848901518255600182019150602085019450602081019050612354565b868310156123965784890151612392601f8916826122a5565b8355505b6001600288020188555050505b505050505050565b5f610120820190506123bf5f830188611ac1565b81810360a08301526123d181876119fb565b905081810360c08301526123e581866119fb565b905081810360e08301526123f981856119fb565b905081810361010083015261240e81846119fb565b9050969550505050505056fea2646970667358221220c7ff4a150897568d1b0cf381b80c7477adfb1d4a61c0f1dbe23de1a9fd54af2f64736f6c634300081a0033", y = Symbol.for("@ts-pattern/matcher"), w0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", M = (t) => !!(t && typeof t == "object"), P = (t) => t && !!t[y], p = (t, f, e) => {
|
|
1
|
+
import { bL as F, bM as a0, bN as s0, bO as r0, bP as b0 } from "../generated-Cyvr_Tjx.js";
|
|
2
|
+
import { getTransaction as k, getTransactionReceipt as V } from "@wagmi/core";
|
|
3
|
+
import { isAddressEqual as N, toEventSelector as Q, decodeFunctionData as j, isAddress as X, decodeEventLog as O, zeroHash as S, fromHex as R, encodeAbiParameters as u0, zeroAddress as o0 } from "viem";
|
|
4
|
+
import { f as p0 } from "../deployments-D0fs26TV.js";
|
|
5
|
+
import { DeployableTarget as c0 } from "../Deployable/DeployableTarget.js";
|
|
6
|
+
import { ValidationAbiMissingError as _, FunctionDataDecodeError as K, UnparseableAbiParamError as $, DecodedArgsMalformedError as y0, DecodedArgsError as n0, FieldValueUndefinedError as z, InvalidTupleDecodingError as v, UnrecognizedFilterTypeError as l0, FieldValueNotComparableError as Y, InvalidNumericalCriteriaError as L, NoEventActionStepsProvidedError as h0, TooManyEventActionStepsProvidedError as g0, InvalidTupleEncodingError as Z } from "../errors.js";
|
|
7
|
+
import { RegistryType as x0, CheatCodes as C, TRANSFER_SIGNATURE as M } from "../utils.js";
|
|
8
|
+
const m0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f602c608760201b60201c565b90508054600181161560455763f92ee8a95f526004601cfd5b8160c01c808260011c146082578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b6080516124506100c85f395f61034a01526124505ff3fe608060405260043610610090575f3560e01c80639bc1cf81116100585780639bc1cf811461017d578063c26624e8146101a7578063d7768c47146101e3578063dbdf21101461021f578063ddd6ab081461024957610090565b806301ffc9a71461009457806309c5eabe146100d057806328d6183b14610101578063393df8cb1461012b578063439fab9114610155575b5f80fd5b34801561009f575f80fd5b506100ba60048036038101906100b591906113b2565b610273565b6040516100c791906113f7565b60405180910390f35b6100ea60048036038101906100e59190611471565b6102ec565b6040516100f892919061152c565b60405180910390f35b34801561010c575f80fd5b50610115610321565b6040516101229190611569565b60405180910390f35b348015610136575f80fd5b5061013f610348565b60405161014c91906115fc565b60405180910390f35b348015610160575f80fd5b5061017b60048036038101906101769190611471565b61036c565b005b348015610188575f80fd5b506101916103f9565b60405161019e9190611986565b60405180910390f35b3480156101b2575f80fd5b506101cd60048036038101906101c891906119d0565b610651565b6040516101da9190611a81565b60405180910390f35b3480156101ee575f80fd5b5061020960048036038101906102049190611471565b610887565b6040516102169190611aa1565b60405180910390f35b34801561022a575f80fd5b506102336108bb565b6040516102409190611b27565b60405180910390f35b348015610254575f80fd5b5061025d610993565b60405161026a9190611b4f565b60405180910390f35b5f7f7687b0ed000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806102e557506102e48261099f565b5b9050919050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f7f7687b0ed00000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f610375610a18565b905080546003825580156103a75760018160011c14303b1061039e5763f92ee8a95f526004601cfd5b818160ff1b1b91505b506103bf83838101906103ba9190612077565b610a41565b80156103f4576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610648578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff16600181111561046a57610469611656565b5b600181111561047c5761047b611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff1660078111156105305761052f611656565b5b600781111561054257610541611656565b5b81526020015f820160019054906101000a900460ff16600481111561056a57610569611656565b5b600481111561057c5761057b611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546105b5906120eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105e1906120eb565b801561062c5780601f106106035761010080835404028352916020019161062c565b820191905f5260205f20905b81548152906001019060200180831161060f57829003601f168201915b505050505081525050815250508152602001906001019061041c565b50505050905090565b610659611240565b6004828154811061066d5761066c61211b565b5b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156106b1576106b0611656565b5b60018111156106c3576106c2611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff16600781111561077757610776611656565b5b600781111561078957610788611656565b5b81526020015f820160019054906101000a900460ff1660048111156107b1576107b0611656565b5b60048111156107c3576107c2611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546107fc906120eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610828906120eb565b80156108735780601f1061084a57610100808354040283529160200191610873565b820191905f5260205f20905b81548152906001019060200180831161085657829003601f168201915b505050505081525050815250509050919050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108c36112a5565b5f6040518060a00160405290815f82015f9054906101000a900460ff1660018111156108f2576108f1611656565b5b600181111561090457610903611656565b5b815260200160018201548152602001600282015f9054906101000a900460ff1660ff1660ff1681526020016002820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050905090565b5f600480549050905090565b5f7fe6715795000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a115750610a108261113a565b5b9050919050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b610a496111b3565b805f01515f80820151815f015f6101000a81548160ff02191690836001811115610a7657610a75611656565b5b0217905550602082015181600101556040820151816002015f6101000a81548160ff021916908360ff16021790555060608201518160020160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816003015590505060048160200151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610b5857610b57611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610c0057610bff611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610c2f57610c2e611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610c6f91906122dc565b505050505060048160400151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610cd357610cd2611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610d7b57610d7a611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610daa57610da9611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610dea91906122dc565b505050505060048160600151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610e4e57610e4d611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610ef657610ef5611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610f2557610f24611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610f6591906122dc565b505050505060048160800151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610fc957610fc8611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff0219169083600781111561107157611070611656565b5b02179055506020820151815f0160016101000a81548160ff021916908360048111156110a05761109f611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff16021790555060608201518160010190816110e091906122dc565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161112f9594939291906123ab565b60405180910390a150565b5f7f6ab67a0d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ac57506111ab826111d7565b5b9050919050565b5f6111bc610a18565b905080546001166111d45763d7e6bcf85f526004601cfd5b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6040518060c001604052805f80191681526020015f600181111561126757611266611656565b5b81526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f815260200161129f6112fd565b81525090565b6040518060a001604052805f60018111156112c3576112c2611656565b5b81526020015f80191681526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81525090565b60405180608001604052805f600781111561131b5761131a611656565b5b81526020015f600481111561133357611332611656565b5b81526020015f63ffffffff168152602001606081525090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6113918161135d565b811461139b575f80fd5b50565b5f813590506113ac81611388565b92915050565b5f602082840312156113c7576113c6611355565b5b5f6113d48482850161139e565b91505092915050565b5f8115159050919050565b6113f1816113dd565b82525050565b5f60208201905061140a5f8301846113e8565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261143157611430611410565b5b8235905067ffffffffffffffff81111561144e5761144d611414565b5b60208301915083600182028301111561146a57611469611418565b5b9250929050565b5f806020838503121561148757611486611355565b5b5f83013567ffffffffffffffff8111156114a4576114a3611359565b5b6114b08582860161141c565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114fe826114bc565b61150881856114c6565b93506115188185602086016114d6565b611521816114e4565b840191505092915050565b5f60408201905061153f5f8301856113e8565b818103602083015261155181846114f4565b90509392505050565b6115638161135d565b82525050565b5f60208201905061157c5f83018461155a565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6115c46115bf6115ba84611582565b6115a1565b611582565b9050919050565b5f6115d5826115aa565b9050919050565b5f6115e6826115cb565b9050919050565b6115f6816115dc565b82525050565b5f60208201905061160f5f8301846115ed565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f819050919050565b6116508161163e565b82525050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6002811061169457611693611656565b5b50565b5f8190506116a482611683565b919050565b5f6116b382611697565b9050919050565b6116c3816116a9565b82525050565b5f60ff82169050919050565b6116de816116c9565b82525050565b5f6116ee82611582565b9050919050565b6116fe816116e4565b82525050565b5f819050919050565b61171681611704565b82525050565b6008811061172d5761172c611656565b5b50565b5f81905061173d8261171c565b919050565b5f61174c82611730565b9050919050565b61175c81611742565b82525050565b6005811061177357611772611656565b5b50565b5f81905061178382611762565b919050565b5f61179282611776565b9050919050565b6117a281611788565b82525050565b5f63ffffffff82169050919050565b6117c0816117a8565b82525050565b5f82825260208201905092915050565b5f6117e0826114bc565b6117ea81856117c6565b93506117fa8185602086016114d6565b611803816114e4565b840191505092915050565b5f608083015f8301516118235f860182611753565b5060208301516118366020860182611799565b50604083015161184960408601826117b7565b506060830151848203606086015261186182826117d6565b9150508091505092915050565b5f60c083015f8301516118835f860182611647565b50602083015161189660208601826116ba565b5060408301516118a960408601826116d5565b5060608301516118bc60608601826116f5565b5060808301516118cf608086018261170d565b5060a083015184820360a08601526118e7828261180e565b9150508091505092915050565b5f6118ff838361186e565b905092915050565b5f602082019050919050565b5f61191d82611615565b611927818561161f565b9350836020820285016119398561162f565b805f5b85811015611974578484038952815161195585826118f4565b945061196083611907565b925060208a0199505060018101905061193c565b50829750879550505050505092915050565b5f6020820190508181035f83015261199e8184611913565b905092915050565b6119af81611704565b81146119b9575f80fd5b50565b5f813590506119ca816119a6565b92915050565b5f602082840312156119e5576119e4611355565b5b5f6119f2848285016119bc565b91505092915050565b5f60c083015f830151611a105f860182611647565b506020830151611a2360208601826116ba565b506040830151611a3660408601826116d5565b506060830151611a4960608601826116f5565b506080830151611a5c608086018261170d565b5060a083015184820360a0860152611a74828261180e565b9150508091505092915050565b5f6020820190508181035f830152611a9981846119fb565b905092915050565b5f6020820190508181035f830152611ab981846114f4565b905092915050565b60a082015f820151611ad55f8501826116ba565b506020820151611ae86020850182611647565b506040820151611afb60408501826116d5565b506060820151611b0e60608501826116f5565b506080820151611b21608085018261170d565b50505050565b5f60a082019050611b3a5f830184611ac1565b92915050565b611b4981611704565b82525050565b5f602082019050611b625f830184611b40565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ba2826114e4565b810181811067ffffffffffffffff82111715611bc157611bc0611b6c565b5b80604052505050565b5f611bd361134c565b9050611bdf8282611b99565b919050565b5f80fd5b60028110611bf4575f80fd5b50565b5f81359050611c0581611be8565b92915050565b611c148161163e565b8114611c1e575f80fd5b50565b5f81359050611c2f81611c0b565b92915050565b611c3e816116c9565b8114611c48575f80fd5b50565b5f81359050611c5981611c35565b92915050565b611c68816116e4565b8114611c72575f80fd5b50565b5f81359050611c8381611c5f565b92915050565b5f60a08284031215611c9e57611c9d611b68565b5b611ca860a0611bca565b90505f611cb784828501611bf7565b5f830152506020611cca84828501611c21565b6020830152506040611cde84828501611c4b565b6040830152506060611cf284828501611c75565b6060830152506080611d06848285016119bc565b60808301525092915050565b60088110611d1e575f80fd5b50565b5f81359050611d2f81611d12565b92915050565b60058110611d41575f80fd5b50565b5f81359050611d5281611d35565b92915050565b611d61816117a8565b8114611d6b575f80fd5b50565b5f81359050611d7c81611d58565b92915050565b5f80fd5b5f67ffffffffffffffff821115611da057611d9f611b6c565b5b611da9826114e4565b9050602081019050919050565b828183375f83830152505050565b5f611dd6611dd184611d86565b611bca565b905082815260208101848484011115611df257611df1611d82565b5b611dfd848285611db6565b509392505050565b5f82601f830112611e1957611e18611410565b5b8135611e29848260208601611dc4565b91505092915050565b5f60808284031215611e4757611e46611b68565b5b611e516080611bca565b90505f611e6084828501611d21565b5f830152506020611e7384828501611d44565b6020830152506040611e8784828501611d6e565b604083015250606082013567ffffffffffffffff811115611eab57611eaa611be4565b5b611eb784828501611e05565b60608301525092915050565b5f60c08284031215611ed857611ed7611b68565b5b611ee260c0611bca565b90505f611ef184828501611c21565b5f830152506020611f0484828501611bf7565b6020830152506040611f1884828501611c4b565b6040830152506060611f2c84828501611c75565b6060830152506080611f40848285016119bc565b60808301525060a082013567ffffffffffffffff811115611f6457611f63611be4565b5b611f7084828501611e32565b60a08301525092915050565b5f6101208284031215611f9257611f91611b68565b5b611f9c60a0611bca565b90505f611fab84828501611c89565b5f8301525060a082013567ffffffffffffffff811115611fce57611fcd611be4565b5b611fda84828501611ec3565b60208301525060c082013567ffffffffffffffff811115611ffe57611ffd611be4565b5b61200a84828501611ec3565b60408301525060e082013567ffffffffffffffff81111561202e5761202d611be4565b5b61203a84828501611ec3565b60608301525061010082013567ffffffffffffffff81111561205f5761205e611be4565b5b61206b84828501611ec3565b60808301525092915050565b5f6020828403121561208c5761208b611355565b5b5f82013567ffffffffffffffff8111156120a9576120a8611359565b5b6120b584828501611f7c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061210257607f821691505b602082108103612115576121146120be565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026121a47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612169565b6121ae8683612169565b95508019841693508086168417925050509392505050565b5f6121e06121db6121d684611704565b6115a1565b611704565b9050919050565b5f819050919050565b6121f9836121c6565b61220d612205826121e7565b848454612175565b825550505050565b5f90565b612221612215565b61222c8184846121f0565b505050565b5b8181101561224f576122445f82612219565b600181019050612232565b5050565b601f8211156122945761226581612148565b61226e8461215a565b8101602085101561227d578190505b6122916122898561215a565b830182612231565b50505b505050565b5f82821c905092915050565b5f6122b45f1984600802612299565b1980831691505092915050565b5f6122cc83836122a5565b9150826002028217905092915050565b6122e5826114bc565b67ffffffffffffffff8111156122fe576122fd611b6c565b5b61230882546120eb565b612313828285612253565b5f60209050601f831160018114612344575f8415612332578287015190505b61233c85826122c1565b8655506123a3565b601f19841661235286612148565b5f5b8281101561237957848901518255600182019150602085019450602081019050612354565b868310156123965784890151612392601f8916826122a5565b8355505b6001600288020188555050505b505050505050565b5f610120820190506123bf5f830188611ac1565b81810360a08301526123d181876119fb565b905081810360c08301526123e581866119fb565b905081810360e08301526123f981856119fb565b905081810361010083015261240e81846119fb565b9050969550505050505056fea2646970667358221220c7ff4a150897568d1b0cf381b80c7477adfb1d4a61c0f1dbe23de1a9fd54af2f64736f6c634300081a0033", w0 = {
|
|
9
|
+
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
|
|
10
|
+
name: "Transfer",
|
|
11
|
+
type: "event",
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
type: "address",
|
|
15
|
+
indexed: !0
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
type: "address",
|
|
19
|
+
indexed: !0
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
type: "uint256",
|
|
23
|
+
indexed: !0
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"Transfer(address indexed,address indexed,uint256 indexed)": {
|
|
28
|
+
name: "Transfer",
|
|
29
|
+
type: "event",
|
|
30
|
+
inputs: [
|
|
31
|
+
{
|
|
32
|
+
type: "address",
|
|
33
|
+
indexed: !0
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
type: "address",
|
|
37
|
+
indexed: !0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
type: "uint256",
|
|
41
|
+
indexed: !0
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"0xb362243af1e2070d7d5bf8d713f2e0fab64203f1b71462afbe20572909788c5e": {
|
|
46
|
+
name: "Purchased",
|
|
47
|
+
type: "event",
|
|
48
|
+
inputs: [
|
|
49
|
+
{
|
|
50
|
+
type: "address",
|
|
51
|
+
indexed: !0
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
type: "address",
|
|
55
|
+
indexed: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: "uint256",
|
|
59
|
+
indexed: !0
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
type: "uint256"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: "uint256"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"Purchased(address indexed,address indexed,uint256 indexed,uint256,uint256)": {
|
|
70
|
+
name: "Purchased",
|
|
71
|
+
type: "event",
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
type: "address",
|
|
75
|
+
indexed: !0
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
type: "address",
|
|
79
|
+
indexed: !0
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
type: "uint256",
|
|
83
|
+
indexed: !0
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: "uint256"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: "uint256"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"0x69e37f151eb98a09618ddaa80c8cfaf1ce5996867c489f45b555b412271ebf27": {
|
|
94
|
+
name: "NameRegistered",
|
|
95
|
+
type: "event",
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
type: "string"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: "bytes32",
|
|
102
|
+
indexed: !0
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: "address",
|
|
106
|
+
indexed: !0
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
type: "uint256"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: "uint256"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: "uint256"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"NameRegistered(string,bytes32 indexed,address indexed,uint256,uint256,uint256)": {
|
|
120
|
+
name: "NameRegistered",
|
|
121
|
+
type: "event",
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
type: "string"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
type: "bytes32",
|
|
128
|
+
indexed: !0
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: "address",
|
|
132
|
+
indexed: !0
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: "uint256"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: "uint256"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: "uint256"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"0x0667086d08417333ce63f40d5bc2ef6fd330e25aaaf317b7c489541f8fe600fa": {
|
|
146
|
+
name: "NameRegistered",
|
|
147
|
+
type: "event",
|
|
148
|
+
inputs: [
|
|
149
|
+
{
|
|
150
|
+
type: "string"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
type: "bytes32",
|
|
154
|
+
indexed: !0
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: "address",
|
|
158
|
+
indexed: !0
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: "uint256"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"NameRegistered(string,bytes32 indexed,address indexed,uint256)": {
|
|
166
|
+
name: "NameRegistered",
|
|
167
|
+
type: "event",
|
|
168
|
+
inputs: [
|
|
169
|
+
{
|
|
170
|
+
type: "string"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: "bytes32",
|
|
174
|
+
indexed: !0
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
type: "address",
|
|
178
|
+
indexed: !0
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
type: "uint256"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f": {
|
|
186
|
+
name: "DelegateChanged",
|
|
187
|
+
type: "event",
|
|
188
|
+
inputs: [
|
|
189
|
+
{
|
|
190
|
+
type: "address",
|
|
191
|
+
indexed: !0
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
type: "address",
|
|
195
|
+
indexed: !0
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
type: "address",
|
|
199
|
+
indexed: !0
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"DelegateChanged(address indexed,address indexed,address indexed)": {
|
|
204
|
+
name: "DelegateChanged",
|
|
205
|
+
type: "event",
|
|
206
|
+
inputs: [
|
|
207
|
+
{
|
|
208
|
+
type: "address",
|
|
209
|
+
indexed: !0
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
type: "address",
|
|
213
|
+
indexed: !0
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
type: "address",
|
|
217
|
+
indexed: !0
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"0xe00361d207b252a464323eb23d45d42583e391f2031acdd2e9fa36efddd43cb0": {
|
|
222
|
+
name: "SwappedV3",
|
|
223
|
+
type: "event",
|
|
224
|
+
inputs: [
|
|
225
|
+
{
|
|
226
|
+
type: "bytes16"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
type: "address"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
type: "uint256"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
type: "address"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
type: "address",
|
|
239
|
+
indexed: !0
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
type: "address",
|
|
243
|
+
indexed: !0
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
type: "address",
|
|
247
|
+
indexed: !0
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
type: "uint256"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
type: "uint256"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: "uint256"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"SwappedV3(bytes16,address,uint256,address,address indexed,address indexed,address indexed,uint256,uint256,uint256)": {
|
|
261
|
+
name: "SwappedV3",
|
|
262
|
+
type: "event",
|
|
263
|
+
inputs: [
|
|
264
|
+
{
|
|
265
|
+
type: "bytes16"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
type: "address"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
type: "uint256"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
type: "address"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
type: "address",
|
|
278
|
+
indexed: !0
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
type: "address",
|
|
282
|
+
indexed: !0
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
type: "address",
|
|
286
|
+
indexed: !0
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
type: "uint256"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
type: "uint256"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
type: "uint256"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
"0xb8e138887d0aa13bab447e82de9d5c1777041ecd21ca36ba824ff1e6c07ddda4": {
|
|
300
|
+
name: "VoteCast",
|
|
301
|
+
type: "event",
|
|
302
|
+
inputs: [
|
|
303
|
+
{
|
|
304
|
+
type: "address",
|
|
305
|
+
indexed: !0
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
type: "uint256"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
type: "uint8"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
type: "uint256"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
type: "string"
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"VoteCast(address indexed,uint256,uint8,uint256,string)": {
|
|
322
|
+
name: "VoteCast",
|
|
323
|
+
type: "event",
|
|
324
|
+
inputs: [
|
|
325
|
+
{
|
|
326
|
+
type: "address",
|
|
327
|
+
indexed: !0
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
type: "uint256"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
type: "uint8"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
type: "uint256"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
type: "string"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"0x7ac572687bf4e66a8514fc2ec464fc2644c78bcb1d80a225fc51a33e0ee38bfa": {
|
|
344
|
+
name: "Minted",
|
|
345
|
+
type: "event",
|
|
346
|
+
inputs: [
|
|
347
|
+
{
|
|
348
|
+
type: "uint8"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
type: "address"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
type: "uint256"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
type: "uint256"
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
"Minted(uint8,address,uint256,uint256)": {
|
|
362
|
+
name: "Minted",
|
|
363
|
+
type: "event",
|
|
364
|
+
inputs: [
|
|
365
|
+
{
|
|
366
|
+
type: "uint8"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
type: "address"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
type: "uint256"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
type: "uint256"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
"0x2a29f7402bd32f0e4bbe17d44be064f7f64d96ee174ed7cb27936d869bf9a888": {
|
|
380
|
+
name: "Minted",
|
|
381
|
+
type: "event",
|
|
382
|
+
inputs: [
|
|
383
|
+
{
|
|
384
|
+
type: "address",
|
|
385
|
+
indexed: !0
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
type: "uint8"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
type: "uint8"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
type: "address",
|
|
395
|
+
indexed: !0
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
type: "tuple",
|
|
399
|
+
components: [
|
|
400
|
+
{
|
|
401
|
+
type: "uint32"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
type: "uint256"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
type: "address"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
type: "uint32"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
type: "uint32"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
type: "uint32"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
type: "address"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
type: "bool"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
type: "uint256"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
type: "uint256"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
type: "uint256"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
type: "uint256"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
type: "uint256"
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
type: "uint256",
|
|
443
|
+
indexed: !0
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
"Minted(address indexed,uint8,uint8,address indexed,(uint32,uint256,address,uint32,uint32,uint32,address,bool,uint256,uint256,uint256,uint256,uint256),uint256 indexed)": {
|
|
448
|
+
name: "Minted",
|
|
449
|
+
type: "event",
|
|
450
|
+
inputs: [
|
|
451
|
+
{
|
|
452
|
+
type: "address",
|
|
453
|
+
indexed: !0
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
type: "uint8"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
type: "uint8"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
type: "address",
|
|
463
|
+
indexed: !0
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
type: "tuple",
|
|
467
|
+
components: [
|
|
468
|
+
{
|
|
469
|
+
type: "uint32"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
type: "uint256"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
type: "address"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
type: "uint32"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
type: "uint32"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
type: "uint32"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
type: "address"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
type: "bool"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
type: "uint256"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
type: "uint256"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
type: "uint256"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
type: "uint256"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
type: "uint256"
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
type: "uint256",
|
|
511
|
+
indexed: !0
|
|
512
|
+
}
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
|
+
"0xc773e203af3f3079b18c21f98bb8d8ccd2fea097d631d448df89de4edbe7a2a8": {
|
|
516
|
+
name: "ZoraTimedSaleStrategyRewards",
|
|
517
|
+
type: "event",
|
|
518
|
+
inputs: [
|
|
519
|
+
{
|
|
520
|
+
type: "address",
|
|
521
|
+
indexed: !0
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
type: "uint256",
|
|
525
|
+
indexed: !0
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
type: "address"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
type: "uint256"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
type: "address"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
type: "uint256"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
type: "address"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
type: "uint256"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
type: "address"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
type: "uint256"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
type: "address"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
type: "uint256"
|
|
556
|
+
}
|
|
557
|
+
]
|
|
558
|
+
},
|
|
559
|
+
"ZoraTimedSaleStrategyRewards(address indexed,uint256 indexed,address,uint256,address,uint256,address,uint256,address,uint256,address,uint256)": {
|
|
560
|
+
name: "ZoraTimedSaleStrategyRewards",
|
|
561
|
+
type: "event",
|
|
562
|
+
inputs: [
|
|
563
|
+
{
|
|
564
|
+
type: "address",
|
|
565
|
+
indexed: !0
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
type: "uint256",
|
|
569
|
+
indexed: !0
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
type: "address"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
type: "uint256"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
type: "address"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
type: "uint256"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
type: "address"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
type: "uint256"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
type: "address"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
type: "uint256"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
type: "address"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
type: "uint256"
|
|
600
|
+
}
|
|
601
|
+
]
|
|
602
|
+
},
|
|
603
|
+
"0x0f29bbf4ce25d2346bbeb8a898e24e5d6d7d1d19bb895e71faecac833b259547": {
|
|
604
|
+
name: "BoostClaimed",
|
|
605
|
+
type: "event",
|
|
606
|
+
inputs: [
|
|
607
|
+
{
|
|
608
|
+
type: "uint256",
|
|
609
|
+
indexed: !0
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
type: "uint256",
|
|
613
|
+
indexed: !0
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
type: "address",
|
|
617
|
+
indexed: !0
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
type: "address"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
type: "bytes"
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
},
|
|
627
|
+
"BoostClaimed(uint256 indexed,uint256 indexed,address indexed,address,bytes)": {
|
|
628
|
+
name: "BoostClaimed",
|
|
629
|
+
type: "event",
|
|
630
|
+
inputs: [
|
|
631
|
+
{
|
|
632
|
+
type: "uint256",
|
|
633
|
+
indexed: !0
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
type: "uint256",
|
|
637
|
+
indexed: !0
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
type: "address",
|
|
641
|
+
indexed: !0
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
type: "address"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
type: "bytes"
|
|
648
|
+
}
|
|
649
|
+
]
|
|
650
|
+
},
|
|
651
|
+
"0x116812d3ad4507d72f2c428b63246d594ca055a1dc119394285504c23d1f34cd": {
|
|
652
|
+
name: "BoostCreated",
|
|
653
|
+
type: "event",
|
|
654
|
+
inputs: [
|
|
655
|
+
{
|
|
656
|
+
type: "uint256",
|
|
657
|
+
indexed: !0
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
type: "address",
|
|
661
|
+
indexed: !0
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
type: "address",
|
|
665
|
+
indexed: !0
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
type: "uint256"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
type: "address"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
type: "address"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
type: "address"
|
|
678
|
+
}
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
"BoostCreated(uint256 indexed,address indexed,address indexed,uint256,address,address,address)": {
|
|
682
|
+
name: "BoostCreated",
|
|
683
|
+
type: "event",
|
|
684
|
+
inputs: [
|
|
685
|
+
{
|
|
686
|
+
type: "uint256",
|
|
687
|
+
indexed: !0
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
type: "address",
|
|
691
|
+
indexed: !0
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
type: "address",
|
|
695
|
+
indexed: !0
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
type: "uint256"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
type: "address"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
type: "address"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
type: "address"
|
|
708
|
+
}
|
|
709
|
+
]
|
|
710
|
+
},
|
|
711
|
+
"0x72d6b4b5ad0fb12b8a7bb3bcb60edd774c096403d611437859c156ecb3c03a36": {
|
|
712
|
+
name: "SecondaryBuy",
|
|
713
|
+
type: "event",
|
|
714
|
+
inputs: [
|
|
715
|
+
{
|
|
716
|
+
type: "address",
|
|
717
|
+
indexed: !0
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
type: "address",
|
|
721
|
+
indexed: !0
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
type: "address",
|
|
725
|
+
indexed: !0
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
type: "uint256"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
type: "uint256"
|
|
732
|
+
}
|
|
733
|
+
]
|
|
734
|
+
},
|
|
735
|
+
"SecondaryBuy(address indexed,address indexed,address indexed,uint256,uint256)": {
|
|
736
|
+
name: "SecondaryBuy",
|
|
737
|
+
type: "event",
|
|
738
|
+
inputs: [
|
|
739
|
+
{
|
|
740
|
+
type: "address",
|
|
741
|
+
indexed: !0
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
type: "address",
|
|
745
|
+
indexed: !0
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
type: "address",
|
|
749
|
+
indexed: !0
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
type: "uint256"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
type: "uint256"
|
|
756
|
+
}
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
"0x6779abc30cb1bfb05c1170de8e2ef5828c19a2590043d2fd9579d945929fd8a4": {
|
|
760
|
+
name: "CoopTokenBuy",
|
|
761
|
+
type: "event",
|
|
762
|
+
inputs: [
|
|
763
|
+
{
|
|
764
|
+
type: "address",
|
|
765
|
+
indexed: !0
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
type: "address",
|
|
769
|
+
indexed: !0
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
type: "address",
|
|
773
|
+
indexed: !0
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
type: "uint256"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
type: "uint256"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
type: "uint256"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
type: "uint256"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
type: "uint256"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
type: "string"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
type: "uint256"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
type: "uint8"
|
|
798
|
+
}
|
|
799
|
+
]
|
|
800
|
+
},
|
|
801
|
+
"CoopTokenBuy(address indexed,address indexed,address indexed,uint256,uint256,uint256,uint256,uint256,string,uint256,uint8)": {
|
|
802
|
+
name: "CoopTokenBuy",
|
|
803
|
+
type: "event",
|
|
804
|
+
inputs: [
|
|
805
|
+
{
|
|
806
|
+
type: "address",
|
|
807
|
+
indexed: !0
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
type: "address",
|
|
811
|
+
indexed: !0
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
type: "address",
|
|
815
|
+
indexed: !0
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
type: "uint256"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
type: "uint256"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
type: "uint256"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
type: "uint256"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
type: "uint256"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
type: "string"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
type: "uint256"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
type: "uint8"
|
|
840
|
+
}
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
"0x49c4606c4f7f601127761fb65a512e6bca424f62b165476cf1cfdfa51772a6ab": {
|
|
844
|
+
name: "WowTokenBuy",
|
|
845
|
+
type: "event",
|
|
846
|
+
inputs: [
|
|
847
|
+
{
|
|
848
|
+
type: "address",
|
|
849
|
+
indexed: !0
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
type: "address",
|
|
853
|
+
indexed: !0
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
type: "address",
|
|
857
|
+
indexed: !0
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
type: "uint256"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
type: "uint256"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
type: "uint256"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
type: "uint256"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
type: "uint256"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
type: "string"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
type: "uint256"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
type: "uint8"
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
"WowTokenBuy(address indexed,address indexed,address indexed,uint256,uint256,uint256,uint256,uint256,string,uint256,uint8)": {
|
|
886
|
+
name: "WowTokenBuy",
|
|
887
|
+
type: "event",
|
|
888
|
+
inputs: [
|
|
889
|
+
{
|
|
890
|
+
type: "address",
|
|
891
|
+
indexed: !0
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
type: "address",
|
|
895
|
+
indexed: !0
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
type: "address",
|
|
899
|
+
indexed: !0
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
type: "uint256"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
type: "uint256"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
type: "uint256"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
type: "uint256"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
type: "uint256"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
type: "string"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
type: "uint256"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
type: "uint8"
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
"0xeb3adfe7d8294092cd6b0e7ce95ed01c11d3c5d5d3dc1fecdeb87de43c5e40b2": {
|
|
928
|
+
name: "CoopTokenSell",
|
|
929
|
+
type: "event",
|
|
930
|
+
inputs: [
|
|
931
|
+
{
|
|
932
|
+
type: "address",
|
|
933
|
+
indexed: !0
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
type: "address",
|
|
937
|
+
indexed: !0
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
type: "address",
|
|
941
|
+
indexed: !0
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
type: "uint256"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
type: "uint256"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
type: "uint256"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
type: "uint256"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
type: "uint256"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
type: "string"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
type: "uint256"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
type: "uint8"
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
"CoopTokenSell(address indexed,address indexed,address indexed,uint256,uint256,uint256,uint256,uint256,string,uint256,uint8)": {
|
|
970
|
+
name: "CoopTokenSell",
|
|
971
|
+
type: "event",
|
|
972
|
+
inputs: [
|
|
973
|
+
{
|
|
974
|
+
type: "address",
|
|
975
|
+
indexed: !0
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
type: "address",
|
|
979
|
+
indexed: !0
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
type: "address",
|
|
983
|
+
indexed: !0
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
type: "uint256"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
type: "uint256"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
type: "uint256"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
type: "uint256"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
type: "uint256"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
type: "string"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
type: "uint256"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
type: "uint8"
|
|
1008
|
+
}
|
|
1009
|
+
]
|
|
1010
|
+
},
|
|
1011
|
+
"0x0693c83d190a3d36d2ed6c3ac51b1335d2a3588d96f3f3601c8b1e780d0f952a": {
|
|
1012
|
+
name: "WowTokenSell",
|
|
1013
|
+
type: "event",
|
|
1014
|
+
inputs: [
|
|
1015
|
+
{
|
|
1016
|
+
type: "address",
|
|
1017
|
+
indexed: !0
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
type: "address",
|
|
1021
|
+
indexed: !0
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
type: "address",
|
|
1025
|
+
indexed: !0
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
type: "uint256"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
type: "uint256"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
type: "uint256"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
type: "uint256"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
type: "uint256"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
type: "string"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
type: "uint256"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
type: "uint8"
|
|
1050
|
+
}
|
|
1051
|
+
]
|
|
1052
|
+
},
|
|
1053
|
+
"WowTokenSell(address indexed,address indexed,address indexed,uint256,uint256,uint256,uint256,uint256,string,uint256,uint8)": {
|
|
1054
|
+
name: "WowTokenSell",
|
|
1055
|
+
type: "event",
|
|
1056
|
+
inputs: [
|
|
1057
|
+
{
|
|
1058
|
+
type: "address",
|
|
1059
|
+
indexed: !0
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
type: "address",
|
|
1063
|
+
indexed: !0
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
type: "address",
|
|
1067
|
+
indexed: !0
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
type: "uint256"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
type: "uint256"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
type: "uint256"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
type: "uint256"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
type: "uint256"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
type: "string"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
type: "uint256"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
type: "uint8"
|
|
1092
|
+
}
|
|
1093
|
+
]
|
|
1094
|
+
},
|
|
1095
|
+
"0xd5468362e31bdcdc9884e72dcf3b00f9d46086067621224b7cb759308d597c6c": {
|
|
1096
|
+
name: "CoopTokenFees",
|
|
1097
|
+
type: "event",
|
|
1098
|
+
inputs: [
|
|
1099
|
+
{
|
|
1100
|
+
type: "address",
|
|
1101
|
+
indexed: !0
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
type: "address",
|
|
1105
|
+
indexed: !0
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
type: "address",
|
|
1109
|
+
indexed: !0
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
type: "address"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
type: "uint256"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
type: "uint256"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
type: "uint256"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
type: "uint256"
|
|
1125
|
+
}
|
|
1126
|
+
]
|
|
1127
|
+
},
|
|
1128
|
+
"CoopTokenFees(address indexed,address indexed,address indexed,address,uint256,uint256,uint256,uint256)": {
|
|
1129
|
+
name: "CoopTokenFees",
|
|
1130
|
+
type: "event",
|
|
1131
|
+
inputs: [
|
|
1132
|
+
{
|
|
1133
|
+
type: "address",
|
|
1134
|
+
indexed: !0
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
type: "address",
|
|
1138
|
+
indexed: !0
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
type: "address",
|
|
1142
|
+
indexed: !0
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
type: "address"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
type: "uint256"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
type: "uint256"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
type: "uint256"
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
type: "uint256"
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
|
+
"0xf349fe0373a901f0506d5343f4a872f385a7f0c26371d7b9e6bf5584b69d75fc": {
|
|
1162
|
+
name: "WowTokenFees",
|
|
1163
|
+
type: "event",
|
|
1164
|
+
inputs: [
|
|
1165
|
+
{
|
|
1166
|
+
type: "address",
|
|
1167
|
+
indexed: !0
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
type: "address",
|
|
1171
|
+
indexed: !0
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
type: "address",
|
|
1175
|
+
indexed: !0
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
type: "address"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
type: "uint256"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
type: "uint256"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
type: "uint256"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
type: "uint256"
|
|
1191
|
+
}
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1194
|
+
"WowTokenFees(address indexed,address indexed,address indexed,address,uint256,uint256,uint256,uint256)": {
|
|
1195
|
+
name: "WowTokenFees",
|
|
1196
|
+
type: "event",
|
|
1197
|
+
inputs: [
|
|
1198
|
+
{
|
|
1199
|
+
type: "address",
|
|
1200
|
+
indexed: !0
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
type: "address",
|
|
1204
|
+
indexed: !0
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
type: "address",
|
|
1208
|
+
indexed: !0
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
type: "address"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
type: "uint256"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
type: "uint256"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
type: "uint256"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
type: "uint256"
|
|
1224
|
+
}
|
|
1225
|
+
]
|
|
1226
|
+
},
|
|
1227
|
+
"0x3be2a577c218a9e2fca79115ab0381630afc182ee832bcad4011c37d323b4843": {
|
|
1228
|
+
name: "CoopTokenTransfer",
|
|
1229
|
+
type: "event",
|
|
1230
|
+
inputs: [
|
|
1231
|
+
{
|
|
1232
|
+
type: "address",
|
|
1233
|
+
indexed: !0
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
type: "address",
|
|
1237
|
+
indexed: !0
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
type: "uint256"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
type: "uint256"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
type: "uint256"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
type: "uint256"
|
|
1250
|
+
}
|
|
1251
|
+
]
|
|
1252
|
+
},
|
|
1253
|
+
"CoopTokenTransfer(address indexed,address indexed,uint256,uint256,uint256,uint256)": {
|
|
1254
|
+
name: "CoopTokenTransfer",
|
|
1255
|
+
type: "event",
|
|
1256
|
+
inputs: [
|
|
1257
|
+
{
|
|
1258
|
+
type: "address",
|
|
1259
|
+
indexed: !0
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
type: "address",
|
|
1263
|
+
indexed: !0
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
type: "uint256"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
type: "uint256"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
type: "uint256"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
type: "uint256"
|
|
1276
|
+
}
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
|
+
"0xd19736ba1cd2ffc8c99f90d6c6163e59274d333c89e471cd6668d93849835ac5": {
|
|
1280
|
+
name: "WowTokenTransfer",
|
|
1281
|
+
type: "event",
|
|
1282
|
+
inputs: [
|
|
1283
|
+
{
|
|
1284
|
+
type: "address",
|
|
1285
|
+
indexed: !0
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
type: "address",
|
|
1289
|
+
indexed: !0
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
type: "uint256"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
type: "uint256"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
type: "uint256"
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
type: "uint256"
|
|
1302
|
+
}
|
|
1303
|
+
]
|
|
1304
|
+
},
|
|
1305
|
+
"WowTokenTransfer(address indexed,address indexed,uint256,uint256,uint256,uint256)": {
|
|
1306
|
+
name: "WowTokenTransfer",
|
|
1307
|
+
type: "event",
|
|
1308
|
+
inputs: [
|
|
1309
|
+
{
|
|
1310
|
+
type: "address",
|
|
1311
|
+
indexed: !0
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
type: "address",
|
|
1315
|
+
indexed: !0
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
type: "uint256"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
type: "uint256"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
type: "uint256"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
type: "uint256"
|
|
1328
|
+
}
|
|
1329
|
+
]
|
|
1330
|
+
},
|
|
1331
|
+
"0x883a883a9ea847654d33471b1e5fb2dea76a2cfc86a6cc7da6c14102800e4d0b": {
|
|
1332
|
+
name: "InfoIndexed",
|
|
1333
|
+
type: "event",
|
|
1334
|
+
inputs: [
|
|
1335
|
+
{
|
|
1336
|
+
type: "address",
|
|
1337
|
+
indexed: !0
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
type: "string",
|
|
1341
|
+
indexed: !0
|
|
1342
|
+
}
|
|
1343
|
+
]
|
|
1344
|
+
},
|
|
1345
|
+
"InfoIndexed(address indexed,string indexed)": {
|
|
1346
|
+
name: "InfoIndexed",
|
|
1347
|
+
type: "event",
|
|
1348
|
+
inputs: [
|
|
1349
|
+
{
|
|
1350
|
+
type: "address",
|
|
1351
|
+
indexed: !0
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
type: "string",
|
|
1355
|
+
indexed: !0
|
|
1356
|
+
}
|
|
1357
|
+
]
|
|
1358
|
+
},
|
|
1359
|
+
"0xe46343e36b0721f173bdc76b8f25c08b04f417df09c27e1e83ba1980007fef8c": {
|
|
1360
|
+
name: "Info",
|
|
1361
|
+
type: "event",
|
|
1362
|
+
inputs: [
|
|
1363
|
+
{
|
|
1364
|
+
type: "address"
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
type: "string"
|
|
1368
|
+
}
|
|
1369
|
+
]
|
|
1370
|
+
},
|
|
1371
|
+
"Info(address,string)": {
|
|
1372
|
+
name: "Info",
|
|
1373
|
+
type: "event",
|
|
1374
|
+
inputs: [
|
|
1375
|
+
{
|
|
1376
|
+
type: "address"
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
type: "string"
|
|
1380
|
+
}
|
|
1381
|
+
]
|
|
1382
|
+
}
|
|
1383
|
+
}, h = Symbol.for("@ts-pattern/matcher"), A0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", H = (t) => !!(t && typeof t == "object"), P = (t) => t && !!t[h], l = (t, f, e) => {
|
|
9
1384
|
if (P(t)) {
|
|
10
|
-
const n = t[
|
|
11
|
-
return
|
|
1385
|
+
const n = t[h](), { matched: d, selections: i } = n.match(f);
|
|
1386
|
+
return d && i && Object.keys(i).forEach((a) => e(a, i[a])), d;
|
|
12
1387
|
}
|
|
13
|
-
if (
|
|
14
|
-
if (!
|
|
1388
|
+
if (H(t)) {
|
|
1389
|
+
if (!H(f)) return !1;
|
|
15
1390
|
if (Array.isArray(t)) {
|
|
16
1391
|
if (!Array.isArray(f)) return !1;
|
|
17
|
-
let n = [],
|
|
18
|
-
for (const
|
|
19
|
-
const
|
|
20
|
-
P(
|
|
1392
|
+
let n = [], d = [], i = [];
|
|
1393
|
+
for (const a of t.keys()) {
|
|
1394
|
+
const s = t[a];
|
|
1395
|
+
P(s) && s[A0] ? i.push(s) : i.length ? d.push(s) : n.push(s);
|
|
21
1396
|
}
|
|
22
|
-
if (
|
|
23
|
-
if (
|
|
24
|
-
if (f.length < n.length +
|
|
25
|
-
const
|
|
26
|
-
return n.every((
|
|
1397
|
+
if (i.length) {
|
|
1398
|
+
if (i.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
|
|
1399
|
+
if (f.length < n.length + d.length) return !1;
|
|
1400
|
+
const a = f.slice(0, n.length), s = d.length === 0 ? [] : f.slice(-d.length), r = f.slice(n.length, d.length === 0 ? 1 / 0 : -d.length);
|
|
1401
|
+
return n.every((o, E) => l(o, a[E], e)) && d.every((o, E) => l(o, s[E], e)) && (i.length === 0 || l(i[0], r, e));
|
|
27
1402
|
}
|
|
28
|
-
return t.length === f.length && t.every((
|
|
1403
|
+
return t.length === f.length && t.every((a, s) => l(a, f[s], e));
|
|
29
1404
|
}
|
|
30
1405
|
return Reflect.ownKeys(t).every((n) => {
|
|
31
|
-
const
|
|
32
|
-
return (n in f || P(
|
|
33
|
-
var
|
|
1406
|
+
const d = t[n];
|
|
1407
|
+
return (n in f || P(i = d) && i[h]().matcherType === "optional") && l(d, f[n], e);
|
|
1408
|
+
var i;
|
|
34
1409
|
});
|
|
35
1410
|
}
|
|
36
1411
|
return Object.is(f, t);
|
|
37
|
-
},
|
|
1412
|
+
}, A = (t) => {
|
|
38
1413
|
var f, e, n;
|
|
39
|
-
return
|
|
40
|
-
},
|
|
41
|
-
function
|
|
42
|
-
return Object.assign(t, { optional: () =>
|
|
1414
|
+
return H(t) ? P(t) ? (f = (e = (n = t[h]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? B(t, A) : B(Object.values(t), A) : [];
|
|
1415
|
+
}, B = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
|
|
1416
|
+
function p(t) {
|
|
1417
|
+
return Object.assign(t, { optional: () => v0(t), and: (f) => u(t, f), or: (f) => T0(t, f), select: (f) => f === void 0 ? q(t) : q(f, t) });
|
|
43
1418
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
1419
|
+
function v0(t) {
|
|
1420
|
+
return p({ [h]: () => ({ match: (f) => {
|
|
46
1421
|
let e = {};
|
|
47
|
-
const n = (
|
|
48
|
-
e[
|
|
1422
|
+
const n = (d, i) => {
|
|
1423
|
+
e[d] = i;
|
|
49
1424
|
};
|
|
50
|
-
return f === void 0 ? (
|
|
51
|
-
}, getSelectionKeys: () =>
|
|
1425
|
+
return f === void 0 ? (A(t).forEach((d) => n(d, void 0)), { matched: !0, selections: e }) : { matched: l(t, f, n), selections: e };
|
|
1426
|
+
}, getSelectionKeys: () => A(t), matcherType: "optional" }) });
|
|
52
1427
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
1428
|
+
function u(...t) {
|
|
1429
|
+
return p({ [h]: () => ({ match: (f) => {
|
|
55
1430
|
let e = {};
|
|
56
|
-
const n = (
|
|
57
|
-
e[
|
|
1431
|
+
const n = (d, i) => {
|
|
1432
|
+
e[d] = i;
|
|
58
1433
|
};
|
|
59
|
-
return { matched: t.every((
|
|
60
|
-
}, getSelectionKeys: () =>
|
|
1434
|
+
return { matched: t.every((d) => l(d, f, n)), selections: e };
|
|
1435
|
+
}, getSelectionKeys: () => B(t, A), matcherType: "and" }) });
|
|
61
1436
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
1437
|
+
function T0(...t) {
|
|
1438
|
+
return p({ [h]: () => ({ match: (f) => {
|
|
64
1439
|
let e = {};
|
|
65
|
-
const n = (
|
|
66
|
-
e[
|
|
1440
|
+
const n = (d, i) => {
|
|
1441
|
+
e[d] = i;
|
|
67
1442
|
};
|
|
68
|
-
return
|
|
69
|
-
}, getSelectionKeys: () =>
|
|
1443
|
+
return B(t, A).forEach((d) => n(d, void 0)), { matched: t.some((d) => l(d, f, n)), selections: e };
|
|
1444
|
+
}, getSelectionKeys: () => B(t, A), matcherType: "or" }) });
|
|
70
1445
|
}
|
|
71
|
-
function
|
|
72
|
-
return { [
|
|
1446
|
+
function b(t) {
|
|
1447
|
+
return { [h]: () => ({ match: (f) => ({ matched: !!t(f) }) }) };
|
|
73
1448
|
}
|
|
74
|
-
function
|
|
1449
|
+
function q(...t) {
|
|
75
1450
|
const f = typeof t[0] == "string" ? t[0] : void 0, e = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
76
|
-
return
|
|
77
|
-
let
|
|
78
|
-
return { matched: e === void 0 ||
|
|
79
|
-
|
|
80
|
-
}), selections:
|
|
81
|
-
}, getSelectionKeys: () => [f ?? D].concat(e === void 0 ? [] :
|
|
1451
|
+
return p({ [h]: () => ({ match: (n) => {
|
|
1452
|
+
let d = { [f ?? D]: n };
|
|
1453
|
+
return { matched: e === void 0 || l(e, n, (i, a) => {
|
|
1454
|
+
d[i] = a;
|
|
1455
|
+
}), selections: d };
|
|
1456
|
+
}, getSelectionKeys: () => [f ?? D].concat(e === void 0 ? [] : A(e)) }) });
|
|
82
1457
|
}
|
|
83
|
-
function
|
|
1458
|
+
function c(t) {
|
|
84
1459
|
return typeof t == "number";
|
|
85
1460
|
}
|
|
86
1461
|
function g(t) {
|
|
87
1462
|
return typeof t == "string";
|
|
88
1463
|
}
|
|
89
|
-
function
|
|
1464
|
+
function x(t) {
|
|
90
1465
|
return typeof t == "bigint";
|
|
91
1466
|
}
|
|
92
|
-
|
|
1467
|
+
p(b(function(t) {
|
|
93
1468
|
return !0;
|
|
94
1469
|
}));
|
|
95
|
-
const
|
|
96
|
-
return
|
|
1470
|
+
const m = (t) => Object.assign(p(t), { startsWith: (f) => {
|
|
1471
|
+
return m(u(t, (e = f, b((n) => g(n) && n.startsWith(e)))));
|
|
97
1472
|
var e;
|
|
98
1473
|
}, endsWith: (f) => {
|
|
99
|
-
return
|
|
1474
|
+
return m(u(t, (e = f, b((n) => g(n) && n.endsWith(e)))));
|
|
100
1475
|
var e;
|
|
101
|
-
}, minLength: (f) =>
|
|
102
|
-
return
|
|
1476
|
+
}, minLength: (f) => m(u(t, ((e) => b((n) => g(n) && n.length >= e))(f))), length: (f) => m(u(t, ((e) => b((n) => g(n) && n.length === e))(f))), maxLength: (f) => m(u(t, ((e) => b((n) => g(n) && n.length <= e))(f))), includes: (f) => {
|
|
1477
|
+
return m(u(t, (e = f, b((n) => g(n) && n.includes(e)))));
|
|
103
1478
|
var e;
|
|
104
1479
|
}, regex: (f) => {
|
|
105
|
-
return
|
|
1480
|
+
return m(u(t, (e = f, b((n) => g(n) && !!n.match(e)))));
|
|
106
1481
|
var e;
|
|
107
1482
|
} });
|
|
108
|
-
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
const w = (t) => Object.assign(
|
|
112
|
-
w(
|
|
113
|
-
|
|
1483
|
+
m(b(g));
|
|
1484
|
+
const y = (t) => Object.assign(p(t), { between: (f, e) => y(u(t, ((n, d) => b((i) => c(i) && n <= i && d >= i))(f, e))), lt: (f) => y(u(t, ((e) => b((n) => c(n) && n < e))(f))), gt: (f) => y(u(t, ((e) => b((n) => c(n) && n > e))(f))), lte: (f) => y(u(t, ((e) => b((n) => c(n) && n <= e))(f))), gte: (f) => y(u(t, ((e) => b((n) => c(n) && n >= e))(f))), int: () => y(u(t, b((f) => c(f) && Number.isInteger(f)))), finite: () => y(u(t, b((f) => c(f) && Number.isFinite(f)))), positive: () => y(u(t, b((f) => c(f) && f > 0))), negative: () => y(u(t, b((f) => c(f) && f < 0))) });
|
|
1485
|
+
y(b(c));
|
|
1486
|
+
const w = (t) => Object.assign(p(t), { between: (f, e) => w(u(t, ((n, d) => b((i) => x(i) && n <= i && d >= i))(f, e))), lt: (f) => w(u(t, ((e) => b((n) => x(n) && n < e))(f))), gt: (f) => w(u(t, ((e) => b((n) => x(n) && n > e))(f))), lte: (f) => w(u(t, ((e) => b((n) => x(n) && n <= e))(f))), gte: (f) => w(u(t, ((e) => b((n) => x(n) && n >= e))(f))), positive: () => w(u(t, b((f) => x(f) && f > 0))), negative: () => w(u(t, b((f) => x(f) && f < 0))) });
|
|
1487
|
+
w(b(x));
|
|
1488
|
+
p(b(function(t) {
|
|
114
1489
|
return typeof t == "boolean";
|
|
115
1490
|
}));
|
|
116
|
-
|
|
1491
|
+
p(b(function(t) {
|
|
117
1492
|
return typeof t == "symbol";
|
|
118
1493
|
}));
|
|
119
|
-
|
|
1494
|
+
p(b(function(t) {
|
|
120
1495
|
return t == null;
|
|
121
1496
|
}));
|
|
122
|
-
|
|
1497
|
+
p(b(function(t) {
|
|
123
1498
|
return t != null;
|
|
124
1499
|
}));
|
|
125
1500
|
class E0 extends Error {
|
|
@@ -134,7 +1509,7 @@ class E0 extends Error {
|
|
|
134
1509
|
}
|
|
135
1510
|
}
|
|
136
1511
|
const G = { matched: !1, value: void 0 };
|
|
137
|
-
function
|
|
1512
|
+
function J(t) {
|
|
138
1513
|
return new U(t, G);
|
|
139
1514
|
}
|
|
140
1515
|
class U {
|
|
@@ -144,13 +1519,13 @@ class U {
|
|
|
144
1519
|
with(...f) {
|
|
145
1520
|
if (this.state.matched) return this;
|
|
146
1521
|
const e = f[f.length - 1], n = [f[0]];
|
|
147
|
-
let
|
|
148
|
-
f.length === 3 && typeof f[1] == "function" ?
|
|
149
|
-
let
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
},
|
|
153
|
-
return new U(this.input,
|
|
1522
|
+
let d;
|
|
1523
|
+
f.length === 3 && typeof f[1] == "function" ? d = f[1] : f.length > 2 && n.push(...f.slice(1, f.length - 1));
|
|
1524
|
+
let i = !1, a = {};
|
|
1525
|
+
const s = (o, E) => {
|
|
1526
|
+
i = !0, a[o] = E;
|
|
1527
|
+
}, r = !n.some((o) => l(o, this.input, s)) || d && !d(this.input) ? G : { matched: !0, value: e(i ? D in a ? a[D] : a : this.input, this.input) };
|
|
1528
|
+
return new U(this.input, r);
|
|
154
1529
|
}
|
|
155
1530
|
when(f, e) {
|
|
156
1531
|
if (this.state.matched) return this;
|
|
@@ -171,13 +1546,13 @@ class U {
|
|
|
171
1546
|
return this;
|
|
172
1547
|
}
|
|
173
1548
|
}
|
|
174
|
-
var N0 = /* @__PURE__ */ ((t) => (t[t.EQUAL = 0] = "EQUAL", t[t.NOT_EQUAL = 1] = "NOT_EQUAL", t[t.GREATER_THAN = 2] = "GREATER_THAN", t[t.LESS_THAN = 3] = "LESS_THAN", t[t.CONTAINS = 4] = "CONTAINS", t[t.REGEX = 5] = "REGEX", t[t.GREATER_THAN_OR_EQUAL = 6] = "GREATER_THAN_OR_EQUAL", t[t.LESS_THAN_OR_EQUAL = 7] = "LESS_THAN_OR_EQUAL", t))(N0 || {}), I0 = /* @__PURE__ */ ((t) => (t[t.UINT = 0] = "UINT", t[t.ADDRESS = 1] = "ADDRESS", t[t.BYTES = 2] = "BYTES", t[t.STRING = 3] = "STRING", t[t.TUPLE = 4] = "TUPLE", t))(I0 || {}),
|
|
175
|
-
function
|
|
1549
|
+
var N0 = /* @__PURE__ */ ((t) => (t[t.EQUAL = 0] = "EQUAL", t[t.NOT_EQUAL = 1] = "NOT_EQUAL", t[t.GREATER_THAN = 2] = "GREATER_THAN", t[t.LESS_THAN = 3] = "LESS_THAN", t[t.CONTAINS = 4] = "CONTAINS", t[t.REGEX = 5] = "REGEX", t[t.GREATER_THAN_OR_EQUAL = 6] = "GREATER_THAN_OR_EQUAL", t[t.LESS_THAN_OR_EQUAL = 7] = "LESS_THAN_OR_EQUAL", t))(N0 || {}), I0 = /* @__PURE__ */ ((t) => (t[t.UINT = 0] = "UINT", t[t.ADDRESS = 1] = "ADDRESS", t[t.BYTES = 2] = "BYTES", t[t.STRING = 3] = "STRING", t[t.TUPLE = 4] = "TUPLE", t))(I0 || {}), S0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(S0 || {});
|
|
1550
|
+
function C0(t) {
|
|
176
1551
|
return Array.isArray(t.actionSteps);
|
|
177
1552
|
}
|
|
178
|
-
const
|
|
1553
|
+
const W = class W extends c0 {
|
|
179
1554
|
constructor() {
|
|
180
|
-
super(...arguments), this.abi =
|
|
1555
|
+
super(...arguments), this.abi = F;
|
|
181
1556
|
}
|
|
182
1557
|
/**
|
|
183
1558
|
* Gets a specific action event by index
|
|
@@ -200,13 +1575,13 @@ const O = class O extends l0 {
|
|
|
200
1575
|
* @returns {Promise<ActionStep[]>}
|
|
201
1576
|
*/
|
|
202
1577
|
async getActionSteps(f) {
|
|
203
|
-
const e = await
|
|
1578
|
+
const e = await a0(this._config, {
|
|
204
1579
|
address: this.assertValidAddress(),
|
|
205
1580
|
...this.optionallyAttachAccount(),
|
|
206
1581
|
// biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
|
|
207
1582
|
...f
|
|
208
1583
|
});
|
|
209
|
-
return
|
|
1584
|
+
return k0(e.map(e0));
|
|
210
1585
|
}
|
|
211
1586
|
/**
|
|
212
1587
|
* Gets the count of action events
|
|
@@ -228,7 +1603,7 @@ const O = class O extends l0 {
|
|
|
228
1603
|
* @returns {Promise<ActionClaimant>}
|
|
229
1604
|
*/
|
|
230
1605
|
async getActionClaimant(f) {
|
|
231
|
-
const e = await
|
|
1606
|
+
const e = await s0(this._config, {
|
|
232
1607
|
address: this.assertValidAddress(),
|
|
233
1608
|
...this.optionallyAttachAccount(),
|
|
234
1609
|
...f
|
|
@@ -257,14 +1632,14 @@ const O = class O extends l0 {
|
|
|
257
1632
|
* @returns {Promise<{ hash: `0x${string}`; result: readonly [boolean, `0x${string}`]; }>}
|
|
258
1633
|
*/
|
|
259
1634
|
async executeRaw(f, e) {
|
|
260
|
-
const { request: n, result:
|
|
1635
|
+
const { request: n, result: d } = await r0(this._config, {
|
|
261
1636
|
address: this.assertValidAddress(),
|
|
262
1637
|
...this.optionallyAttachAccount(),
|
|
263
1638
|
// biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
|
|
264
1639
|
...e,
|
|
265
1640
|
args: [f]
|
|
266
1641
|
});
|
|
267
|
-
return { hash: await
|
|
1642
|
+
return { hash: await b0(this._config, n), result: d };
|
|
268
1643
|
}
|
|
269
1644
|
/**
|
|
270
1645
|
* Derives the action claimant address from a transaction based on the provided ActionClaimant configuration.
|
|
@@ -301,77 +1676,78 @@ const O = class O extends l0 {
|
|
|
301
1676
|
* @throws {FunctionDataDecodeError} If there's an error decoding function data (for function-based derivation).
|
|
302
1677
|
*/
|
|
303
1678
|
async deriveActionClaimantFromTransaction(f, e) {
|
|
304
|
-
if (f.fieldIndex ===
|
|
1679
|
+
if (f.fieldIndex === C.TX_SENDER_CLAIMANT) {
|
|
305
1680
|
if ("hash" in e) {
|
|
306
|
-
const
|
|
1681
|
+
const d = await k(this._config, {
|
|
307
1682
|
...e,
|
|
308
1683
|
chainId: f.chainid
|
|
309
1684
|
});
|
|
310
|
-
return e.notBeforeBlockNumber &&
|
|
1685
|
+
return e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber ? void 0 : d.from;
|
|
311
1686
|
}
|
|
312
1687
|
if ("logs" in e) {
|
|
313
|
-
for (let
|
|
314
|
-
if (
|
|
315
|
-
const
|
|
1688
|
+
for (let d of e.logs)
|
|
1689
|
+
if (d.transactionHash) {
|
|
1690
|
+
const i = await k(this._config, {
|
|
316
1691
|
...e,
|
|
317
|
-
hash:
|
|
1692
|
+
hash: d.transactionHash,
|
|
318
1693
|
chainId: f.chainid
|
|
319
1694
|
});
|
|
320
|
-
return e.notBeforeBlockNumber &&
|
|
1695
|
+
return e.notBeforeBlockNumber && i.blockNumber < e.notBeforeBlockNumber ? void 0 : i.from;
|
|
321
1696
|
}
|
|
322
1697
|
}
|
|
323
1698
|
return;
|
|
324
1699
|
}
|
|
325
1700
|
const n = f.signature;
|
|
326
1701
|
if (f.signatureType === 0) {
|
|
327
|
-
let
|
|
328
|
-
if (e.abiItem ?
|
|
329
|
-
throw new
|
|
330
|
-
let
|
|
1702
|
+
let d;
|
|
1703
|
+
if (e.abiItem ? d = e.abiItem : d = e.knownSignatures[n], !d)
|
|
1704
|
+
throw new _(n);
|
|
1705
|
+
let i;
|
|
331
1706
|
if ("logs" in e) {
|
|
332
|
-
for (let
|
|
333
|
-
if (!N(
|
|
334
|
-
let
|
|
1707
|
+
for (let r of e.logs) {
|
|
1708
|
+
if (!N(r.address, f.targetContract)) continue;
|
|
1709
|
+
let o = this.validateClaimantAgainstArgs(
|
|
335
1710
|
f,
|
|
336
|
-
|
|
1711
|
+
r
|
|
337
1712
|
);
|
|
338
|
-
|
|
1713
|
+
o && (i = o);
|
|
339
1714
|
}
|
|
340
|
-
return
|
|
1715
|
+
return i;
|
|
341
1716
|
}
|
|
342
|
-
const
|
|
1717
|
+
const a = await V(this._config, {
|
|
343
1718
|
...e,
|
|
344
1719
|
chainId: f.chainid
|
|
345
1720
|
});
|
|
346
|
-
if (e.notBeforeBlockNumber &&
|
|
1721
|
+
if (e.notBeforeBlockNumber && a.blockNumber < e.notBeforeBlockNumber)
|
|
347
1722
|
return;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
1723
|
+
let s;
|
|
1724
|
+
n === M ? { decodedLogs: s } = await this.decodeTransferLogs(a) : s = a.logs.filter((r) => r.topics[0] === Q(d)).map((r) => t0(d, r));
|
|
1725
|
+
for (let r of s) {
|
|
1726
|
+
if (!N(r.address, f.targetContract)) continue;
|
|
1727
|
+
let o = this.validateClaimantAgainstArgs(f, r);
|
|
1728
|
+
o && (i = o);
|
|
353
1729
|
}
|
|
354
|
-
return
|
|
1730
|
+
return i;
|
|
355
1731
|
}
|
|
356
1732
|
if (f.signatureType === 1 && "hash" in e) {
|
|
357
|
-
const
|
|
1733
|
+
const d = await k(this._config, {
|
|
358
1734
|
...e,
|
|
359
1735
|
chainId: f.chainid
|
|
360
1736
|
});
|
|
361
|
-
if (e.notBeforeBlockNumber &&
|
|
362
|
-
let a;
|
|
363
|
-
if (e.abiItem ? a = e.abiItem : a = e.knownSignatures[n], !a)
|
|
364
|
-
throw new k(f.signature);
|
|
1737
|
+
if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !N(d.to, f.targetContract)) return;
|
|
365
1738
|
let i;
|
|
1739
|
+
if (e.abiItem ? i = e.abiItem : i = e.knownSignatures[n], !i)
|
|
1740
|
+
throw new _(f.signature);
|
|
1741
|
+
let a;
|
|
366
1742
|
try {
|
|
367
|
-
|
|
368
|
-
abi: [
|
|
369
|
-
data:
|
|
1743
|
+
a = j({
|
|
1744
|
+
abi: [i],
|
|
1745
|
+
data: d.input
|
|
370
1746
|
});
|
|
371
|
-
} catch (
|
|
372
|
-
throw new
|
|
1747
|
+
} catch (s) {
|
|
1748
|
+
throw new K([i], s);
|
|
373
1749
|
}
|
|
374
|
-
return this.validateClaimantAgainstArgs(f,
|
|
1750
|
+
return this.validateClaimantAgainstArgs(f, a);
|
|
375
1751
|
}
|
|
376
1752
|
}
|
|
377
1753
|
/**
|
|
@@ -386,7 +1762,7 @@ const O = class O extends l0 {
|
|
|
386
1762
|
if (!e || !Array.isArray(e == null ? void 0 : e.args) || (e == null ? void 0 : e.args.length) <= f.fieldIndex)
|
|
387
1763
|
return;
|
|
388
1764
|
const n = e.args.at(f.fieldIndex);
|
|
389
|
-
if (
|
|
1765
|
+
if (X(n)) return n;
|
|
390
1766
|
}
|
|
391
1767
|
/**
|
|
392
1768
|
* Retrieves action steps, and uses them to validate against, and optionally fetch logs that match the step's signature.
|
|
@@ -418,29 +1794,31 @@ const O = class O extends l0 {
|
|
|
418
1794
|
async isActionStepValid(f, e) {
|
|
419
1795
|
if (f.signatureType === 0) {
|
|
420
1796
|
const n = f.signature;
|
|
421
|
-
let
|
|
422
|
-
if (e.abiItem ?
|
|
423
|
-
throw new
|
|
424
|
-
if (this.isArraylikeIndexed(f,
|
|
425
|
-
throw new
|
|
1797
|
+
let d;
|
|
1798
|
+
if (e.abiItem ? d = e.abiItem : d = e.knownSignatures[n], !d)
|
|
1799
|
+
throw new _(n);
|
|
1800
|
+
if (this.isArraylikeIndexed(f, d))
|
|
1801
|
+
throw new $(
|
|
426
1802
|
f.actionParameter.fieldIndex,
|
|
427
|
-
|
|
1803
|
+
d
|
|
428
1804
|
);
|
|
429
1805
|
if ("logs" in e)
|
|
430
|
-
return this.isActionEventValid(f, e.logs,
|
|
431
|
-
const
|
|
1806
|
+
return this.isActionEventValid(f, e.logs, d);
|
|
1807
|
+
const i = await V(this._config, {
|
|
432
1808
|
...e,
|
|
433
1809
|
chainId: f.chainid
|
|
434
1810
|
});
|
|
435
|
-
if (e.notBeforeBlockNumber &&
|
|
1811
|
+
if (e.notBeforeBlockNumber && i.blockNumber < e.notBeforeBlockNumber)
|
|
436
1812
|
return !1;
|
|
437
|
-
if (f.signature ===
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
1813
|
+
if (f.signature === M) {
|
|
1814
|
+
const { decodedLogs: s, event: r } = await this.decodeTransferLogs(i);
|
|
1815
|
+
return this.isActionEventValid(f, s, r);
|
|
1816
|
+
}
|
|
1817
|
+
const a = i.logs.filter((s) => s.topics[0] === Q(d)).map((s) => t0(d, s));
|
|
1818
|
+
return this.isActionEventValid(f, a, d);
|
|
441
1819
|
}
|
|
442
1820
|
if (f.signatureType === 1 && "hash" in e) {
|
|
443
|
-
const n = await
|
|
1821
|
+
const n = await k(this._config, {
|
|
444
1822
|
...e,
|
|
445
1823
|
chainId: f.chainid
|
|
446
1824
|
});
|
|
@@ -458,30 +1836,30 @@ const O = class O extends l0 {
|
|
|
458
1836
|
* @returns {boolean} Resolves to true if the action event is valid, throws if input is invalid, otherwise false.
|
|
459
1837
|
*/
|
|
460
1838
|
isActionEventValid(f, e, n) {
|
|
461
|
-
const
|
|
1839
|
+
const d = f.actionParameter;
|
|
462
1840
|
if (!e.length) return !1;
|
|
463
|
-
for (let
|
|
1841
|
+
for (let i of e)
|
|
464
1842
|
try {
|
|
465
|
-
if (!Array.isArray(
|
|
466
|
-
throw new
|
|
467
|
-
log:
|
|
468
|
-
criteria:
|
|
1843
|
+
if (!Array.isArray(i.args))
|
|
1844
|
+
throw new y0({
|
|
1845
|
+
log: i,
|
|
1846
|
+
criteria: d,
|
|
469
1847
|
fieldValue: void 0
|
|
470
1848
|
});
|
|
471
|
-
const { value:
|
|
472
|
-
|
|
473
|
-
|
|
1849
|
+
const { value: a, type: s } = this.parseFieldFromAbi(
|
|
1850
|
+
i.args,
|
|
1851
|
+
d.fieldIndex,
|
|
474
1852
|
n.inputs || [],
|
|
475
|
-
|
|
1853
|
+
d.fieldType
|
|
476
1854
|
);
|
|
477
|
-
if (
|
|
1855
|
+
if (d.fieldType = s, this.validateFieldAgainstCriteria(d, a, { log: i }))
|
|
478
1856
|
return !0;
|
|
479
1857
|
} catch {
|
|
480
1858
|
}
|
|
481
1859
|
return !1;
|
|
482
1860
|
}
|
|
483
1861
|
/**
|
|
484
|
-
* Decodes
|
|
1862
|
+
* Decodes logs specifically for ERC721 and ERC20 Transfer events.
|
|
485
1863
|
*
|
|
486
1864
|
* This special handling is required because both ERC20 and ERC721 Transfer events:
|
|
487
1865
|
* 1. Share the same event signature (0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef)
|
|
@@ -493,71 +1871,38 @@ const O = class O extends l0 {
|
|
|
493
1871
|
* try decoding both ways to determine which type of Transfer event we're dealing with.
|
|
494
1872
|
*
|
|
495
1873
|
* @param {GetTransactionReceiptReturnType} receipt - The transaction receipt containing the logs
|
|
496
|
-
* @
|
|
497
|
-
* @returns {Promise<boolean>} - Returns true if the transfer logs are valid for either ERC20 or ERC721
|
|
1874
|
+
* @returns {Promise<{ decodedLogs: EventLogs; event: AbiEvent }>} - Returns the decoded logs and the transfer event ABI used for decoding
|
|
498
1875
|
* @throws {DecodedArgsError} - Throws if neither ERC20 nor ERC721 decoding succeeds
|
|
499
1876
|
*/
|
|
500
|
-
async decodeTransferLogs(f
|
|
501
|
-
const
|
|
502
|
-
(
|
|
503
|
-
);
|
|
1877
|
+
async decodeTransferLogs(f) {
|
|
1878
|
+
const e = f.logs.filter(
|
|
1879
|
+
(d) => d.topics[0] === M
|
|
1880
|
+
), n = w0["Transfer(address indexed,address indexed,uint256 indexed)"];
|
|
504
1881
|
try {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
data: a.data,
|
|
519
|
-
topics: a.topics
|
|
520
|
-
});
|
|
521
|
-
return { ...a, eventName: i, args: r };
|
|
522
|
-
});
|
|
523
|
-
return this.isActionEventValid(e, b, {
|
|
524
|
-
name: "Transfer",
|
|
525
|
-
type: "event",
|
|
526
|
-
inputs: [
|
|
527
|
-
{ type: "address", indexed: !0 },
|
|
528
|
-
{ type: "address", indexed: !0 },
|
|
529
|
-
{ type: "uint256", indexed: !0 }
|
|
530
|
-
]
|
|
531
|
-
});
|
|
1882
|
+
return {
|
|
1883
|
+
decodedLogs: e.map((i) => {
|
|
1884
|
+
const { eventName: a, args: s } = O({
|
|
1885
|
+
abi: [n],
|
|
1886
|
+
data: i.data,
|
|
1887
|
+
topics: i.topics
|
|
1888
|
+
});
|
|
1889
|
+
return { ...i, eventName: a, args: s };
|
|
1890
|
+
}),
|
|
1891
|
+
event: n
|
|
1892
|
+
};
|
|
532
1893
|
} catch {
|
|
533
1894
|
try {
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
data: a.data,
|
|
548
|
-
topics: a.topics
|
|
549
|
-
});
|
|
550
|
-
return { ...a, eventName: i, args: r };
|
|
551
|
-
});
|
|
552
|
-
return this.isActionEventValid(e, b, {
|
|
553
|
-
name: "Transfer",
|
|
554
|
-
type: "event",
|
|
555
|
-
inputs: [
|
|
556
|
-
{ type: "address", indexed: !0 },
|
|
557
|
-
{ type: "address", indexed: !0 },
|
|
558
|
-
{ type: "uint256" }
|
|
559
|
-
]
|
|
560
|
-
});
|
|
1895
|
+
return n.inputs[2].indexed = !1, {
|
|
1896
|
+
decodedLogs: e.map((i) => {
|
|
1897
|
+
const { eventName: a, args: s } = O({
|
|
1898
|
+
abi: [n],
|
|
1899
|
+
data: i.data,
|
|
1900
|
+
topics: i.topics
|
|
1901
|
+
});
|
|
1902
|
+
return { ...i, eventName: a, args: s };
|
|
1903
|
+
}),
|
|
1904
|
+
event: n
|
|
1905
|
+
};
|
|
561
1906
|
} catch {
|
|
562
1907
|
throw new n0("Failed to decode transfer logs");
|
|
563
1908
|
}
|
|
@@ -575,42 +1920,42 @@ const O = class O extends l0 {
|
|
|
575
1920
|
* @param {PrimitiveType} declaredType - Either TUPLE or a standard scalar type
|
|
576
1921
|
* @returns {{ value: string | bigint | Hex; type: Exclude<PrimitiveType, PrimitiveType.TUPLE> }}
|
|
577
1922
|
*/
|
|
578
|
-
parseFieldFromAbi(f, e, n,
|
|
579
|
-
if (e ===
|
|
1923
|
+
parseFieldFromAbi(f, e, n, d) {
|
|
1924
|
+
if (e === C.ANY_ACTION_PARAM)
|
|
580
1925
|
return {
|
|
581
|
-
value:
|
|
1926
|
+
value: S,
|
|
582
1927
|
type: 2
|
|
583
1928
|
/* BYTES */
|
|
584
1929
|
};
|
|
585
|
-
if (
|
|
1930
|
+
if (d !== 4) {
|
|
586
1931
|
if (!Array.isArray(f) || e >= f.length)
|
|
587
|
-
throw new
|
|
1932
|
+
throw new z({
|
|
588
1933
|
fieldValue: f,
|
|
589
1934
|
criteria: {
|
|
590
1935
|
filterType: 0,
|
|
591
|
-
fieldType:
|
|
1936
|
+
fieldType: d,
|
|
592
1937
|
fieldIndex: e,
|
|
593
|
-
filterData:
|
|
1938
|
+
filterData: S
|
|
594
1939
|
}
|
|
595
1940
|
});
|
|
596
|
-
const
|
|
597
|
-
if (!
|
|
598
|
-
throw new
|
|
599
|
-
const
|
|
600
|
-
if (
|
|
601
|
-
throw new
|
|
602
|
-
fieldValue:
|
|
1941
|
+
const a = n[e];
|
|
1942
|
+
if (!a || !a.type)
|
|
1943
|
+
throw new $(e, a);
|
|
1944
|
+
const s = f[e], r = i0(a.type);
|
|
1945
|
+
if (r === 1 && (typeof s != "string" || !X(s)))
|
|
1946
|
+
throw new z({
|
|
1947
|
+
fieldValue: s,
|
|
603
1948
|
criteria: {
|
|
604
1949
|
fieldIndex: e,
|
|
605
1950
|
filterType: 0,
|
|
606
|
-
fieldType:
|
|
607
|
-
filterData:
|
|
1951
|
+
fieldType: r,
|
|
1952
|
+
filterData: S
|
|
608
1953
|
}
|
|
609
1954
|
});
|
|
610
|
-
return { value:
|
|
1955
|
+
return { value: s, type: r };
|
|
611
1956
|
}
|
|
612
|
-
const
|
|
613
|
-
return
|
|
1957
|
+
const i = _0(e);
|
|
1958
|
+
return d0(f, i, n);
|
|
614
1959
|
}
|
|
615
1960
|
/**
|
|
616
1961
|
* Validates a single action function with a given criteria against the transaction input.
|
|
@@ -626,30 +1971,30 @@ const O = class O extends l0 {
|
|
|
626
1971
|
* @throws {FunctionDataDecodeError} Throws if there's an error decoding the function data.
|
|
627
1972
|
*/
|
|
628
1973
|
isActionFunctionValid(f, e, n) {
|
|
629
|
-
const
|
|
630
|
-
let
|
|
631
|
-
if (n.abiItem ?
|
|
632
|
-
throw new
|
|
633
|
-
let
|
|
1974
|
+
const d = f.actionParameter, i = f.signature;
|
|
1975
|
+
let a;
|
|
1976
|
+
if (n.abiItem ? a = n.abiItem : a = n.knownSignatures[i], !a)
|
|
1977
|
+
throw new _(i);
|
|
1978
|
+
let s;
|
|
634
1979
|
try {
|
|
635
|
-
|
|
636
|
-
abi: [
|
|
1980
|
+
s = j({
|
|
1981
|
+
abi: [a],
|
|
637
1982
|
data: e.input
|
|
638
1983
|
});
|
|
639
|
-
} catch (
|
|
640
|
-
throw new
|
|
1984
|
+
} catch (r) {
|
|
1985
|
+
throw new K([a], r);
|
|
641
1986
|
}
|
|
642
|
-
if (!(
|
|
1987
|
+
if (!(s != null && s.args))
|
|
643
1988
|
return !1;
|
|
644
1989
|
try {
|
|
645
|
-
const { value:
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
1990
|
+
const { value: r, type: o } = this.parseFieldFromAbi(
|
|
1991
|
+
s.args,
|
|
1992
|
+
d.fieldIndex,
|
|
1993
|
+
a.inputs || [],
|
|
1994
|
+
d.fieldType
|
|
650
1995
|
);
|
|
651
|
-
return
|
|
652
|
-
decodedArgs:
|
|
1996
|
+
return d.fieldType = o, this.validateFieldAgainstCriteria(d, r, {
|
|
1997
|
+
decodedArgs: s.args
|
|
653
1998
|
});
|
|
654
1999
|
} catch {
|
|
655
2000
|
return !1;
|
|
@@ -668,16 +2013,16 @@ const O = class O extends l0 {
|
|
|
668
2013
|
* @returns {boolean} - Returns true if the field passes the criteria, false otherwise.
|
|
669
2014
|
*/
|
|
670
2015
|
validateFieldAgainstCriteria(f, e, n) {
|
|
671
|
-
if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex ===
|
|
2016
|
+
if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === C.ANY_ACTION_PARAM)
|
|
672
2017
|
return !0;
|
|
673
2018
|
if (f.fieldType === 4)
|
|
674
2019
|
throw new v(
|
|
675
2020
|
"Tuples should not be passed into validateFieldAgainstCriteria"
|
|
676
2021
|
);
|
|
677
|
-
const
|
|
2022
|
+
const d = f.fieldType;
|
|
678
2023
|
switch (f.filterType) {
|
|
679
2024
|
case 0:
|
|
680
|
-
return
|
|
2025
|
+
return J(d).with(
|
|
681
2026
|
1,
|
|
682
2027
|
() => N(f.filterData, e)
|
|
683
2028
|
).with(
|
|
@@ -688,7 +2033,7 @@ const O = class O extends l0 {
|
|
|
688
2033
|
() => e === R(f.filterData, "string")
|
|
689
2034
|
).otherwise(() => e === f.filterData);
|
|
690
2035
|
case 1:
|
|
691
|
-
return
|
|
2036
|
+
return J(d).with(
|
|
692
2037
|
1,
|
|
693
2038
|
() => !N(f.filterData, e)
|
|
694
2039
|
).with(
|
|
@@ -699,7 +2044,7 @@ const O = class O extends l0 {
|
|
|
699
2044
|
() => e !== R(f.filterData, "string")
|
|
700
2045
|
).otherwise(() => e !== f.filterData);
|
|
701
2046
|
case 2:
|
|
702
|
-
if (
|
|
2047
|
+
if (d === 0)
|
|
703
2048
|
return BigInt(e) > BigInt(f.filterData);
|
|
704
2049
|
throw new L({
|
|
705
2050
|
...n,
|
|
@@ -707,7 +2052,7 @@ const O = class O extends l0 {
|
|
|
707
2052
|
fieldValue: e
|
|
708
2053
|
});
|
|
709
2054
|
case 6:
|
|
710
|
-
if (
|
|
2055
|
+
if (d === 0)
|
|
711
2056
|
return BigInt(e) >= BigInt(f.filterData);
|
|
712
2057
|
throw new L({
|
|
713
2058
|
...n,
|
|
@@ -715,7 +2060,7 @@ const O = class O extends l0 {
|
|
|
715
2060
|
fieldValue: e
|
|
716
2061
|
});
|
|
717
2062
|
case 3:
|
|
718
|
-
if (
|
|
2063
|
+
if (d === 0)
|
|
719
2064
|
return BigInt(e) < BigInt(f.filterData);
|
|
720
2065
|
throw new L({
|
|
721
2066
|
...n,
|
|
@@ -723,7 +2068,7 @@ const O = class O extends l0 {
|
|
|
723
2068
|
fieldValue: e
|
|
724
2069
|
});
|
|
725
2070
|
case 7:
|
|
726
|
-
if (
|
|
2071
|
+
if (d === 0)
|
|
727
2072
|
return BigInt(e) <= BigInt(f.filterData);
|
|
728
2073
|
throw new L({
|
|
729
2074
|
...n,
|
|
@@ -731,28 +2076,28 @@ const O = class O extends l0 {
|
|
|
731
2076
|
fieldValue: e
|
|
732
2077
|
});
|
|
733
2078
|
case 4:
|
|
734
|
-
if (
|
|
735
|
-
let
|
|
736
|
-
return
|
|
2079
|
+
if (d === 2 || d === 3) {
|
|
2080
|
+
let i;
|
|
2081
|
+
return d === 3 ? i = R(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
|
|
737
2082
|
}
|
|
738
|
-
throw new
|
|
2083
|
+
throw new Y({
|
|
739
2084
|
...n,
|
|
740
2085
|
criteria: f,
|
|
741
2086
|
fieldValue: e
|
|
742
2087
|
});
|
|
743
2088
|
case 5:
|
|
744
2089
|
if (typeof e != "string")
|
|
745
|
-
throw new
|
|
2090
|
+
throw new Y({
|
|
746
2091
|
...n,
|
|
747
2092
|
criteria: f,
|
|
748
2093
|
fieldValue: e
|
|
749
2094
|
});
|
|
750
|
-
if (
|
|
751
|
-
const
|
|
752
|
-
return new RegExp(
|
|
2095
|
+
if (d === 3) {
|
|
2096
|
+
const i = R(f.filterData, "string");
|
|
2097
|
+
return new RegExp(i).test(e);
|
|
753
2098
|
}
|
|
754
2099
|
default:
|
|
755
|
-
throw new
|
|
2100
|
+
throw new l0({
|
|
756
2101
|
...n,
|
|
757
2102
|
criteria: f,
|
|
758
2103
|
fieldValue: e
|
|
@@ -768,32 +2113,32 @@ const O = class O extends l0 {
|
|
|
768
2113
|
* @returns {GenericDeployableParams}
|
|
769
2114
|
*/
|
|
770
2115
|
buildParameters(f, e) {
|
|
771
|
-
const [n,
|
|
2116
|
+
const [n, d] = this.validateDeploymentConfig(
|
|
772
2117
|
f,
|
|
773
2118
|
e
|
|
774
2119
|
);
|
|
775
|
-
let
|
|
776
|
-
if (
|
|
777
|
-
let
|
|
778
|
-
if (
|
|
779
|
-
throw new
|
|
780
|
-
if (
|
|
2120
|
+
let i;
|
|
2121
|
+
if (C0(n)) {
|
|
2122
|
+
let a = n.actionSteps.filter((r) => !!r);
|
|
2123
|
+
if (a.length === 0)
|
|
2124
|
+
throw new h0();
|
|
2125
|
+
if (a.length > 4)
|
|
781
2126
|
throw new g0();
|
|
782
|
-
let
|
|
783
|
-
|
|
2127
|
+
let s = Array.from({ length: 4 }, (r, o) => a.at(o) || a.at(-1));
|
|
2128
|
+
i = {
|
|
784
2129
|
actionClaimant: n.actionClaimant,
|
|
785
|
-
actionStepOne:
|
|
786
|
-
actionStepTwo:
|
|
787
|
-
actionStepThree:
|
|
788
|
-
actionStepFour:
|
|
2130
|
+
actionStepOne: s[0],
|
|
2131
|
+
actionStepTwo: s[1],
|
|
2132
|
+
actionStepThree: s[2],
|
|
2133
|
+
actionStepFour: s[3]
|
|
789
2134
|
};
|
|
790
2135
|
} else
|
|
791
|
-
|
|
2136
|
+
i = n;
|
|
792
2137
|
return {
|
|
793
|
-
abi:
|
|
794
|
-
bytecode:
|
|
795
|
-
args: [
|
|
796
|
-
...this.optionallyAttachAccount(
|
|
2138
|
+
abi: F,
|
|
2139
|
+
bytecode: m0,
|
|
2140
|
+
args: [R0(i)],
|
|
2141
|
+
...this.optionallyAttachAccount(d.account)
|
|
797
2142
|
};
|
|
798
2143
|
}
|
|
799
2144
|
/**
|
|
@@ -810,15 +2155,15 @@ const O = class O extends l0 {
|
|
|
810
2155
|
return !!((f.actionParameter.fieldType === 3 || f.actionParameter.fieldType === 2) && ((n = e.inputs[f.actionParameter.fieldIndex]) != null && n.indexed));
|
|
811
2156
|
}
|
|
812
2157
|
};
|
|
813
|
-
|
|
2158
|
+
W.bases = {
|
|
814
2159
|
31337: void 0,
|
|
815
|
-
...
|
|
816
|
-
},
|
|
817
|
-
let f0 =
|
|
2160
|
+
...p0
|
|
2161
|
+
}, W.registryType = x0.ACTION;
|
|
2162
|
+
let f0 = W;
|
|
818
2163
|
function B0(t) {
|
|
819
2164
|
return t.type === "tuple" || t.type.startsWith("tuple[");
|
|
820
2165
|
}
|
|
821
|
-
function
|
|
2166
|
+
function d0(t, f, e) {
|
|
822
2167
|
if (!f.length)
|
|
823
2168
|
throw new v(
|
|
824
2169
|
"No indexes found; cannot parse TUPLE field"
|
|
@@ -826,24 +2171,24 @@ function b0(t, f, e) {
|
|
|
826
2171
|
const n = f[0] ?? e.length + 1;
|
|
827
2172
|
if (n >= e.length)
|
|
828
2173
|
throw new v(void 0, n);
|
|
829
|
-
const
|
|
830
|
-
if (!B0(
|
|
831
|
-
const
|
|
832
|
-
return { value:
|
|
2174
|
+
const d = e[n], i = t[n];
|
|
2175
|
+
if (!B0(d)) {
|
|
2176
|
+
const r = i0(d.type);
|
|
2177
|
+
return { value: i, type: r };
|
|
833
2178
|
}
|
|
834
|
-
if (!Array.isArray(
|
|
2179
|
+
if (!Array.isArray(i))
|
|
835
2180
|
throw new v(
|
|
836
2181
|
"rawValue is not an array, but param.type is tuple"
|
|
837
2182
|
);
|
|
838
|
-
const
|
|
839
|
-
if (!
|
|
2183
|
+
const a = f.slice(1);
|
|
2184
|
+
if (!a.length)
|
|
840
2185
|
throw new v(void 0, -1);
|
|
841
|
-
const
|
|
842
|
-
if (
|
|
843
|
-
throw new v(void 0,
|
|
844
|
-
return
|
|
2186
|
+
const s = a[0] ?? d.components.length + 1;
|
|
2187
|
+
if (s >= d.components.length)
|
|
2188
|
+
throw new v(void 0, s);
|
|
2189
|
+
return d0(i, a, d.components);
|
|
845
2190
|
}
|
|
846
|
-
function
|
|
2191
|
+
function i0(t) {
|
|
847
2192
|
const f = t.toLowerCase();
|
|
848
2193
|
if (f.startsWith("uint") || f.startsWith("int"))
|
|
849
2194
|
return 0;
|
|
@@ -855,11 +2200,11 @@ function a0(t) {
|
|
|
855
2200
|
return 3;
|
|
856
2201
|
throw new n0(`Unrecognized ABI type: ${t}`);
|
|
857
2202
|
}
|
|
858
|
-
function
|
|
2203
|
+
function k0(t) {
|
|
859
2204
|
const f = [], e = {};
|
|
860
2205
|
for (let n of t) {
|
|
861
|
-
const
|
|
862
|
-
e[
|
|
2206
|
+
const d = JSON.stringify(n);
|
|
2207
|
+
e[d] || (f.push(n), e[d] = !0);
|
|
863
2208
|
}
|
|
864
2209
|
return f;
|
|
865
2210
|
}
|
|
@@ -877,14 +2222,14 @@ function e0(t) {
|
|
|
877
2222
|
chainid: Number(t.chainid)
|
|
878
2223
|
};
|
|
879
2224
|
}
|
|
880
|
-
function
|
|
2225
|
+
function R0({
|
|
881
2226
|
actionClaimant: t,
|
|
882
2227
|
actionStepOne: f,
|
|
883
2228
|
actionStepTwo: e,
|
|
884
2229
|
actionStepThree: n,
|
|
885
|
-
actionStepFour:
|
|
2230
|
+
actionStepFour: d
|
|
886
2231
|
}) {
|
|
887
|
-
return
|
|
2232
|
+
return u0(
|
|
888
2233
|
[
|
|
889
2234
|
{
|
|
890
2235
|
type: "tuple",
|
|
@@ -1004,86 +2349,89 @@ function _0({
|
|
|
1004
2349
|
actionType: n.actionType || 0
|
|
1005
2350
|
},
|
|
1006
2351
|
actionStepFour: {
|
|
1007
|
-
...I(
|
|
1008
|
-
actionType:
|
|
2352
|
+
...I(d),
|
|
2353
|
+
actionType: d.actionType || 0
|
|
1009
2354
|
}
|
|
1010
2355
|
}
|
|
1011
2356
|
]
|
|
1012
2357
|
);
|
|
1013
2358
|
}
|
|
1014
|
-
function
|
|
2359
|
+
function H0() {
|
|
1015
2360
|
return {
|
|
1016
2361
|
filterType: 0,
|
|
1017
2362
|
fieldType: 2,
|
|
1018
|
-
fieldIndex:
|
|
1019
|
-
filterData:
|
|
2363
|
+
fieldIndex: C.ANY_ACTION_PARAM,
|
|
2364
|
+
filterData: S
|
|
1020
2365
|
};
|
|
1021
2366
|
}
|
|
1022
2367
|
function G0(t) {
|
|
1023
2368
|
return {
|
|
1024
2369
|
signatureType: 0,
|
|
1025
|
-
signature:
|
|
1026
|
-
fieldIndex:
|
|
1027
|
-
targetContract:
|
|
2370
|
+
signature: S,
|
|
2371
|
+
fieldIndex: C.TX_SENDER_CLAIMANT,
|
|
2372
|
+
targetContract: o0,
|
|
1028
2373
|
chainid: t
|
|
1029
2374
|
};
|
|
1030
2375
|
}
|
|
1031
|
-
const
|
|
1032
|
-
function
|
|
2376
|
+
const T = 63;
|
|
2377
|
+
function F0(t) {
|
|
1033
2378
|
if (t.length > 5)
|
|
1034
|
-
throw new
|
|
2379
|
+
throw new Z("Can only pack up to 5 indexes.");
|
|
1035
2380
|
let f = 0;
|
|
1036
2381
|
return t.forEach((e, n) => {
|
|
1037
|
-
if (e >
|
|
1038
|
-
throw new
|
|
1039
|
-
`Index ${e} exceeds the maximum allowed value (${
|
|
2382
|
+
if (e > T)
|
|
2383
|
+
throw new Z(
|
|
2384
|
+
`Index ${e} exceeds the maximum allowed value (${T}).`
|
|
1040
2385
|
);
|
|
1041
|
-
f |= (e &
|
|
1042
|
-
}), f;
|
|
2386
|
+
f |= (e & T) << n * 6;
|
|
2387
|
+
}), t.length < 5 && (f |= T << t.length * 6), f;
|
|
1043
2388
|
}
|
|
1044
|
-
function
|
|
2389
|
+
function _0(t) {
|
|
1045
2390
|
const f = [];
|
|
1046
2391
|
for (let e = 0; e < 5; e++) {
|
|
1047
|
-
const n = t >> e * 6 &
|
|
1048
|
-
if (n ===
|
|
2392
|
+
const n = t >> e * 6 & T;
|
|
2393
|
+
if (n === T) break;
|
|
1049
2394
|
f.push(n);
|
|
1050
2395
|
}
|
|
1051
2396
|
return f;
|
|
1052
2397
|
}
|
|
1053
2398
|
function t0(t, f) {
|
|
1054
|
-
const e =
|
|
2399
|
+
const e = O({
|
|
1055
2400
|
abi: [t],
|
|
1056
2401
|
data: f.data,
|
|
1057
2402
|
topics: f.topics
|
|
1058
2403
|
}), n = Array.isArray(e.args) ? e.args : Object.values(e.args);
|
|
1059
|
-
if (!t.inputs.some((
|
|
1060
|
-
return
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
const i =
|
|
1065
|
-
let r = 0;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
2404
|
+
if (!t.inputs.some((r) => r.indexed))
|
|
2405
|
+
return {
|
|
2406
|
+
...f,
|
|
2407
|
+
...e
|
|
2408
|
+
};
|
|
2409
|
+
const d = [], i = [];
|
|
2410
|
+
for (let r = 0; r < t.inputs.length; r++)
|
|
2411
|
+
t.inputs[r].indexed ? d.push(r) : i.push(r);
|
|
2412
|
+
const a = Array.from({ length: t.inputs.length });
|
|
2413
|
+
let s = 0;
|
|
2414
|
+
for (let r = 0; r < d.length; r++)
|
|
2415
|
+
a[d[r]] = n[s++];
|
|
2416
|
+
for (let r = 0; r < i.length; r++)
|
|
2417
|
+
a[i[r]] = n[s++];
|
|
1070
2418
|
return {
|
|
1071
2419
|
...f,
|
|
1072
2420
|
eventName: e.eventName,
|
|
1073
|
-
args:
|
|
2421
|
+
args: a
|
|
1074
2422
|
};
|
|
1075
2423
|
}
|
|
1076
2424
|
export {
|
|
1077
2425
|
f0 as EventAction,
|
|
1078
2426
|
N0 as FilterType,
|
|
1079
2427
|
I0 as PrimitiveType,
|
|
1080
|
-
|
|
1081
|
-
|
|
2428
|
+
S0 as SignatureType,
|
|
2429
|
+
H0 as anyActionParameter,
|
|
1082
2430
|
t0 as decodeAndReorderLogArgs,
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
2431
|
+
C0 as isEventActionPayloadSimple,
|
|
2432
|
+
F0 as packFieldIndexes,
|
|
2433
|
+
R0 as prepareEventActionPayload,
|
|
1086
2434
|
G0 as transactionSenderClaimant,
|
|
1087
|
-
|
|
2435
|
+
_0 as unpackFieldIndexes
|
|
1088
2436
|
};
|
|
1089
2437
|
//# sourceMappingURL=EventAction.js.map
|