@boostxyz/sdk 0.0.0-alpha.11 → 0.0.0-alpha.12
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.js +1 -1
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +115 -31
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +306 -122
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.js +2 -2
- package/dist/AllowLists/SimpleAllowList.js +1 -1
- package/dist/AllowLists/SimpleDenyList.js +2 -2
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.js +2 -2
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.js +1 -1
- package/dist/Budgets/Budget.js +1 -1
- package/dist/Budgets/ManagedBudget.js +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/Incentives/AllowListIncentive.js +2 -2
- package/dist/Incentives/CGDAIncentive.js +1 -1
- package/dist/Incentives/ERC20Incentive.js +1 -1
- package/dist/Incentives/Incentive.js +12 -12
- package/dist/Incentives/PointsIncentive.js +1 -1
- package/dist/{SimpleDenyList-4PtOPXTc.js → SimpleDenyList-IJ9Ipya7.js} +2 -2
- package/dist/{SimpleDenyList-4PtOPXTc.js.map → SimpleDenyList-IJ9Ipya7.js.map} +1 -1
- package/dist/Validators/SignerValidator.js +1 -1
- package/dist/Validators/Validator.js +1 -1
- package/dist/errors.cjs +1 -1
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.ts +116 -20
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +106 -52
- package/dist/errors.js.map +1 -1
- package/dist/{generated-BDeDiaCK.js → generated-HGddZXHJ.js} +21 -21
- package/dist/{generated-BDeDiaCK.js.map → generated-HGddZXHJ.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +58 -55
- package/package.json +8 -5
- package/src/Actions/Action.test.ts +8 -4
- package/src/Actions/EventAction.test.ts +528 -100
- package/src/Actions/EventAction.ts +296 -58
- package/src/errors.ts +160 -20
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./BoostRegistry.cjs"),a=require("./BoostCore.cjs"),c=require("./Boost.cjs"),y=require("./Actions/Action.cjs"),o=require("./Actions/EventAction.cjs"),l=require("./AllowLists/AllowList.cjs"),s=require("./AllowLists/SimpleAllowList.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./BoostRegistry.cjs"),a=require("./BoostCore.cjs"),c=require("./Boost.cjs"),y=require("./Actions/Action.cjs"),o=require("./Actions/EventAction.cjs"),l=require("./AllowLists/AllowList.cjs"),s=require("./AllowLists/SimpleAllowList.cjs"),A=require("./SimpleDenyList-CqT0BMP7.cjs"),u=require("./Budgets/Budget.cjs"),t=require("./Budgets/ManagedBudget.cjs"),m=require("./Deployable/Deployable.cjs"),P=require("./Deployable/Contract.cjs"),S=require("./Deployable/DeployableTarget.cjs"),E=require("./Incentives/AllowListIncentive.cjs"),g=require("./Incentives/CGDAIncentive.cjs"),v=require("./Incentives/ERC20Incentive.cjs"),d=require("./Incentives/Incentive.cjs"),C=require("./Incentives/PointsIncentive.cjs"),i=require("./Validators/SignerValidator.cjs"),I=require("./Validators/Validator.cjs"),e=require("./errors.cjs"),n=require("./utils.cjs"),B=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-wKBNvm48.cjs");exports.BOOST_REGISTRY_ADDRESS=p.BOOST_REGISTRY_ADDRESS;exports.BoostRegistry=p.BoostRegistry;exports.BOOST_CORE_ADDRESS=a.BOOST_CORE_ADDRESS;exports.BOOST_CORE_CLAIM_FEE=a.BOOST_CORE_CLAIM_FEE;exports.BoostCore=a.BoostCore;exports.Boost=c.Boost;exports.prepareBoostPayload=c.prepareBoostPayload;exports.ActionByComponentInterface=y.ActionByComponentInterface;exports.actionFromAddress=y.actionFromAddress;exports.EventAction=o.EventAction;exports.FilterType=o.FilterType;exports.PrimitiveType=o.PrimitiveType;exports.SignatureType=o.SignatureType;exports.isEventActionPayloadSimple=o.isEventActionPayloadSimple;exports.prepareEventActionPayload=o.prepareEventActionPayload;exports.AllowListByComponentInterface=l.AllowListByComponentInterface;exports.OpenAllowList=l.OpenAllowList;exports.allowListFromAddress=l.allowListFromAddress;exports.LIST_MANAGER_ROLE=s.LIST_MANAGER_ROLE;exports.SimpleAllowList=s.SimpleAllowList;exports.prepareSimpleAllowListPayload=s.prepareSimpleAllowListPayload;exports.SimpleDenyList=A.SimpleDenyList;exports.prepareSimpleDenyListPayload=A.prepareSimpleDenyListPayload;exports.BudgetByComponentInterface=u.BudgetByComponentInterface;exports.budgetFromAddress=u.budgetFromAddress;exports.ManagedBudget=t.ManagedBudget;exports.ManagedBudgetRoles=t.ManagedBudgetRoles;exports.isERC1155TransferPayload=t.isERC1155TransferPayload;exports.isFungibleTransfer=t.isFungibleTransfer;exports.prepareManagedBudgetPayload=t.prepareManagedBudgetPayload;exports.prepareTransfer=t.prepareTransfer;exports.Deployable=m.Deployable;exports.Contract=P.Contract;exports.DeployableTarget=S.DeployableTarget;exports.AllowListIncentive=E.AllowListIncentive;exports.prepareAllowListIncentivePayload=E.prepareAllowListIncentivePayload;exports.CGDAIncentive=g.CGDAIncentive;exports.prepareCGDAIncentivePayload=g.prepareCGDAIncentivePayload;exports.ERC20Incentive=v.ERC20Incentive;exports.prepareERC20IncentivePayload=v.prepareERC20IncentivePayload;exports.ERC20VariableIncentive=d.ERC20VariableIncentive;exports.IncentiveByComponentInterface=d.IncentiveByComponentInterface;exports.incentiveFromAddress=d.incentiveFromAddress;exports.PointsIncentive=C.PointsIncentive;exports.preparePointsIncentivePayload=C.preparePointsIncentivePayload;exports.SignerValidator=i.SignerValidator;exports.prepareSignerValidatorClaimDataPayload=i.prepareSignerValidatorClaimDataPayload;exports.prepareSignerValidatorInputParams=i.prepareSignerValidatorInputParams;exports.prepareSignerValidatorPayload=i.prepareSignerValidatorPayload;exports.ValidatorByComponentInterface=I.ValidatorByComponentInterface;exports.validatorFromAddress=I.validatorFromAddress;exports.BoostCoreNoIdentifierEmitted=e.BoostCoreNoIdentifierEmitted;exports.BudgetMustAuthorizeBoostCore=e.BudgetMustAuthorizeBoostCore;exports.ContractAddressRequiredError=e.ContractAddressRequiredError;exports.DecodedArgsMalformedError=e.DecodedArgsMalformedError;exports.DeployableAlreadyDeployedError=e.DeployableAlreadyDeployedError;exports.DeployableBuildParametersUnspecifiedError=e.DeployableBuildParametersUnspecifiedError;exports.DeployableMissingPayloadError=e.DeployableMissingPayloadError;exports.DeployableUnknownOwnerProvidedError=e.DeployableUnknownOwnerProvidedError;exports.DeployableWagmiConfigurationRequiredError=e.DeployableWagmiConfigurationRequiredError;exports.FieldActionValidationError=e.FieldActionValidationError;exports.FieldValueNotComparableError=e.FieldValueNotComparableError;exports.FieldValueUndefinedError=e.FieldValueUndefinedError;exports.FunctionDataDecodeError=e.FunctionDataDecodeError;exports.IncentiveNotCloneableError=e.IncentiveNotCloneableError;exports.InvalidComponentInterfaceError=e.InvalidComponentInterfaceError;exports.InvalidNumericalCriteriaError=e.InvalidNumericalCriteriaError;exports.MustInitializeBudgetError=e.MustInitializeBudgetError;exports.NoContractAddressUponReceiptError=e.NoContractAddressUponReceiptError;exports.NoEventActionStepsProvidedError=e.NoEventActionStepsProvidedError;exports.TooManyEventActionStepsProvidedError=e.TooManyEventActionStepsProvidedError;exports.UnknownTransferPayloadSupplied=e.UnknownTransferPayloadSupplied;exports.UnparseableAbiParamError=e.UnparseableAbiParamError;exports.UnrecognizedFilterTypeError=e.UnrecognizedFilterTypeError;exports.RegistryType=n.RegistryType;exports.awaitResult=n.awaitResult;exports.bytes4=n.bytes4;exports.getDeployedContractAddress=n.getDeployedContractAddress;exports.PassthroughAuth=B.PassthroughAuth;exports.allowListIncentiveAbi=r.A;exports.boostCoreAbi=r.c;exports.boostRegistryAbi=r.ee;exports.cgdaIncentiveAbi=r.v;exports.erc20IncentiveAbi=r.f;exports.managedBudgetAbi=r.p;exports.passthroughAuthAbi=r.ze;exports.pointsIncentiveAbi=r.l;exports.signerValidatorAbi=r.M;exports.simpleAllowListAbi=r.T;exports.simpleDenyListAbi=r.S;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BOOST_REGISTRY_ADDRESS as o, BoostRegistry as t } from "./BoostRegistry.js";
|
|
2
2
|
import { BOOST_CORE_ADDRESS as i, BOOST_CORE_CLAIM_FEE as n, BoostCore as p } from "./BoostCore.js";
|
|
3
3
|
import { Boost as s, prepareBoostPayload as d } from "./Boost.js";
|
|
4
|
-
import { ActionByComponentInterface as A, actionFromAddress as
|
|
5
|
-
import { EventAction as f, FilterType as E, PrimitiveType as g, SignatureType as v, isEventActionPayloadSimple as I, prepareEventActionPayload as
|
|
6
|
-
import { AllowListByComponentInterface as
|
|
7
|
-
import { LIST_MANAGER_ROLE as B, SimpleAllowList as
|
|
8
|
-
import { S as L, p as w } from "./SimpleDenyList-
|
|
9
|
-
import { BudgetByComponentInterface as
|
|
4
|
+
import { ActionByComponentInterface as A, actionFromAddress as c } from "./Actions/Action.js";
|
|
5
|
+
import { EventAction as f, FilterType as E, PrimitiveType as g, SignatureType as v, isEventActionPayloadSimple as I, prepareEventActionPayload as b } from "./Actions/EventAction.js";
|
|
6
|
+
import { AllowListByComponentInterface as C, OpenAllowList as P, allowListFromAddress as x } from "./AllowLists/AllowList.js";
|
|
7
|
+
import { LIST_MANAGER_ROLE as B, SimpleAllowList as D, prepareSimpleAllowListPayload as R } from "./AllowLists/SimpleAllowList.js";
|
|
8
|
+
import { S as L, p as w } from "./SimpleDenyList-IJ9Ipya7.js";
|
|
9
|
+
import { BudgetByComponentInterface as M, budgetFromAddress as O } from "./Budgets/Budget.js";
|
|
10
10
|
import { ManagedBudget as _, ManagedBudgetRoles as h, isERC1155TransferPayload as N, isFungibleTransfer as U, prepareManagedBudgetPayload as z, prepareTransfer as G } from "./Budgets/ManagedBudget.js";
|
|
11
11
|
import { Deployable as q } from "./Deployable/Deployable.js";
|
|
12
12
|
import { Contract as Y } from "./Deployable/Contract.js";
|
|
@@ -16,15 +16,15 @@ import { CGDAIncentive as Z, prepareCGDAIncentivePayload as $ } from "./Incentiv
|
|
|
16
16
|
import { ERC20Incentive as re, prepareERC20IncentivePayload as oe } from "./Incentives/ERC20Incentive.js";
|
|
17
17
|
import { ERC20VariableIncentive as ae, IncentiveByComponentInterface as ie, incentiveFromAddress as ne } from "./Incentives/Incentive.js";
|
|
18
18
|
import { PointsIncentive as le, preparePointsIncentivePayload as se } from "./Incentives/PointsIncentive.js";
|
|
19
|
-
import { SignerValidator as me, prepareSignerValidatorClaimDataPayload as Ae, prepareSignerValidatorInputParams as
|
|
19
|
+
import { SignerValidator as me, prepareSignerValidatorClaimDataPayload as Ae, prepareSignerValidatorInputParams as ce, prepareSignerValidatorPayload as ye } from "./Validators/SignerValidator.js";
|
|
20
20
|
import { ValidatorByComponentInterface as Ee, validatorFromAddress as ge } from "./Validators/Validator.js";
|
|
21
|
-
import { BoostCoreNoIdentifierEmitted as Ie, BudgetMustAuthorizeBoostCore as
|
|
22
|
-
import { RegistryType as
|
|
23
|
-
import { PassthroughAuth as
|
|
24
|
-
import { A as
|
|
21
|
+
import { BoostCoreNoIdentifierEmitted as Ie, BudgetMustAuthorizeBoostCore as be, ContractAddressRequiredError as ue, DecodedArgsMalformedError as Ce, DeployableAlreadyDeployedError as Pe, DeployableBuildParametersUnspecifiedError as xe, DeployableMissingPayloadError as Se, DeployableUnknownOwnerProvidedError as Be, DeployableWagmiConfigurationRequiredError as De, FieldActionValidationError as Re, FieldValueNotComparableError as Te, FieldValueUndefinedError as Le, FunctionDataDecodeError as we, IncentiveNotCloneableError as Fe, InvalidComponentInterfaceError as Me, InvalidNumericalCriteriaError as Oe, MustInitializeBudgetError as Ve, NoContractAddressUponReceiptError as _e, NoEventActionStepsProvidedError as he, TooManyEventActionStepsProvidedError as Ne, UnknownTransferPayloadSupplied as Ue, UnparseableAbiParamError as ze, UnrecognizedFilterTypeError as Ge } from "./errors.js";
|
|
22
|
+
import { RegistryType as qe, awaitResult as We, bytes4 as Ye, getDeployedContractAddress as je } from "./utils.js";
|
|
23
|
+
import { PassthroughAuth as Je } from "./Auth/PassthroughAuth.js";
|
|
24
|
+
import { A as Qe, c as Xe, e as Ze, v as $e, f as er, p as rr, z as or, l as tr, M as ar, T as ir, S as nr } from "./generated-HGddZXHJ.js";
|
|
25
25
|
export {
|
|
26
26
|
A as ActionByComponentInterface,
|
|
27
|
-
|
|
27
|
+
C as AllowListByComponentInterface,
|
|
28
28
|
K as AllowListIncentive,
|
|
29
29
|
i as BOOST_CORE_ADDRESS,
|
|
30
30
|
n as BOOST_CORE_CLAIM_FEE,
|
|
@@ -33,82 +33,85 @@ export {
|
|
|
33
33
|
p as BoostCore,
|
|
34
34
|
Ie as BoostCoreNoIdentifierEmitted,
|
|
35
35
|
t as BoostRegistry,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
M as BudgetByComponentInterface,
|
|
37
|
+
be as BudgetMustAuthorizeBoostCore,
|
|
38
38
|
Z as CGDAIncentive,
|
|
39
39
|
Y as Contract,
|
|
40
40
|
ue as ContractAddressRequiredError,
|
|
41
|
+
Ce as DecodedArgsMalformedError,
|
|
41
42
|
q as Deployable,
|
|
42
|
-
|
|
43
|
+
Pe as DeployableAlreadyDeployedError,
|
|
43
44
|
xe as DeployableBuildParametersUnspecifiedError,
|
|
44
|
-
|
|
45
|
+
Se as DeployableMissingPayloadError,
|
|
45
46
|
H as DeployableTarget,
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
Be as DeployableUnknownOwnerProvidedError,
|
|
48
|
+
De as DeployableWagmiConfigurationRequiredError,
|
|
48
49
|
re as ERC20Incentive,
|
|
49
50
|
ae as ERC20VariableIncentive,
|
|
50
51
|
f as EventAction,
|
|
51
|
-
Re as
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
Re as FieldActionValidationError,
|
|
53
|
+
Te as FieldValueNotComparableError,
|
|
54
|
+
Le as FieldValueUndefinedError,
|
|
54
55
|
E as FilterType,
|
|
56
|
+
we as FunctionDataDecodeError,
|
|
55
57
|
ie as IncentiveByComponentInterface,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
Fe as IncentiveNotCloneableError,
|
|
59
|
+
Me as InvalidComponentInterfaceError,
|
|
60
|
+
Oe as InvalidNumericalCriteriaError,
|
|
59
61
|
B as LIST_MANAGER_ROLE,
|
|
60
62
|
_ as ManagedBudget,
|
|
61
63
|
h as ManagedBudgetRoles,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
Ve as MustInitializeBudgetError,
|
|
65
|
+
_e as NoContractAddressUponReceiptError,
|
|
66
|
+
he as NoEventActionStepsProvidedError,
|
|
67
|
+
P as OpenAllowList,
|
|
68
|
+
Je as PassthroughAuth,
|
|
67
69
|
le as PointsIncentive,
|
|
68
70
|
g as PrimitiveType,
|
|
69
|
-
|
|
71
|
+
qe as RegistryType,
|
|
70
72
|
v as SignatureType,
|
|
71
73
|
me as SignerValidator,
|
|
72
|
-
|
|
74
|
+
D as SimpleAllowList,
|
|
73
75
|
L as SimpleDenyList,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
Ne as TooManyEventActionStepsProvidedError,
|
|
77
|
+
Ue as UnknownTransferPayloadSupplied,
|
|
78
|
+
ze as UnparseableAbiParamError,
|
|
79
|
+
Ge as UnrecognizedFilterTypeError,
|
|
77
80
|
Ee as ValidatorByComponentInterface,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
c as actionFromAddress,
|
|
82
|
+
x as allowListFromAddress,
|
|
83
|
+
Qe as allowListIncentiveAbi,
|
|
84
|
+
We as awaitResult,
|
|
85
|
+
Xe as boostCoreAbi,
|
|
86
|
+
Ze as boostRegistryAbi,
|
|
87
|
+
O as budgetFromAddress,
|
|
88
|
+
Ye as bytes4,
|
|
89
|
+
$e as cgdaIncentiveAbi,
|
|
90
|
+
er as erc20IncentiveAbi,
|
|
91
|
+
je as getDeployedContractAddress,
|
|
89
92
|
ne as incentiveFromAddress,
|
|
90
93
|
N as isERC1155TransferPayload,
|
|
91
94
|
I as isEventActionPayloadSimple,
|
|
92
95
|
U as isFungibleTransfer,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
rr as managedBudgetAbi,
|
|
97
|
+
or as passthroughAuthAbi,
|
|
98
|
+
tr as pointsIncentiveAbi,
|
|
96
99
|
Q as prepareAllowListIncentivePayload,
|
|
97
100
|
d as prepareBoostPayload,
|
|
98
101
|
$ as prepareCGDAIncentivePayload,
|
|
99
102
|
oe as prepareERC20IncentivePayload,
|
|
100
|
-
|
|
103
|
+
b as prepareEventActionPayload,
|
|
101
104
|
z as prepareManagedBudgetPayload,
|
|
102
105
|
se as preparePointsIncentivePayload,
|
|
103
106
|
Ae as prepareSignerValidatorClaimDataPayload,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
ce as prepareSignerValidatorInputParams,
|
|
108
|
+
ye as prepareSignerValidatorPayload,
|
|
109
|
+
R as prepareSimpleAllowListPayload,
|
|
107
110
|
w as prepareSimpleDenyListPayload,
|
|
108
111
|
G as prepareTransfer,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
ar as signerValidatorAbi,
|
|
113
|
+
ir as simpleAllowListAbi,
|
|
114
|
+
nr as simpleDenyListAbi,
|
|
112
115
|
ge as validatorFromAddress
|
|
113
116
|
};
|
|
114
117
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boostxyz/sdk",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.12",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -187,14 +187,17 @@
|
|
|
187
187
|
"types": "./dist/Validators/SignerValidator.d.ts"
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
|
-
"
|
|
191
|
-
"@boostxyz/evm": "0.0.0-alpha.1",
|
|
190
|
+
"dependencies": {
|
|
192
191
|
"@boostxyz/signatures": "0.0.0-alpha.2"
|
|
193
192
|
},
|
|
193
|
+
"optionalDependencies": {
|
|
194
|
+
"@boostxyz/signatures": "0.0.0-alpha.2",
|
|
195
|
+
"@boostxyz/evm": "0.0.0-alpha.2"
|
|
196
|
+
},
|
|
194
197
|
"peerDependencies": {
|
|
195
198
|
"@wagmi/core": "2",
|
|
196
|
-
"
|
|
197
|
-
"
|
|
199
|
+
"abitype": "1",
|
|
200
|
+
"viem": "2"
|
|
198
201
|
},
|
|
199
202
|
"scripts": {
|
|
200
203
|
"build": "vite build && tsc -p ./tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap",
|
|
@@ -27,20 +27,24 @@ export function basicErc721TransferAction(
|
|
|
27
27
|
actionClaimant: {
|
|
28
28
|
chainid: 31337,
|
|
29
29
|
signatureType: SignatureType.EVENT,
|
|
30
|
-
signature: selectors[
|
|
31
|
-
|
|
30
|
+
signature: selectors[
|
|
31
|
+
'Transfer(address indexed,address indexed,uint256 indexed)'
|
|
32
|
+
] as Hex,
|
|
33
|
+
fieldIndex: 1,
|
|
32
34
|
targetContract: erc721.assertValidAddress(),
|
|
33
35
|
},
|
|
34
36
|
actionSteps: [
|
|
35
37
|
{
|
|
36
38
|
chainid: 31337,
|
|
37
|
-
signature: selectors[
|
|
39
|
+
signature: selectors[
|
|
40
|
+
'Transfer(address indexed,address indexed,uint256 indexed)'
|
|
41
|
+
] as Hex,
|
|
38
42
|
signatureType: SignatureType.EVENT,
|
|
39
43
|
targetContract: erc721.assertValidAddress(),
|
|
40
44
|
actionParameter: {
|
|
41
45
|
filterType: FilterType.EQUAL,
|
|
42
46
|
fieldType: PrimitiveType.ADDRESS,
|
|
43
|
-
fieldIndex:
|
|
47
|
+
fieldIndex: 1,
|
|
44
48
|
filterData: accounts[1].account,
|
|
45
49
|
},
|
|
46
50
|
},
|