@boostxyz/sdk 5.3.1 → 6.0.0
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/Action.cjs +1 -1
- package/dist/Actions/Action.js +3 -3
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +13 -3
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +216 -193
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.js +2 -2
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +24 -24
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.js +3 -3
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.cjs.map +1 -1
- package/dist/Auth/PassthroughAuth.js +14 -14
- package/dist/Boost.cjs.map +1 -1
- package/dist/Boost.js.map +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.d.ts +247 -0
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +421 -259
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.cjs.map +1 -1
- package/dist/BoostRegistry.js +43 -43
- package/dist/BoostRegistry.js.map +1 -1
- package/dist/Budget-DMbfdTom.cjs +2 -0
- package/dist/{Budget-AoNx7uFd.cjs.map → Budget-DMbfdTom.cjs.map} +1 -1
- package/dist/Budget-DO6sGTIR.js +463 -0
- package/dist/{Budget-DYIV9iNK.js.map → Budget-DO6sGTIR.js.map} +1 -1
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.js +2 -2
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -1
- package/dist/Budgets/ManagedBudget.js +53 -53
- package/dist/Budgets/ManagedBudgetWithFees.d.ts +26 -0
- package/dist/Budgets/ManagedBudgetWithFees.d.ts.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.js +15 -15
- package/dist/Incentive-Boviez4z.js +1036 -0
- package/dist/Incentive-Boviez4z.js.map +1 -0
- package/dist/Incentive-wM4zizTH.cjs +2 -0
- package/dist/Incentive-wM4zizTH.cjs.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
- package/dist/Incentives/AllowListIncentive.d.ts +9 -1
- package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +64 -47
- package/dist/Incentives/AllowListIncentive.js.map +1 -1
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
- package/dist/Incentives/CGDAIncentive.d.ts +12 -1
- package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +64 -33
- package/dist/Incentives/CGDAIncentive.js.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
- package/dist/Incentives/ERC20Incentive.d.ts +37 -1
- package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +73 -49
- package/dist/Incentives/ERC20Incentive.js.map +1 -1
- package/dist/Incentives/ERC20PeggedIncentive.d.ts +35 -0
- package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts +35 -0
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +25 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +24 -24
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.d.ts +35 -0
- package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +55 -38
- package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.d.ts +25 -0
- package/dist/Incentives/Incentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.js +2 -2
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.cjs.map +1 -1
- package/dist/Incentives/PointsIncentive.d.ts +8 -0
- package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
- package/dist/Incentives/PointsIncentive.js +50 -28
- package/dist/Incentives/PointsIncentive.js.map +1 -1
- package/dist/SimpleDenyList-CW4RwwRw.js +133 -0
- package/dist/{SimpleDenyList-ByAr4X1r.js.map → SimpleDenyList-CW4RwwRw.js.map} +1 -1
- package/dist/SimpleDenyList-Cybtz7AK.cjs +2 -0
- package/dist/{SimpleDenyList-CsRXJPwm.cjs.map → SimpleDenyList-Cybtz7AK.cjs.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
- package/dist/Validators/LimitedSignerValidator.js +33 -33
- package/dist/Validators/LimitedSignerValidator.js.map +1 -1
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -1
- package/dist/Validators/SignerValidator.js +26 -26
- package/dist/Validators/SignerValidator.js.map +1 -1
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +3 -3
- package/dist/deployments-CIXw_WKk.cjs +2 -0
- package/dist/deployments-CIXw_WKk.cjs.map +1 -0
- package/dist/{deployments-D0fs26TV.js → deployments-DqjtOTUr.js} +47 -47
- package/dist/{deployments-D0fs26TV.js.map → deployments-DqjtOTUr.js.map} +1 -1
- package/dist/deployments.json +24 -24
- package/dist/generated-DgXPUgXl.cjs +3 -0
- package/dist/generated-DgXPUgXl.cjs.map +1 -0
- package/dist/{generated-Cyvr_Tjx.js → generated-pJZHmRCK.js} +728 -459
- package/dist/generated-pJZHmRCK.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +137 -136
- package/package.json +1 -1
- package/src/Actions/EventAction.ts +108 -27
- package/src/BoostCore.test.ts +124 -2
- package/src/BoostCore.ts +227 -0
- package/src/Incentives/AllowListIncentive.ts +17 -0
- package/src/Incentives/CGDAIncentive.ts +31 -0
- package/src/Incentives/ERC20Incentive.ts +27 -0
- package/src/Incentives/ERC20PeggedIncentive.ts +18 -0
- package/src/Incentives/ERC20PeggedVariableCriteriaIncentive.ts +26 -0
- package/src/Incentives/ERC20VariableIncentive.ts +18 -0
- package/src/Incentives/PointsIncentive.ts +22 -0
- package/dist/Budget-AoNx7uFd.cjs +0 -2
- package/dist/Budget-DYIV9iNK.js +0 -463
- package/dist/Incentive-BbkfwGOb.cjs +0 -2
- package/dist/Incentive-BbkfwGOb.cjs.map +0 -1
- package/dist/Incentive-qlnv5kQB.js +0 -991
- package/dist/Incentive-qlnv5kQB.js.map +0 -1
- package/dist/SimpleDenyList-ByAr4X1r.js +0 -133
- package/dist/SimpleDenyList-CsRXJPwm.cjs +0 -2
- package/dist/deployments-DoIOqxco.cjs +0 -2
- package/dist/deployments-DoIOqxco.cjs.map +0 -1
- package/dist/generated-Cyvr_Tjx.js.map +0 -1
- package/dist/generated-DtYPHhtX.cjs +0 -3
- package/dist/generated-DtYPHhtX.cjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
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 m0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f602c608760201b60201c565b90508054600181161560455763f92ee8a95f526004601cfd5b8160c01c808260011c146082578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b6080516124506100c85f395f61034a01526124505ff3fe608060405260043610610090575f3560e01c80639bc1cf81116100585780639bc1cf811461017d578063c26624e8146101a7578063d7768c47146101e3578063dbdf21101461021f578063ddd6ab081461024957610090565b806301ffc9a71461009457806309c5eabe146100d057806328d6183b14610101578063393df8cb1461012b578063439fab9114610155575b5f80fd5b34801561009f575f80fd5b506100ba60048036038101906100b591906113b2565b610273565b6040516100c791906113f7565b60405180910390f35b6100ea60048036038101906100e59190611471565b6102ec565b6040516100f892919061152c565b60405180910390f35b34801561010c575f80fd5b50610115610321565b6040516101229190611569565b60405180910390f35b348015610136575f80fd5b5061013f610348565b60405161014c91906115fc565b60405180910390f35b348015610160575f80fd5b5061017b60048036038101906101769190611471565b61036c565b005b348015610188575f80fd5b506101916103f9565b60405161019e9190611986565b60405180910390f35b3480156101b2575f80fd5b506101cd60048036038101906101c891906119d0565b610651565b6040516101da9190611a81565b60405180910390f35b3480156101ee575f80fd5b5061020960048036038101906102049190611471565b610887565b6040516102169190611aa1565b60405180910390f35b34801561022a575f80fd5b506102336108bb565b6040516102409190611b27565b60405180910390f35b348015610254575f80fd5b5061025d610993565b60405161026a9190611b4f565b60405180910390f35b5f7f7687b0ed000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806102e557506102e48261099f565b5b9050919050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f7f7687b0ed00000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f610375610a18565b905080546003825580156103a75760018160011c14303b1061039e5763f92ee8a95f526004601cfd5b818160ff1b1b91505b506103bf83838101906103ba9190612077565b610a41565b80156103f4576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610648578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff16600181111561046a57610469611656565b5b600181111561047c5761047b611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff1660078111156105305761052f611656565b5b600781111561054257610541611656565b5b81526020015f820160019054906101000a900460ff16600481111561056a57610569611656565b5b600481111561057c5761057b611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546105b5906120eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105e1906120eb565b801561062c5780601f106106035761010080835404028352916020019161062c565b820191905f5260205f20905b81548152906001019060200180831161060f57829003601f168201915b505050505081525050815250508152602001906001019061041c565b50505050905090565b610659611240565b6004828154811061066d5761066c61211b565b5b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156106b1576106b0611656565b5b60018111156106c3576106c2611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff16600781111561077757610776611656565b5b600781111561078957610788611656565b5b81526020015f820160019054906101000a900460ff1660048111156107b1576107b0611656565b5b60048111156107c3576107c2611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546107fc906120eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610828906120eb565b80156108735780601f1061084a57610100808354040283529160200191610873565b820191905f5260205f20905b81548152906001019060200180831161085657829003601f168201915b505050505081525050815250509050919050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108c36112a5565b5f6040518060a00160405290815f82015f9054906101000a900460ff1660018111156108f2576108f1611656565b5b600181111561090457610903611656565b5b815260200160018201548152602001600282015f9054906101000a900460ff1660ff1660ff1681526020016002820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050905090565b5f600480549050905090565b5f7fe6715795000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a115750610a108261113a565b5b9050919050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b610a496111b3565b805f01515f80820151815f015f6101000a81548160ff02191690836001811115610a7657610a75611656565b5b0217905550602082015181600101556040820151816002015f6101000a81548160ff021916908360ff16021790555060608201518160020160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816003015590505060048160200151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610b5857610b57611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610c0057610bff611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610c2f57610c2e611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610c6f91906122dc565b505050505060048160400151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610cd357610cd2611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610d7b57610d7a611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610daa57610da9611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610dea91906122dc565b505050505060048160600151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610e4e57610e4d611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610ef657610ef5611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610f2557610f24611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610f6591906122dc565b505050505060048160800151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610fc957610fc8611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff0219169083600781111561107157611070611656565b5b02179055506020820151815f0160016101000a81548160ff021916908360048111156110a05761109f611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff16021790555060608201518160010190816110e091906122dc565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161112f9594939291906123ab565b60405180910390a150565b5f7f6ab67a0d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ac57506111ab826111d7565b5b9050919050565b5f6111bc610a18565b905080546001166111d45763d7e6bcf85f526004601cfd5b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6040518060c001604052805f80191681526020015f600181111561126757611266611656565b5b81526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f815260200161129f6112fd565b81525090565b6040518060a001604052805f60018111156112c3576112c2611656565b5b81526020015f80191681526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81525090565b60405180608001604052805f600781111561131b5761131a611656565b5b81526020015f600481111561133357611332611656565b5b81526020015f63ffffffff168152602001606081525090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6113918161135d565b811461139b575f80fd5b50565b5f813590506113ac81611388565b92915050565b5f602082840312156113c7576113c6611355565b5b5f6113d48482850161139e565b91505092915050565b5f8115159050919050565b6113f1816113dd565b82525050565b5f60208201905061140a5f8301846113e8565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261143157611430611410565b5b8235905067ffffffffffffffff81111561144e5761144d611414565b5b60208301915083600182028301111561146a57611469611418565b5b9250929050565b5f806020838503121561148757611486611355565b5b5f83013567ffffffffffffffff8111156114a4576114a3611359565b5b6114b08582860161141c565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114fe826114bc565b61150881856114c6565b93506115188185602086016114d6565b611521816114e4565b840191505092915050565b5f60408201905061153f5f8301856113e8565b818103602083015261155181846114f4565b90509392505050565b6115638161135d565b82525050565b5f60208201905061157c5f83018461155a565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6115c46115bf6115ba84611582565b6115a1565b611582565b9050919050565b5f6115d5826115aa565b9050919050565b5f6115e6826115cb565b9050919050565b6115f6816115dc565b82525050565b5f60208201905061160f5f8301846115ed565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f819050919050565b6116508161163e565b82525050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6002811061169457611693611656565b5b50565b5f8190506116a482611683565b919050565b5f6116b382611697565b9050919050565b6116c3816116a9565b82525050565b5f60ff82169050919050565b6116de816116c9565b82525050565b5f6116ee82611582565b9050919050565b6116fe816116e4565b82525050565b5f819050919050565b61171681611704565b82525050565b6008811061172d5761172c611656565b5b50565b5f81905061173d8261171c565b919050565b5f61174c82611730565b9050919050565b61175c81611742565b82525050565b6005811061177357611772611656565b5b50565b5f81905061178382611762565b919050565b5f61179282611776565b9050919050565b6117a281611788565b82525050565b5f63ffffffff82169050919050565b6117c0816117a8565b82525050565b5f82825260208201905092915050565b5f6117e0826114bc565b6117ea81856117c6565b93506117fa8185602086016114d6565b611803816114e4565b840191505092915050565b5f608083015f8301516118235f860182611753565b5060208301516118366020860182611799565b50604083015161184960408601826117b7565b506060830151848203606086015261186182826117d6565b9150508091505092915050565b5f60c083015f8301516118835f860182611647565b50602083015161189660208601826116ba565b5060408301516118a960408601826116d5565b5060608301516118bc60608601826116f5565b5060808301516118cf608086018261170d565b5060a083015184820360a08601526118e7828261180e565b9150508091505092915050565b5f6118ff838361186e565b905092915050565b5f602082019050919050565b5f61191d82611615565b611927818561161f565b9350836020820285016119398561162f565b805f5b85811015611974578484038952815161195585826118f4565b945061196083611907565b925060208a0199505060018101905061193c565b50829750879550505050505092915050565b5f6020820190508181035f83015261199e8184611913565b905092915050565b6119af81611704565b81146119b9575f80fd5b50565b5f813590506119ca816119a6565b92915050565b5f602082840312156119e5576119e4611355565b5b5f6119f2848285016119bc565b91505092915050565b5f60c083015f830151611a105f860182611647565b506020830151611a2360208601826116ba565b506040830151611a3660408601826116d5565b506060830151611a4960608601826116f5565b506080830151611a5c608086018261170d565b5060a083015184820360a0860152611a74828261180e565b9150508091505092915050565b5f6020820190508181035f830152611a9981846119fb565b905092915050565b5f6020820190508181035f830152611ab981846114f4565b905092915050565b60a082015f820151611ad55f8501826116ba565b506020820151611ae86020850182611647565b506040820151611afb60408501826116d5565b506060820151611b0e60608501826116f5565b506080820151611b21608085018261170d565b50505050565b5f60a082019050611b3a5f830184611ac1565b92915050565b611b4981611704565b82525050565b5f602082019050611b625f830184611b40565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ba2826114e4565b810181811067ffffffffffffffff82111715611bc157611bc0611b6c565b5b80604052505050565b5f611bd361134c565b9050611bdf8282611b99565b919050565b5f80fd5b60028110611bf4575f80fd5b50565b5f81359050611c0581611be8565b92915050565b611c148161163e565b8114611c1e575f80fd5b50565b5f81359050611c2f81611c0b565b92915050565b611c3e816116c9565b8114611c48575f80fd5b50565b5f81359050611c5981611c35565b92915050565b611c68816116e4565b8114611c72575f80fd5b50565b5f81359050611c8381611c5f565b92915050565b5f60a08284031215611c9e57611c9d611b68565b5b611ca860a0611bca565b90505f611cb784828501611bf7565b5f830152506020611cca84828501611c21565b6020830152506040611cde84828501611c4b565b6040830152506060611cf284828501611c75565b6060830152506080611d06848285016119bc565b60808301525092915050565b60088110611d1e575f80fd5b50565b5f81359050611d2f81611d12565b92915050565b60058110611d41575f80fd5b50565b5f81359050611d5281611d35565b92915050565b611d61816117a8565b8114611d6b575f80fd5b50565b5f81359050611d7c81611d58565b92915050565b5f80fd5b5f67ffffffffffffffff821115611da057611d9f611b6c565b5b611da9826114e4565b9050602081019050919050565b828183375f83830152505050565b5f611dd6611dd184611d86565b611bca565b905082815260208101848484011115611df257611df1611d82565b5b611dfd848285611db6565b509392505050565b5f82601f830112611e1957611e18611410565b5b8135611e29848260208601611dc4565b91505092915050565b5f60808284031215611e4757611e46611b68565b5b611e516080611bca565b90505f611e6084828501611d21565b5f830152506020611e7384828501611d44565b6020830152506040611e8784828501611d6e565b604083015250606082013567ffffffffffffffff811115611eab57611eaa611be4565b5b611eb784828501611e05565b60608301525092915050565b5f60c08284031215611ed857611ed7611b68565b5b611ee260c0611bca565b90505f611ef184828501611c21565b5f830152506020611f0484828501611bf7565b6020830152506040611f1884828501611c4b565b6040830152506060611f2c84828501611c75565b6060830152506080611f40848285016119bc565b60808301525060a082013567ffffffffffffffff811115611f6457611f63611be4565b5b611f7084828501611e32565b60a08301525092915050565b5f6101208284031215611f9257611f91611b68565b5b611f9c60a0611bca565b90505f611fab84828501611c89565b5f8301525060a082013567ffffffffffffffff811115611fce57611fcd611be4565b5b611fda84828501611ec3565b60208301525060c082013567ffffffffffffffff811115611ffe57611ffd611be4565b5b61200a84828501611ec3565b60408301525060e082013567ffffffffffffffff81111561202e5761202d611be4565b5b61203a84828501611ec3565b60608301525061010082013567ffffffffffffffff81111561205f5761205e611be4565b5b61206b84828501611ec3565b60808301525092915050565b5f6020828403121561208c5761208b611355565b5b5f82013567ffffffffffffffff8111156120a9576120a8611359565b5b6120b584828501611f7c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061210257607f821691505b602082108103612115576121146120be565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026121a47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612169565b6121ae8683612169565b95508019841693508086168417925050509392505050565b5f6121e06121db6121d684611704565b6115a1565b611704565b9050919050565b5f819050919050565b6121f9836121c6565b61220d612205826121e7565b848454612175565b825550505050565b5f90565b612221612215565b61222c8184846121f0565b505050565b5b8181101561224f576122445f82612219565b600181019050612232565b5050565b601f8211156122945761226581612148565b61226e8461215a565b8101602085101561227d578190505b6122916122898561215a565b830182612231565b50505b505050565b5f82821c905092915050565b5f6122b45f1984600802612299565b1980831691505092915050565b5f6122cc83836122a5565b9150826002028217905092915050565b6122e5826114bc565b67ffffffffffffffff8111156122fe576122fd611b6c565b5b61230882546120eb565b612313828285612253565b5f60209050601f831160018114612344575f8415612332578287015190505b61233c85826122c1565b8655506123a3565b601f19841661235286612148565b5f5b8281101561237957848901518255600182019150602085019450602081019050612354565b868310156123965784890151612392601f8916826122a5565b8355505b6001600288020188555050505b505050505050565b5f610120820190506123bf5f830188611ac1565b81810360a08301526123d181876119fb565b905081810360c08301526123e581866119fb565b905081810360e08301526123f981856119fb565b905081810361010083015261240e81846119fb565b9050969550505050505056fea2646970667358221220c7ff4a150897568d1b0cf381b80c7477adfb1d4a61c0f1dbe23de1a9fd54af2f64736f6c634300081a0033", w0 = {
|
|
1
|
+
import { bL as V, bM as u0, bN as o0, bO as p0, bP as c0 } from "../generated-pJZHmRCK.js";
|
|
2
|
+
import { getTransaction as B, getTransactionReceipt as Q } from "@wagmi/core";
|
|
3
|
+
import { isAddressEqual as N, toEventSelector as j, decodeFunctionData as X, isAddress as z, decodeEventLog as O, zeroHash as E, fromHex as k, encodeAbiParameters as y0, pad as G, zeroAddress as b0, trim as l0 } from "viem";
|
|
4
|
+
import { f as h0 } from "../deployments-DqjtOTUr.js";
|
|
5
|
+
import { DeployableTarget as g0 } from "../Deployable/DeployableTarget.js";
|
|
6
|
+
import { ValidationAbiMissingError as R, FunctionDataDecodeError as K, UnparseableAbiParamError as $, DecodedArgsMalformedError as x0, DecodedArgsError as d0, FieldValueUndefinedError as Y, InvalidTupleDecodingError as T, UnrecognizedFilterTypeError as m0, FieldValueNotComparableError as Z, InvalidNumericalCriteriaError as _, NoEventActionStepsProvidedError as w0, TooManyEventActionStepsProvidedError as A0, InvalidTupleEncodingError as q } from "../errors.js";
|
|
7
|
+
import { RegistryType as T0, CheatCodes as S, TRANSFER_SIGNATURE as M } from "../utils.js";
|
|
8
|
+
const v0 = "0x60a0604052348015600e575f80fd5b5060156019565b6078565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b8160c01c808260011c146073578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c276100905f395f6101510152611c275ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb366004611281565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112c7565b6102cb565b6040516100dc929190611381565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112c7565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc919061149b565b3480156101e5575f80fd5b506101f96101f436600461151c565b61059f565b6040516100dc9190611533565b348015610211575f80fd5b506102256102203660046112c7565b61077a565b6040516100dc9190611545565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115a7565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c582610858565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118a8565b6108ad565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113a3565b6001811115610421576104216113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113a3565b60078111156104a5576104a56113a3565b81528154602090910190610100900460ff1660058111156104c8576104c86113a3565b60058111156104d9576104d96113a3565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119a9565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611226565b600482815481106105ba576105ba6119fa565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113a3565b600181111561060e5761060e6113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113a3565b6007811115610692576106926113a3565b81528154602090910190610100900460ff1660058111156106b5576106b56113a3565b60058111156106c6576106c66113a3565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119a9565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113a3565b600181111561080d5761080d6113a3565b815260018201546020820152600282015460ff81166040830152610100900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611156565b6108b56111ec565b805180515f8054909190829060ff1916600183818111156108d8576108d86113a3565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff00000000000000000000000000000000000000000090911660ff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff19919091169083818111156109e1576109e16113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aa257610aa26113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ae757610ae76113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b3b9082611a72565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bcc57610bcc6113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c8d57610c8d6113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cd257610cd26113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d269082611a72565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610db757610db76113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e7857610e786113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ebd57610ebd6113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f119082611a72565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fa257610fa26113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115611063576110636113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110a8576110a86113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906110fc9082611a72565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161114b959493929190611b89565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546001166112235763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f6020820181905260408201819052606082015260800161127c6040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f60208284031215611291575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112c0575f80fd5b9392505050565b5f80602083850312156112d8575f80fd5b823567ffffffffffffffff8111156112ee575f80fd5b8301601f810185136112fe575f80fd5b803567ffffffffffffffff811115611314575f80fd5b856020828401011115611325575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f61139b6040830184611335565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113e0576113e06113a3565b9052565b805182525f60208201516113fb60208501826113d0565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a0850152805160088110611451576114516113a3565b60c085015260208101516006811061146b5761146b6113a3565b60e0850152604081015163ffffffff1661010085015260600151608061012085015261139b610140850182611335565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015611510577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526114fb8583516113e4565b945060209384019391909101906001016114c1565b50929695505050505050565b5f6020828403121561152c575f80fd5b5035919050565b602081525f6112c060208301846113e4565b602081525f6112c06020830184611335565b6115628282516113d0565b6020810151602083015260ff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611557565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611605576116056115b5565b60405290565b60405160c0810167ffffffffffffffff81118282101715611605576116056115b5565b6040516080810167ffffffffffffffff81118282101715611605576116056115b5565b80356002811061165f575f80fd5b919050565b803560ff8116811461165f575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461165f575f80fd5b5f60a082840312156116a7575f80fd5b6116af6115e2565b90506116ba82611651565b8152602082810135908201526116d260408301611664565b60408201526116e360608301611674565b606082015260809182013591810191909152919050565b5f82601f830112611709575f80fd5b813567ffffffffffffffff811115611723576117236115b5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810167ffffffffffffffff81118282101715611770576117706115b5565b604052818152838201602001851015611787575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60c082840312156117b3575f80fd5b6117bb61160b565b8235815290506117cd60208301611651565b60208201526117de60408301611664565b60408201526117ef60608301611674565b60608201526080828101359082015260a082013567ffffffffffffffff811115611817575f80fd5b820160808185031215611828575f80fd5b61183061162e565b81356008811061183e575f80fd5b8152602082013560068110611851575f80fd5b6020820152604082013563ffffffff8116811461186c575f80fd5b6040820152606082013567ffffffffffffffff81111561188a575f80fd5b611896868285016116fa565b60608301525060a08301525092915050565b5f602082840312156118b8575f80fd5b813567ffffffffffffffff8111156118ce575f80fd5b820161012081850312156118e0575f80fd5b6118e86115e2565b6118f28583611697565b815260a082013567ffffffffffffffff81111561190d575f80fd5b611919868285016117a3565b60208301525060c082013567ffffffffffffffff811115611938575f80fd5b611944868285016117a3565b60408301525060e082013567ffffffffffffffff811115611963575f80fd5b61196f868285016117a3565b60608301525061010082013567ffffffffffffffff81111561198f575f80fd5b61199b868285016117a3565b608083015250949350505050565b600181811c908216806119bd57607f821691505b6020821081036119f4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b81811015611a6b575f8155600101611a58565b5050505050565b815167ffffffffffffffff811115611a8c57611a8c6115b5565b611aa081611a9a84546119a9565b84611a27565b6020601f821160018114611af1575f8315611abb5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611a6b565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b3e5787850151825560209485019460019092019101611b1e565b5084821015611b7a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611b938187611557565b61012060a08201525f611baa6101208301876113e4565b82810360c0840152611bbc81876113e4565b905082810360e0840152611bd081866113e4565b9050828103610100840152611be581856113e4565b9897505050505050505056fea2646970667358221220d56d85089e2c998c805bbe0d4e5ad7257c3cb379f303d0012771ee0f026004f864736f6c634300081a0033", I0 = {
|
|
9
9
|
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
|
|
10
10
|
name: "Transfer",
|
|
11
11
|
type: "event",
|
|
@@ -1380,8 +1380,8 @@ const m0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f
|
|
|
1380
1380
|
}
|
|
1381
1381
|
]
|
|
1382
1382
|
}
|
|
1383
|
-
}, h = Symbol.for("@ts-pattern/matcher"),
|
|
1384
|
-
if (
|
|
1383
|
+
}, h = Symbol.for("@ts-pattern/matcher"), N0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", H = (t) => !!(t && typeof t == "object"), L = (t) => t && !!t[h], l = (t, f, e) => {
|
|
1384
|
+
if (L(t)) {
|
|
1385
1385
|
const n = t[h](), { matched: d, selections: i } = n.match(f);
|
|
1386
1386
|
return d && i && Object.keys(i).forEach((a) => e(a, i[a])), d;
|
|
1387
1387
|
}
|
|
@@ -1392,32 +1392,32 @@ const m0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f
|
|
|
1392
1392
|
let n = [], d = [], i = [];
|
|
1393
1393
|
for (const a of t.keys()) {
|
|
1394
1394
|
const s = t[a];
|
|
1395
|
-
|
|
1395
|
+
L(s) && s[N0] ? i.push(s) : i.length ? d.push(s) : n.push(s);
|
|
1396
1396
|
}
|
|
1397
1397
|
if (i.length) {
|
|
1398
1398
|
if (i.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
|
|
1399
1399
|
if (f.length < n.length + d.length) return !1;
|
|
1400
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((
|
|
1401
|
+
return n.every((p, I) => l(p, a[I], e)) && d.every((p, I) => l(p, s[I], e)) && (i.length === 0 || l(i[0], r, e));
|
|
1402
1402
|
}
|
|
1403
1403
|
return t.length === f.length && t.every((a, s) => l(a, f[s], e));
|
|
1404
1404
|
}
|
|
1405
1405
|
return Reflect.ownKeys(t).every((n) => {
|
|
1406
1406
|
const d = t[n];
|
|
1407
|
-
return (n in f ||
|
|
1407
|
+
return (n in f || L(i = d) && i[h]().matcherType === "optional") && l(d, f[n], e);
|
|
1408
1408
|
var i;
|
|
1409
1409
|
});
|
|
1410
1410
|
}
|
|
1411
1411
|
return Object.is(f, t);
|
|
1412
1412
|
}, A = (t) => {
|
|
1413
1413
|
var f, e, n;
|
|
1414
|
-
return H(t) ?
|
|
1415
|
-
},
|
|
1416
|
-
function
|
|
1417
|
-
return Object.assign(t, { optional: () =>
|
|
1414
|
+
return H(t) ? L(t) ? (f = (e = (n = t[h]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? C(t, A) : C(Object.values(t), A) : [];
|
|
1415
|
+
}, C = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
|
|
1416
|
+
function c(t) {
|
|
1417
|
+
return Object.assign(t, { optional: () => E0(t), and: (f) => o(t, f), or: (f) => S0(t, f), select: (f) => f === void 0 ? J(t) : J(f, t) });
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1420
|
-
return
|
|
1419
|
+
function E0(t) {
|
|
1420
|
+
return c({ [h]: () => ({ match: (f) => {
|
|
1421
1421
|
let e = {};
|
|
1422
1422
|
const n = (d, i) => {
|
|
1423
1423
|
e[d] = i;
|
|
@@ -1425,37 +1425,37 @@ function v0(t) {
|
|
|
1425
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
1426
|
}, getSelectionKeys: () => A(t), matcherType: "optional" }) });
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1429
|
-
return
|
|
1428
|
+
function o(...t) {
|
|
1429
|
+
return c({ [h]: () => ({ match: (f) => {
|
|
1430
1430
|
let e = {};
|
|
1431
1431
|
const n = (d, i) => {
|
|
1432
1432
|
e[d] = i;
|
|
1433
1433
|
};
|
|
1434
1434
|
return { matched: t.every((d) => l(d, f, n)), selections: e };
|
|
1435
|
-
}, getSelectionKeys: () =>
|
|
1435
|
+
}, getSelectionKeys: () => C(t, A), matcherType: "and" }) });
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1438
|
-
return
|
|
1437
|
+
function S0(...t) {
|
|
1438
|
+
return c({ [h]: () => ({ match: (f) => {
|
|
1439
1439
|
let e = {};
|
|
1440
1440
|
const n = (d, i) => {
|
|
1441
1441
|
e[d] = i;
|
|
1442
1442
|
};
|
|
1443
|
-
return
|
|
1444
|
-
}, getSelectionKeys: () =>
|
|
1443
|
+
return C(t, A).forEach((d) => n(d, void 0)), { matched: t.some((d) => l(d, f, n)), selections: e };
|
|
1444
|
+
}, getSelectionKeys: () => C(t, A), matcherType: "or" }) });
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function u(t) {
|
|
1447
1447
|
return { [h]: () => ({ match: (f) => ({ matched: !!t(f) }) }) };
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function J(...t) {
|
|
1450
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];
|
|
1451
|
-
return
|
|
1451
|
+
return c({ [h]: () => ({ match: (n) => {
|
|
1452
1452
|
let d = { [f ?? D]: n };
|
|
1453
1453
|
return { matched: e === void 0 || l(e, n, (i, a) => {
|
|
1454
1454
|
d[i] = a;
|
|
1455
1455
|
}), selections: d };
|
|
1456
1456
|
}, getSelectionKeys: () => [f ?? D].concat(e === void 0 ? [] : A(e)) }) });
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function y(t) {
|
|
1459
1459
|
return typeof t == "number";
|
|
1460
1460
|
}
|
|
1461
1461
|
function g(t) {
|
|
@@ -1464,40 +1464,40 @@ function g(t) {
|
|
|
1464
1464
|
function x(t) {
|
|
1465
1465
|
return typeof t == "bigint";
|
|
1466
1466
|
}
|
|
1467
|
-
|
|
1467
|
+
c(u(function(t) {
|
|
1468
1468
|
return !0;
|
|
1469
1469
|
}));
|
|
1470
|
-
const m = (t) => Object.assign(
|
|
1471
|
-
return m(
|
|
1470
|
+
const m = (t) => Object.assign(c(t), { startsWith: (f) => {
|
|
1471
|
+
return m(o(t, (e = f, u((n) => g(n) && n.startsWith(e)))));
|
|
1472
1472
|
var e;
|
|
1473
1473
|
}, endsWith: (f) => {
|
|
1474
|
-
return m(
|
|
1474
|
+
return m(o(t, (e = f, u((n) => g(n) && n.endsWith(e)))));
|
|
1475
1475
|
var e;
|
|
1476
|
-
}, minLength: (f) => m(
|
|
1477
|
-
return m(
|
|
1476
|
+
}, minLength: (f) => m(o(t, ((e) => u((n) => g(n) && n.length >= e))(f))), length: (f) => m(o(t, ((e) => u((n) => g(n) && n.length === e))(f))), maxLength: (f) => m(o(t, ((e) => u((n) => g(n) && n.length <= e))(f))), includes: (f) => {
|
|
1477
|
+
return m(o(t, (e = f, u((n) => g(n) && n.includes(e)))));
|
|
1478
1478
|
var e;
|
|
1479
1479
|
}, regex: (f) => {
|
|
1480
|
-
return m(
|
|
1480
|
+
return m(o(t, (e = f, u((n) => g(n) && !!n.match(e)))));
|
|
1481
1481
|
var e;
|
|
1482
1482
|
} });
|
|
1483
|
-
m(
|
|
1484
|
-
const
|
|
1485
|
-
|
|
1486
|
-
const w = (t) => Object.assign(
|
|
1487
|
-
w(
|
|
1488
|
-
|
|
1483
|
+
m(u(g));
|
|
1484
|
+
const b = (t) => Object.assign(c(t), { between: (f, e) => b(o(t, ((n, d) => u((i) => y(i) && n <= i && d >= i))(f, e))), lt: (f) => b(o(t, ((e) => u((n) => y(n) && n < e))(f))), gt: (f) => b(o(t, ((e) => u((n) => y(n) && n > e))(f))), lte: (f) => b(o(t, ((e) => u((n) => y(n) && n <= e))(f))), gte: (f) => b(o(t, ((e) => u((n) => y(n) && n >= e))(f))), int: () => b(o(t, u((f) => y(f) && Number.isInteger(f)))), finite: () => b(o(t, u((f) => y(f) && Number.isFinite(f)))), positive: () => b(o(t, u((f) => y(f) && f > 0))), negative: () => b(o(t, u((f) => y(f) && f < 0))) });
|
|
1485
|
+
b(u(y));
|
|
1486
|
+
const w = (t) => Object.assign(c(t), { between: (f, e) => w(o(t, ((n, d) => u((i) => x(i) && n <= i && d >= i))(f, e))), lt: (f) => w(o(t, ((e) => u((n) => x(n) && n < e))(f))), gt: (f) => w(o(t, ((e) => u((n) => x(n) && n > e))(f))), lte: (f) => w(o(t, ((e) => u((n) => x(n) && n <= e))(f))), gte: (f) => w(o(t, ((e) => u((n) => x(n) && n >= e))(f))), positive: () => w(o(t, u((f) => x(f) && f > 0))), negative: () => w(o(t, u((f) => x(f) && f < 0))) });
|
|
1487
|
+
w(u(x));
|
|
1488
|
+
c(u(function(t) {
|
|
1489
1489
|
return typeof t == "boolean";
|
|
1490
1490
|
}));
|
|
1491
|
-
|
|
1491
|
+
c(u(function(t) {
|
|
1492
1492
|
return typeof t == "symbol";
|
|
1493
1493
|
}));
|
|
1494
|
-
|
|
1494
|
+
c(u(function(t) {
|
|
1495
1495
|
return t == null;
|
|
1496
1496
|
}));
|
|
1497
|
-
|
|
1497
|
+
c(u(function(t) {
|
|
1498
1498
|
return t != null;
|
|
1499
1499
|
}));
|
|
1500
|
-
class
|
|
1500
|
+
class C0 extends Error {
|
|
1501
1501
|
constructor(f) {
|
|
1502
1502
|
let e;
|
|
1503
1503
|
try {
|
|
@@ -1508,9 +1508,9 @@ class E0 extends Error {
|
|
|
1508
1508
|
super(`Pattern matching error: no pattern matches value ${e}`), this.input = void 0, this.input = f;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
|
-
const
|
|
1512
|
-
function
|
|
1513
|
-
return new U(t,
|
|
1511
|
+
const F = { matched: !1, value: void 0 };
|
|
1512
|
+
function f0(t) {
|
|
1513
|
+
return new U(t, F);
|
|
1514
1514
|
}
|
|
1515
1515
|
class U {
|
|
1516
1516
|
constructor(f, e) {
|
|
@@ -1522,22 +1522,22 @@ class U {
|
|
|
1522
1522
|
let d;
|
|
1523
1523
|
f.length === 3 && typeof f[1] == "function" ? d = f[1] : f.length > 2 && n.push(...f.slice(1, f.length - 1));
|
|
1524
1524
|
let i = !1, a = {};
|
|
1525
|
-
const s = (
|
|
1526
|
-
i = !0, a[
|
|
1527
|
-
}, r = !n.some((
|
|
1525
|
+
const s = (p, I) => {
|
|
1526
|
+
i = !0, a[p] = I;
|
|
1527
|
+
}, r = !n.some((p) => l(p, this.input, s)) || d && !d(this.input) ? F : { matched: !0, value: e(i ? D in a ? a[D] : a : this.input, this.input) };
|
|
1528
1528
|
return new U(this.input, r);
|
|
1529
1529
|
}
|
|
1530
1530
|
when(f, e) {
|
|
1531
1531
|
if (this.state.matched) return this;
|
|
1532
1532
|
const n = !!f(this.input);
|
|
1533
|
-
return new U(this.input, n ? { matched: !0, value: e(this.input, this.input) } :
|
|
1533
|
+
return new U(this.input, n ? { matched: !0, value: e(this.input, this.input) } : F);
|
|
1534
1534
|
}
|
|
1535
1535
|
otherwise(f) {
|
|
1536
1536
|
return this.state.matched ? this.state.value : f(this.input);
|
|
1537
1537
|
}
|
|
1538
1538
|
exhaustive() {
|
|
1539
1539
|
if (this.state.matched) return this.state.value;
|
|
1540
|
-
throw new
|
|
1540
|
+
throw new C0(this.input);
|
|
1541
1541
|
}
|
|
1542
1542
|
run() {
|
|
1543
1543
|
return this.exhaustive();
|
|
@@ -1546,13 +1546,13 @@ class U {
|
|
|
1546
1546
|
return this;
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1549
|
+
var B0 = /* @__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))(B0 || {}), k0 = /* @__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[t.INT = 5] = "INT", t))(k0 || {}), R0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(R0 || {});
|
|
1550
|
+
function _0(t) {
|
|
1551
1551
|
return Array.isArray(t.actionSteps);
|
|
1552
1552
|
}
|
|
1553
|
-
const W = class W extends
|
|
1553
|
+
const W = class W extends g0 {
|
|
1554
1554
|
constructor() {
|
|
1555
|
-
super(...arguments), this.abi =
|
|
1555
|
+
super(...arguments), this.abi = V;
|
|
1556
1556
|
}
|
|
1557
1557
|
/**
|
|
1558
1558
|
* Gets a specific action event by index
|
|
@@ -1575,13 +1575,13 @@ const W = class W extends c0 {
|
|
|
1575
1575
|
* @returns {Promise<ActionStep[]>}
|
|
1576
1576
|
*/
|
|
1577
1577
|
async getActionSteps(f) {
|
|
1578
|
-
const e = await
|
|
1578
|
+
const e = await u0(this._config, {
|
|
1579
1579
|
address: this.assertValidAddress(),
|
|
1580
1580
|
...this.optionallyAttachAccount(),
|
|
1581
1581
|
// biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
|
|
1582
1582
|
...f
|
|
1583
1583
|
});
|
|
1584
|
-
return
|
|
1584
|
+
return L0(e.map(t0));
|
|
1585
1585
|
}
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Gets the count of action events
|
|
@@ -1603,12 +1603,12 @@ const W = class W extends c0 {
|
|
|
1603
1603
|
* @returns {Promise<ActionClaimant>}
|
|
1604
1604
|
*/
|
|
1605
1605
|
async getActionClaimant(f) {
|
|
1606
|
-
const e = await
|
|
1606
|
+
const e = await o0(this._config, {
|
|
1607
1607
|
address: this.assertValidAddress(),
|
|
1608
1608
|
...this.optionallyAttachAccount(),
|
|
1609
1609
|
...f
|
|
1610
1610
|
});
|
|
1611
|
-
return
|
|
1611
|
+
return t0(e);
|
|
1612
1612
|
}
|
|
1613
1613
|
/**
|
|
1614
1614
|
* Executes a prepared event action
|
|
@@ -1632,14 +1632,14 @@ const W = class W extends c0 {
|
|
|
1632
1632
|
* @returns {Promise<{ hash: `0x${string}`; result: readonly [boolean, `0x${string}`]; }>}
|
|
1633
1633
|
*/
|
|
1634
1634
|
async executeRaw(f, e) {
|
|
1635
|
-
const { request: n, result: d } = await
|
|
1635
|
+
const { request: n, result: d } = await p0(this._config, {
|
|
1636
1636
|
address: this.assertValidAddress(),
|
|
1637
1637
|
...this.optionallyAttachAccount(),
|
|
1638
1638
|
// biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
|
|
1639
1639
|
...e,
|
|
1640
1640
|
args: [f]
|
|
1641
1641
|
});
|
|
1642
|
-
return { hash: await
|
|
1642
|
+
return { hash: await c0(this._config, n), result: d };
|
|
1643
1643
|
}
|
|
1644
1644
|
/**
|
|
1645
1645
|
* Derives the action claimant address from a transaction based on the provided ActionClaimant configuration.
|
|
@@ -1676,9 +1676,9 @@ const W = class W extends c0 {
|
|
|
1676
1676
|
* @throws {FunctionDataDecodeError} If there's an error decoding function data (for function-based derivation).
|
|
1677
1677
|
*/
|
|
1678
1678
|
async deriveActionClaimantFromTransaction(f, e) {
|
|
1679
|
-
if (f.fieldIndex ===
|
|
1679
|
+
if (f.fieldIndex === S.TX_SENDER_CLAIMANT) {
|
|
1680
1680
|
if ("hash" in e) {
|
|
1681
|
-
const d = await
|
|
1681
|
+
const d = await B(this._config, {
|
|
1682
1682
|
...e,
|
|
1683
1683
|
chainId: f.chainid
|
|
1684
1684
|
});
|
|
@@ -1687,7 +1687,7 @@ const W = class W extends c0 {
|
|
|
1687
1687
|
if ("logs" in e) {
|
|
1688
1688
|
for (let d of e.logs)
|
|
1689
1689
|
if (d.transactionHash) {
|
|
1690
|
-
const i = await
|
|
1690
|
+
const i = await B(this._config, {
|
|
1691
1691
|
...e,
|
|
1692
1692
|
hash: d.transactionHash,
|
|
1693
1693
|
chainId: f.chainid
|
|
@@ -1701,46 +1701,46 @@ const W = class W extends c0 {
|
|
|
1701
1701
|
if (f.signatureType === 0) {
|
|
1702
1702
|
let d;
|
|
1703
1703
|
if (e.abiItem ? d = e.abiItem : d = e.knownSignatures[n], !d)
|
|
1704
|
-
throw new
|
|
1704
|
+
throw new R(n);
|
|
1705
1705
|
let i;
|
|
1706
1706
|
if ("logs" in e) {
|
|
1707
1707
|
for (let r of e.logs) {
|
|
1708
1708
|
if (!N(r.address, f.targetContract)) continue;
|
|
1709
|
-
let
|
|
1709
|
+
let p = this.validateClaimantAgainstArgs(
|
|
1710
1710
|
f,
|
|
1711
1711
|
r
|
|
1712
1712
|
);
|
|
1713
|
-
|
|
1713
|
+
p && (i = p);
|
|
1714
1714
|
}
|
|
1715
1715
|
return i;
|
|
1716
1716
|
}
|
|
1717
|
-
const a = await
|
|
1717
|
+
const a = await Q(this._config, {
|
|
1718
1718
|
...e,
|
|
1719
1719
|
chainId: f.chainid
|
|
1720
1720
|
});
|
|
1721
1721
|
if (e.notBeforeBlockNumber && a.blockNumber < e.notBeforeBlockNumber)
|
|
1722
1722
|
return;
|
|
1723
1723
|
let s;
|
|
1724
|
-
n === M ? { decodedLogs: s } = await this.decodeTransferLogs(a) : s = a.logs.filter((r) => r.topics[0] ===
|
|
1724
|
+
n === M ? { decodedLogs: s } = await this.decodeTransferLogs(a) : s = a.logs.filter((r) => r.topics[0] === j(d)).map((r) => n0(d, r));
|
|
1725
1725
|
for (let r of s) {
|
|
1726
1726
|
if (!N(r.address, f.targetContract)) continue;
|
|
1727
|
-
let
|
|
1728
|
-
|
|
1727
|
+
let p = this.validateClaimantAgainstArgs(f, r);
|
|
1728
|
+
p && (i = p);
|
|
1729
1729
|
}
|
|
1730
1730
|
return i;
|
|
1731
1731
|
}
|
|
1732
1732
|
if (f.signatureType === 1 && "hash" in e) {
|
|
1733
|
-
const d = await
|
|
1733
|
+
const d = await B(this._config, {
|
|
1734
1734
|
...e,
|
|
1735
1735
|
chainId: f.chainid
|
|
1736
1736
|
});
|
|
1737
1737
|
if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !N(d.to, f.targetContract)) return;
|
|
1738
1738
|
let i;
|
|
1739
1739
|
if (e.abiItem ? i = e.abiItem : i = e.knownSignatures[n], !i)
|
|
1740
|
-
throw new
|
|
1740
|
+
throw new R(f.signature);
|
|
1741
1741
|
let a;
|
|
1742
1742
|
try {
|
|
1743
|
-
a =
|
|
1743
|
+
a = X({
|
|
1744
1744
|
abi: [i],
|
|
1745
1745
|
data: d.input
|
|
1746
1746
|
});
|
|
@@ -1762,7 +1762,7 @@ const W = class W extends c0 {
|
|
|
1762
1762
|
if (!e || !Array.isArray(e == null ? void 0 : e.args) || (e == null ? void 0 : e.args.length) <= f.fieldIndex)
|
|
1763
1763
|
return;
|
|
1764
1764
|
const n = e.args.at(f.fieldIndex);
|
|
1765
|
-
if (
|
|
1765
|
+
if (z(n)) return n;
|
|
1766
1766
|
}
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Retrieves action steps, and uses them to validate against, and optionally fetch logs that match the step's signature.
|
|
@@ -1796,7 +1796,7 @@ const W = class W extends c0 {
|
|
|
1796
1796
|
const n = f.signature;
|
|
1797
1797
|
let d;
|
|
1798
1798
|
if (e.abiItem ? d = e.abiItem : d = e.knownSignatures[n], !d)
|
|
1799
|
-
throw new
|
|
1799
|
+
throw new R(n);
|
|
1800
1800
|
if (this.isArraylikeIndexed(f, d))
|
|
1801
1801
|
throw new $(
|
|
1802
1802
|
f.actionParameter.fieldIndex,
|
|
@@ -1804,7 +1804,7 @@ const W = class W extends c0 {
|
|
|
1804
1804
|
);
|
|
1805
1805
|
if ("logs" in e)
|
|
1806
1806
|
return this.isActionEventValid(f, e.logs, d);
|
|
1807
|
-
const i = await
|
|
1807
|
+
const i = await Q(this._config, {
|
|
1808
1808
|
...e,
|
|
1809
1809
|
chainId: f.chainid
|
|
1810
1810
|
});
|
|
@@ -1814,11 +1814,11 @@ const W = class W extends c0 {
|
|
|
1814
1814
|
const { decodedLogs: s, event: r } = await this.decodeTransferLogs(i);
|
|
1815
1815
|
return this.isActionEventValid(f, s, r);
|
|
1816
1816
|
}
|
|
1817
|
-
const a = i.logs.filter((s) => s.topics[0] ===
|
|
1817
|
+
const a = i.logs.filter((s) => s.topics[0] === j(d)).map((s) => n0(d, s));
|
|
1818
1818
|
return this.isActionEventValid(f, a, d);
|
|
1819
1819
|
}
|
|
1820
1820
|
if (f.signatureType === 1 && "hash" in e) {
|
|
1821
|
-
const n = await
|
|
1821
|
+
const n = await B(this._config, {
|
|
1822
1822
|
...e,
|
|
1823
1823
|
chainId: f.chainid
|
|
1824
1824
|
});
|
|
@@ -1841,7 +1841,7 @@ const W = class W extends c0 {
|
|
|
1841
1841
|
for (let i of e)
|
|
1842
1842
|
try {
|
|
1843
1843
|
if (!Array.isArray(i.args))
|
|
1844
|
-
throw new
|
|
1844
|
+
throw new x0({
|
|
1845
1845
|
log: i,
|
|
1846
1846
|
criteria: d,
|
|
1847
1847
|
fieldValue: void 0
|
|
@@ -1877,7 +1877,9 @@ const W = class W extends c0 {
|
|
|
1877
1877
|
async decodeTransferLogs(f) {
|
|
1878
1878
|
const e = f.logs.filter(
|
|
1879
1879
|
(d) => d.topics[0] === M
|
|
1880
|
-
), n =
|
|
1880
|
+
), n = structuredClone(
|
|
1881
|
+
I0["Transfer(address indexed,address indexed,uint256 indexed)"]
|
|
1882
|
+
);
|
|
1881
1883
|
try {
|
|
1882
1884
|
return {
|
|
1883
1885
|
decodedLogs: e.map((i) => {
|
|
@@ -1904,7 +1906,7 @@ const W = class W extends c0 {
|
|
|
1904
1906
|
event: n
|
|
1905
1907
|
};
|
|
1906
1908
|
} catch {
|
|
1907
|
-
throw new
|
|
1909
|
+
throw new d0("Failed to decode transfer logs");
|
|
1908
1910
|
}
|
|
1909
1911
|
}
|
|
1910
1912
|
}
|
|
@@ -1921,41 +1923,41 @@ const W = class W extends c0 {
|
|
|
1921
1923
|
* @returns {{ value: string | bigint | Hex; type: Exclude<PrimitiveType, PrimitiveType.TUPLE> }}
|
|
1922
1924
|
*/
|
|
1923
1925
|
parseFieldFromAbi(f, e, n, d) {
|
|
1924
|
-
if (e ===
|
|
1926
|
+
if (e === S.ANY_ACTION_PARAM)
|
|
1925
1927
|
return {
|
|
1926
|
-
value:
|
|
1928
|
+
value: E,
|
|
1927
1929
|
type: 2
|
|
1928
1930
|
/* BYTES */
|
|
1929
1931
|
};
|
|
1930
1932
|
if (d !== 4) {
|
|
1931
1933
|
if (!Array.isArray(f) || e >= f.length)
|
|
1932
|
-
throw new
|
|
1934
|
+
throw new Y({
|
|
1933
1935
|
fieldValue: f,
|
|
1934
1936
|
criteria: {
|
|
1935
1937
|
filterType: 0,
|
|
1936
1938
|
fieldType: d,
|
|
1937
1939
|
fieldIndex: e,
|
|
1938
|
-
filterData:
|
|
1940
|
+
filterData: E
|
|
1939
1941
|
}
|
|
1940
1942
|
});
|
|
1941
1943
|
const a = n[e];
|
|
1942
1944
|
if (!a || !a.type)
|
|
1943
1945
|
throw new $(e, a);
|
|
1944
|
-
const s = f[e], r =
|
|
1945
|
-
if (r === 1 && (typeof s != "string" || !
|
|
1946
|
-
throw new
|
|
1946
|
+
const s = f[e], r = a0(a.type);
|
|
1947
|
+
if (r === 1 && (typeof s != "string" || !z(s)))
|
|
1948
|
+
throw new Y({
|
|
1947
1949
|
fieldValue: s,
|
|
1948
1950
|
criteria: {
|
|
1949
1951
|
fieldIndex: e,
|
|
1950
1952
|
filterType: 0,
|
|
1951
1953
|
fieldType: r,
|
|
1952
|
-
filterData:
|
|
1954
|
+
filterData: E
|
|
1953
1955
|
}
|
|
1954
1956
|
});
|
|
1955
1957
|
return { value: s, type: r };
|
|
1956
1958
|
}
|
|
1957
|
-
const i =
|
|
1958
|
-
return
|
|
1959
|
+
const i = W0(e);
|
|
1960
|
+
return i0(f, i, n);
|
|
1959
1961
|
}
|
|
1960
1962
|
/**
|
|
1961
1963
|
* Validates a single action function with a given criteria against the transaction input.
|
|
@@ -1974,10 +1976,10 @@ const W = class W extends c0 {
|
|
|
1974
1976
|
const d = f.actionParameter, i = f.signature;
|
|
1975
1977
|
let a;
|
|
1976
1978
|
if (n.abiItem ? a = n.abiItem : a = n.knownSignatures[i], !a)
|
|
1977
|
-
throw new
|
|
1979
|
+
throw new R(i);
|
|
1978
1980
|
let s;
|
|
1979
1981
|
try {
|
|
1980
|
-
s =
|
|
1982
|
+
s = X({
|
|
1981
1983
|
abi: [a],
|
|
1982
1984
|
data: e.input
|
|
1983
1985
|
});
|
|
@@ -1987,13 +1989,13 @@ const W = class W extends c0 {
|
|
|
1987
1989
|
if (!(s != null && s.args))
|
|
1988
1990
|
return !1;
|
|
1989
1991
|
try {
|
|
1990
|
-
const { value: r, type:
|
|
1992
|
+
const { value: r, type: p } = this.parseFieldFromAbi(
|
|
1991
1993
|
s.args,
|
|
1992
1994
|
d.fieldIndex,
|
|
1993
1995
|
a.inputs || [],
|
|
1994
1996
|
d.fieldType
|
|
1995
1997
|
);
|
|
1996
|
-
return d.fieldType =
|
|
1998
|
+
return d.fieldType = p, this.validateFieldAgainstCriteria(d, r, {
|
|
1997
1999
|
decodedArgs: s.args
|
|
1998
2000
|
});
|
|
1999
2001
|
} catch {
|
|
@@ -2013,16 +2015,16 @@ const W = class W extends c0 {
|
|
|
2013
2015
|
* @returns {boolean} - Returns true if the field passes the criteria, false otherwise.
|
|
2014
2016
|
*/
|
|
2015
2017
|
validateFieldAgainstCriteria(f, e, n) {
|
|
2016
|
-
if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex ===
|
|
2018
|
+
if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === S.ANY_ACTION_PARAM)
|
|
2017
2019
|
return !0;
|
|
2018
2020
|
if (f.fieldType === 4)
|
|
2019
|
-
throw new
|
|
2021
|
+
throw new T(
|
|
2020
2022
|
"Tuples should not be passed into validateFieldAgainstCriteria"
|
|
2021
2023
|
);
|
|
2022
2024
|
const d = f.fieldType;
|
|
2023
2025
|
switch (f.filterType) {
|
|
2024
2026
|
case 0:
|
|
2025
|
-
return
|
|
2027
|
+
return f0(d).with(
|
|
2026
2028
|
1,
|
|
2027
2029
|
() => N(f.filterData, e)
|
|
2028
2030
|
).with(
|
|
@@ -2030,47 +2032,50 @@ const W = class W extends c0 {
|
|
|
2030
2032
|
() => BigInt(e) === BigInt(f.filterData)
|
|
2031
2033
|
).with(
|
|
2032
2034
|
3,
|
|
2033
|
-
() => e ===
|
|
2035
|
+
() => e === k(f.filterData, "string")
|
|
2034
2036
|
).otherwise(() => e === f.filterData);
|
|
2035
2037
|
case 1:
|
|
2036
|
-
return
|
|
2038
|
+
return f0(d).with(
|
|
2037
2039
|
1,
|
|
2038
2040
|
() => !N(f.filterData, e)
|
|
2039
2041
|
).with(
|
|
2040
2042
|
0,
|
|
2041
2043
|
() => BigInt(e) !== BigInt(f.filterData)
|
|
2044
|
+
).with(
|
|
2045
|
+
5,
|
|
2046
|
+
() => BigInt(e) !== BigInt(f.filterData)
|
|
2042
2047
|
).with(
|
|
2043
2048
|
3,
|
|
2044
|
-
() => e !==
|
|
2049
|
+
() => e !== k(f.filterData, "string")
|
|
2045
2050
|
).otherwise(() => e !== f.filterData);
|
|
2046
2051
|
case 2:
|
|
2047
|
-
if (d === 0)
|
|
2052
|
+
if (d === 0 || d === 5)
|
|
2048
2053
|
return BigInt(e) > BigInt(f.filterData);
|
|
2049
|
-
throw new
|
|
2054
|
+
throw new _({
|
|
2050
2055
|
...n,
|
|
2051
2056
|
criteria: f,
|
|
2052
2057
|
fieldValue: e
|
|
2053
2058
|
});
|
|
2054
2059
|
case 6:
|
|
2055
|
-
if (d === 0)
|
|
2060
|
+
if (d === 0 || d === 5)
|
|
2056
2061
|
return BigInt(e) >= BigInt(f.filterData);
|
|
2057
|
-
throw new
|
|
2062
|
+
throw new _({
|
|
2058
2063
|
...n,
|
|
2059
2064
|
criteria: f,
|
|
2060
2065
|
fieldValue: e
|
|
2061
2066
|
});
|
|
2062
2067
|
case 3:
|
|
2063
|
-
if (d === 0)
|
|
2068
|
+
if (d === 0 || d === 5)
|
|
2064
2069
|
return BigInt(e) < BigInt(f.filterData);
|
|
2065
|
-
throw new
|
|
2070
|
+
throw new _({
|
|
2066
2071
|
...n,
|
|
2067
2072
|
criteria: f,
|
|
2068
2073
|
fieldValue: e
|
|
2069
2074
|
});
|
|
2070
2075
|
case 7:
|
|
2071
|
-
if (d === 0)
|
|
2076
|
+
if (d === 0 || d === 5)
|
|
2072
2077
|
return BigInt(e) <= BigInt(f.filterData);
|
|
2073
|
-
throw new
|
|
2078
|
+
throw new _({
|
|
2074
2079
|
...n,
|
|
2075
2080
|
criteria: f,
|
|
2076
2081
|
fieldValue: e
|
|
@@ -2078,26 +2083,26 @@ const W = class W extends c0 {
|
|
|
2078
2083
|
case 4:
|
|
2079
2084
|
if (d === 2 || d === 3) {
|
|
2080
2085
|
let i;
|
|
2081
|
-
return d === 3 ? i =
|
|
2086
|
+
return d === 3 ? i = k(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
|
|
2082
2087
|
}
|
|
2083
|
-
throw new
|
|
2088
|
+
throw new Z({
|
|
2084
2089
|
...n,
|
|
2085
2090
|
criteria: f,
|
|
2086
2091
|
fieldValue: e
|
|
2087
2092
|
});
|
|
2088
2093
|
case 5:
|
|
2089
2094
|
if (typeof e != "string")
|
|
2090
|
-
throw new
|
|
2095
|
+
throw new Z({
|
|
2091
2096
|
...n,
|
|
2092
2097
|
criteria: f,
|
|
2093
2098
|
fieldValue: e
|
|
2094
2099
|
});
|
|
2095
2100
|
if (d === 3) {
|
|
2096
|
-
const i =
|
|
2101
|
+
const i = k(f.filterData, "string");
|
|
2097
2102
|
return new RegExp(i).test(e);
|
|
2098
2103
|
}
|
|
2099
2104
|
default:
|
|
2100
|
-
throw new
|
|
2105
|
+
throw new m0({
|
|
2101
2106
|
...n,
|
|
2102
2107
|
criteria: f,
|
|
2103
2108
|
fieldValue: e
|
|
@@ -2118,13 +2123,13 @@ const W = class W extends c0 {
|
|
|
2118
2123
|
e
|
|
2119
2124
|
);
|
|
2120
2125
|
let i;
|
|
2121
|
-
if (
|
|
2126
|
+
if (_0(n)) {
|
|
2122
2127
|
let a = n.actionSteps.filter((r) => !!r);
|
|
2123
2128
|
if (a.length === 0)
|
|
2124
|
-
throw new
|
|
2129
|
+
throw new w0();
|
|
2125
2130
|
if (a.length > 4)
|
|
2126
|
-
throw new
|
|
2127
|
-
let s = Array.from({ length: 4 }, (r,
|
|
2131
|
+
throw new A0();
|
|
2132
|
+
let s = Array.from({ length: 4 }, (r, p) => a.at(p) || a.at(-1));
|
|
2128
2133
|
i = {
|
|
2129
2134
|
actionClaimant: n.actionClaimant,
|
|
2130
2135
|
actionStepOne: s[0],
|
|
@@ -2135,9 +2140,9 @@ const W = class W extends c0 {
|
|
|
2135
2140
|
} else
|
|
2136
2141
|
i = n;
|
|
2137
2142
|
return {
|
|
2138
|
-
abi:
|
|
2139
|
-
bytecode:
|
|
2140
|
-
args: [
|
|
2143
|
+
abi: V,
|
|
2144
|
+
bytecode: v0,
|
|
2145
|
+
args: [U0(i)],
|
|
2141
2146
|
...this.optionallyAttachAccount(d.account)
|
|
2142
2147
|
};
|
|
2143
2148
|
}
|
|
@@ -2157,50 +2162,52 @@ const W = class W extends c0 {
|
|
|
2157
2162
|
};
|
|
2158
2163
|
W.bases = {
|
|
2159
2164
|
31337: void 0,
|
|
2160
|
-
...
|
|
2161
|
-
}, W.registryType =
|
|
2162
|
-
let
|
|
2163
|
-
function
|
|
2165
|
+
...h0
|
|
2166
|
+
}, W.registryType = T0.ACTION;
|
|
2167
|
+
let e0 = W;
|
|
2168
|
+
function P0(t) {
|
|
2164
2169
|
return t.type === "tuple" || t.type.startsWith("tuple[");
|
|
2165
2170
|
}
|
|
2166
|
-
function
|
|
2171
|
+
function i0(t, f, e) {
|
|
2167
2172
|
if (!f.length)
|
|
2168
|
-
throw new
|
|
2173
|
+
throw new T(
|
|
2169
2174
|
"No indexes found; cannot parse TUPLE field"
|
|
2170
2175
|
);
|
|
2171
2176
|
const n = f[0] ?? e.length + 1;
|
|
2172
2177
|
if (n >= e.length)
|
|
2173
|
-
throw new
|
|
2178
|
+
throw new T(void 0, n);
|
|
2174
2179
|
const d = e[n], i = t[n];
|
|
2175
|
-
if (!
|
|
2176
|
-
const r =
|
|
2180
|
+
if (!P0(d)) {
|
|
2181
|
+
const r = a0(d.type);
|
|
2177
2182
|
return { value: i, type: r };
|
|
2178
2183
|
}
|
|
2179
2184
|
if (!Array.isArray(i))
|
|
2180
|
-
throw new
|
|
2185
|
+
throw new T(
|
|
2181
2186
|
"rawValue is not an array, but param.type is tuple"
|
|
2182
2187
|
);
|
|
2183
2188
|
const a = f.slice(1);
|
|
2184
2189
|
if (!a.length)
|
|
2185
|
-
throw new
|
|
2190
|
+
throw new T(void 0, -1);
|
|
2186
2191
|
const s = a[0] ?? d.components.length + 1;
|
|
2187
2192
|
if (s >= d.components.length)
|
|
2188
|
-
throw new
|
|
2189
|
-
return
|
|
2193
|
+
throw new T(void 0, s);
|
|
2194
|
+
return i0(i, a, d.components);
|
|
2190
2195
|
}
|
|
2191
|
-
function
|
|
2196
|
+
function a0(t) {
|
|
2192
2197
|
const f = t.toLowerCase();
|
|
2193
|
-
if (f.startsWith("uint")
|
|
2198
|
+
if (f.startsWith("uint"))
|
|
2194
2199
|
return 0;
|
|
2200
|
+
if (f.startsWith("int"))
|
|
2201
|
+
return 5;
|
|
2195
2202
|
if (f === "address")
|
|
2196
2203
|
return 1;
|
|
2197
2204
|
if (f === "bytes" || f.startsWith("bytes"))
|
|
2198
2205
|
return 2;
|
|
2199
2206
|
if (f === "string")
|
|
2200
2207
|
return 3;
|
|
2201
|
-
throw new
|
|
2208
|
+
throw new d0(`Unrecognized ABI type: ${t}`);
|
|
2202
2209
|
}
|
|
2203
|
-
function
|
|
2210
|
+
function L0(t) {
|
|
2204
2211
|
const f = [], e = {};
|
|
2205
2212
|
for (let n of t) {
|
|
2206
2213
|
const d = JSON.stringify(n);
|
|
@@ -2208,13 +2215,13 @@ function k0(t) {
|
|
|
2208
2215
|
}
|
|
2209
2216
|
return f;
|
|
2210
2217
|
}
|
|
2211
|
-
function
|
|
2218
|
+
function s0(t) {
|
|
2212
2219
|
return {
|
|
2213
2220
|
...t,
|
|
2214
2221
|
chainid: BigInt(t.chainid)
|
|
2215
2222
|
};
|
|
2216
2223
|
}
|
|
2217
|
-
function
|
|
2224
|
+
function t0(t) {
|
|
2218
2225
|
if (t.chainid > BigInt(Number.MAX_SAFE_INTEGER))
|
|
2219
2226
|
throw new Error("Chain ID exceeds max safe integer");
|
|
2220
2227
|
return {
|
|
@@ -2222,14 +2229,37 @@ function e0(t) {
|
|
|
2222
2229
|
chainid: Number(t.chainid)
|
|
2223
2230
|
};
|
|
2224
2231
|
}
|
|
2225
|
-
function
|
|
2232
|
+
function r0(t) {
|
|
2233
|
+
const f = t.slice(2);
|
|
2234
|
+
if (f.length === 8)
|
|
2235
|
+
return 1;
|
|
2236
|
+
if (f.length === 64)
|
|
2237
|
+
return f.slice(0, 56) === "0".repeat(56) ? 1 : 0;
|
|
2238
|
+
throw new Error("Invalid signature format");
|
|
2239
|
+
}
|
|
2240
|
+
function D0(t) {
|
|
2241
|
+
return l0(G(t));
|
|
2242
|
+
}
|
|
2243
|
+
function P(t) {
|
|
2244
|
+
return {
|
|
2245
|
+
...s0(t),
|
|
2246
|
+
signatureType: t.signatureType ?? r0(t.signature),
|
|
2247
|
+
signature: G(t.signature),
|
|
2248
|
+
actionType: t.actionType || 0,
|
|
2249
|
+
actionParameter: t.actionParameter.fieldType === 0 ? {
|
|
2250
|
+
...t.actionParameter,
|
|
2251
|
+
filterData: D0(t.actionParameter.filterData)
|
|
2252
|
+
} : t.actionParameter
|
|
2253
|
+
};
|
|
2254
|
+
}
|
|
2255
|
+
function U0({
|
|
2226
2256
|
actionClaimant: t,
|
|
2227
2257
|
actionStepOne: f,
|
|
2228
2258
|
actionStepTwo: e,
|
|
2229
2259
|
actionStepThree: n,
|
|
2230
2260
|
actionStepFour: d
|
|
2231
2261
|
}) {
|
|
2232
|
-
return
|
|
2262
|
+
return y0(
|
|
2233
2263
|
[
|
|
2234
2264
|
{
|
|
2235
2265
|
type: "tuple",
|
|
@@ -2335,67 +2365,59 @@ function R0({
|
|
|
2335
2365
|
],
|
|
2336
2366
|
[
|
|
2337
2367
|
{
|
|
2338
|
-
actionClaimant:
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2368
|
+
actionClaimant: {
|
|
2369
|
+
...s0(t),
|
|
2370
|
+
signatureType: t.signatureType ?? r0(t.signature),
|
|
2371
|
+
signature: G(t.signature)
|
|
2342
2372
|
},
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
actionStepThree: {
|
|
2348
|
-
...I(n),
|
|
2349
|
-
actionType: n.actionType || 0
|
|
2350
|
-
},
|
|
2351
|
-
actionStepFour: {
|
|
2352
|
-
...I(d),
|
|
2353
|
-
actionType: d.actionType || 0
|
|
2354
|
-
}
|
|
2373
|
+
actionStepOne: P(f),
|
|
2374
|
+
actionStepTwo: P(e),
|
|
2375
|
+
actionStepThree: P(n),
|
|
2376
|
+
actionStepFour: P(d)
|
|
2355
2377
|
}
|
|
2356
2378
|
]
|
|
2357
2379
|
);
|
|
2358
2380
|
}
|
|
2359
|
-
function
|
|
2381
|
+
function j0() {
|
|
2360
2382
|
return {
|
|
2361
2383
|
filterType: 0,
|
|
2362
2384
|
fieldType: 2,
|
|
2363
|
-
fieldIndex:
|
|
2364
|
-
filterData:
|
|
2385
|
+
fieldIndex: S.ANY_ACTION_PARAM,
|
|
2386
|
+
filterData: E
|
|
2365
2387
|
};
|
|
2366
2388
|
}
|
|
2367
|
-
function
|
|
2389
|
+
function X0(t) {
|
|
2368
2390
|
return {
|
|
2369
2391
|
signatureType: 0,
|
|
2370
|
-
signature:
|
|
2371
|
-
fieldIndex:
|
|
2372
|
-
targetContract:
|
|
2392
|
+
signature: E,
|
|
2393
|
+
fieldIndex: S.TX_SENDER_CLAIMANT,
|
|
2394
|
+
targetContract: b0,
|
|
2373
2395
|
chainid: t
|
|
2374
2396
|
};
|
|
2375
2397
|
}
|
|
2376
|
-
const
|
|
2377
|
-
function
|
|
2398
|
+
const v = 63;
|
|
2399
|
+
function z0(t) {
|
|
2378
2400
|
if (t.length > 5)
|
|
2379
|
-
throw new
|
|
2401
|
+
throw new q("Can only pack up to 5 indexes.");
|
|
2380
2402
|
let f = 0;
|
|
2381
2403
|
return t.forEach((e, n) => {
|
|
2382
|
-
if (e >
|
|
2383
|
-
throw new
|
|
2384
|
-
`Index ${e} exceeds the maximum allowed value (${
|
|
2404
|
+
if (e > v)
|
|
2405
|
+
throw new q(
|
|
2406
|
+
`Index ${e} exceeds the maximum allowed value (${v}).`
|
|
2385
2407
|
);
|
|
2386
|
-
f |= (e &
|
|
2387
|
-
}), t.length < 5 && (f |=
|
|
2408
|
+
f |= (e & v) << n * 6;
|
|
2409
|
+
}), t.length < 5 && (f |= v << t.length * 6), f;
|
|
2388
2410
|
}
|
|
2389
|
-
function
|
|
2411
|
+
function W0(t) {
|
|
2390
2412
|
const f = [];
|
|
2391
2413
|
for (let e = 0; e < 5; e++) {
|
|
2392
|
-
const n = t >> e * 6 &
|
|
2393
|
-
if (n ===
|
|
2414
|
+
const n = t >> e * 6 & v;
|
|
2415
|
+
if (n === v) break;
|
|
2394
2416
|
f.push(n);
|
|
2395
2417
|
}
|
|
2396
2418
|
return f;
|
|
2397
2419
|
}
|
|
2398
|
-
function
|
|
2420
|
+
function n0(t, f) {
|
|
2399
2421
|
const e = O({
|
|
2400
2422
|
abi: [t],
|
|
2401
2423
|
data: f.data,
|
|
@@ -2422,16 +2444,17 @@ function t0(t, f) {
|
|
|
2422
2444
|
};
|
|
2423
2445
|
}
|
|
2424
2446
|
export {
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2447
|
+
e0 as EventAction,
|
|
2448
|
+
B0 as FilterType,
|
|
2449
|
+
k0 as PrimitiveType,
|
|
2450
|
+
R0 as SignatureType,
|
|
2451
|
+
j0 as anyActionParameter,
|
|
2452
|
+
n0 as decodeAndReorderLogArgs,
|
|
2453
|
+
r0 as detectSignatureType,
|
|
2454
|
+
_0 as isEventActionPayloadSimple,
|
|
2455
|
+
z0 as packFieldIndexes,
|
|
2456
|
+
U0 as prepareEventActionPayload,
|
|
2457
|
+
X0 as transactionSenderClaimant,
|
|
2458
|
+
W0 as unpackFieldIndexes
|
|
2436
2459
|
};
|
|
2437
2460
|
//# sourceMappingURL=EventAction.js.map
|