@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.5

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.
Files changed (61) hide show
  1. package/README.md +2 -4
  2. package/abis/BAR.json +131 -450
  3. package/abis/DepositManager.json +1917 -233
  4. package/abis/LiqEthToken.json +2039 -79
  5. package/abis/OPP.json +138 -67
  6. package/abis/OPPInbound.json +298 -388
  7. package/abis/SyndicationPool.json +266 -99
  8. package/abis/WithdrawalQueue.json +1926 -77
  9. package/lib/cjs/Manifest.js +65 -59
  10. package/lib/cjs/contracts/BAR.d.ts +2 -180
  11. package/lib/cjs/contracts/DepositManager.d.ts +80 -188
  12. package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
  13. package/lib/cjs/contracts/OPP.d.ts +13 -1
  14. package/lib/cjs/contracts/OPPInbound.d.ts +173 -225
  15. package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
  16. package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
  17. package/lib/cjs/contracts/factories/BAR__factory.d.ts +105 -353
  18. package/lib/cjs/contracts/factories/BAR__factory.js +131 -450
  19. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
  20. package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
  21. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  22. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +246 -318
  24. package/lib/cjs/contracts/factories/OPPInbound__factory.js +296 -386
  25. package/lib/cjs/contracts/factories/OPP__factory.d.ts +111 -57
  26. package/lib/cjs/contracts/factories/OPP__factory.js +138 -67
  27. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  28. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +266 -99
  29. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  30. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  31. package/lib/esm/Manifest.js +65 -59
  32. package/lib/esm/contracts/BAR.d.ts +2 -180
  33. package/lib/esm/contracts/DepositManager.d.ts +80 -188
  34. package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
  35. package/lib/esm/contracts/OPP.d.ts +13 -1
  36. package/lib/esm/contracts/OPPInbound.d.ts +173 -225
  37. package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
  38. package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
  39. package/lib/esm/contracts/factories/BAR__factory.d.ts +105 -353
  40. package/lib/esm/contracts/factories/BAR__factory.js +131 -450
  41. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
  42. package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
  43. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  44. package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
  45. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +246 -318
  46. package/lib/esm/contracts/factories/OPPInbound__factory.js +296 -386
  47. package/lib/esm/contracts/factories/OPP__factory.d.ts +111 -57
  48. package/lib/esm/contracts/factories/OPP__factory.js +138 -67
  49. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  50. package/lib/esm/contracts/factories/SyndicationPool__factory.js +266 -99
  51. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  52. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  53. package/manifest.json +65 -59
  54. package/package.json +1 -1
  55. package/runtime/BAR.bin +0 -0
  56. package/runtime/DepositManager.bin +0 -0
  57. package/runtime/LiqEthToken.bin +0 -0
  58. package/runtime/OPP.bin +0 -0
  59. package/runtime/OPPInbound.bin +0 -0
  60. package/runtime/SyndicationPool.bin +0 -0
  61. package/runtime/WithdrawalQueue.bin +0 -0
@@ -6,229 +6,235 @@ exports.EthereumOutpostArtifactManifest = {
6
6
  "schemaVersion": 2,
7
7
  "package": {
8
8
  "name": "@wireio/outpost-ethereum-artifacts",
9
- "version": "0.4.3"
9
+ "version": "0.4.5"
10
10
  },
11
11
  "source": {
12
12
  "repository": "Wire-Network/wire-ethereum",
13
- "revision": "e7a91e27f85510ae3a3b168c101669a9ef6b46e9",
14
- "artifactsSha256": "e63a17255469e5c0e47b9e591f20c70fd28c397ca8c0a3b47cc1f264d5672189"
13
+ "revision": "b987a2eb0475294e8317a7d16674d8e6c2a214cb",
14
+ "artifactsSha256": "8e8708629e8e34e97002c935d0dea33b3e8edd3cd435c4b6ac174ece8cae9e57"
15
15
  },
16
16
  "contracts": {
17
17
  "OPP": {
18
18
  "path": "abis/OPP.json",
19
- "abiSha256": "2038e3d6deb98f3da15038b6e4ca855c41b2b0539ec910adc3c843592c1424d9",
19
+ "abiSha256": "6cd74865cda8389410ec3bf8b3667b58f3f9724158368f8759824f99b6c721e5",
20
20
  "runtimeBytecodePath": "runtime/OPP.bin",
21
- "runtimeBytecodeLength": 18337,
22
- "runtimeBytecodeSha256": "3d2c2dde52e673513bba29e1ab42ac7b354c90b6b903df743f5bef46ae531d04",
21
+ "runtimeBytecodeLength": 17793,
22
+ "runtimeBytecodeSha256": "6972cf15d1dd6f46ed3f5ada117914c3d72f56d45dec50b553a81b1d60bd4658",
23
23
  "runtimeLinkReferences": [
24
24
  {
25
25
  "sourceName": "contracts/outpost/OPPCommon.sol",
26
26
  "libraryName": "OPPCommonV2",
27
- "start": 6684,
27
+ "start": 6698,
28
28
  "length": 20
29
29
  },
30
30
  {
31
31
  "sourceName": "contracts/outpost/OPPCommon.sol",
32
32
  "libraryName": "OPPCommonV2",
33
- "start": 7212,
33
+ "start": 7221,
34
34
  "length": 20
35
35
  },
36
36
  {
37
37
  "sourceName": "contracts/outpost/OPPCommon.sol",
38
38
  "libraryName": "OPPCommonV2",
39
- "start": 10754,
39
+ "start": 9704,
40
40
  "length": 20
41
41
  },
42
42
  {
43
43
  "sourceName": "contracts/outpost/OPPCommon.sol",
44
44
  "libraryName": "OPPCommonV2",
45
- "start": 12052,
45
+ "start": 11086,
46
46
  "length": 20
47
47
  }
48
48
  ],
49
49
  "runtimeImmutableReferences": [
50
50
  {
51
- "start": 2391,
51
+ "start": 2439,
52
52
  "length": 32
53
53
  },
54
54
  {
55
- "start": 15314,
55
+ "start": 14770,
56
56
  "length": 32
57
57
  }
58
58
  ]
59
59
  },
60
60
  "OPPInbound": {
61
61
  "path": "abis/OPPInbound.json",
62
- "abiSha256": "114371369ad02ee071355604991608efe1efbce911fcaa2c47c4bec6631ffd5e",
62
+ "abiSha256": "8173376c5cb31d1e7ca6ea496ae9aa6f23086581ab7334c620c079cb03d738aa",
63
63
  "runtimeBytecodePath": "runtime/OPPInbound.bin",
64
- "runtimeBytecodeLength": 21735,
65
- "runtimeBytecodeSha256": "4f7d5d032ad1f30707a7a89c0b87f344a0dd81082d107d1a8b286579ce9a2654",
64
+ "runtimeBytecodeLength": 21386,
65
+ "runtimeBytecodeSha256": "5a83bafbf70375a39621c8fc0d39b0dbc32f3bf271aa1a475013499d4387415d",
66
66
  "runtimeLinkReferences": [
67
67
  {
68
68
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
69
69
  "libraryName": "OPPInboundLib",
70
- "start": 8888,
70
+ "start": 8295,
71
71
  "length": 20
72
72
  },
73
73
  {
74
74
  "sourceName": "contracts/outpost/OPPCommon.sol",
75
75
  "libraryName": "OPPCommonV2",
76
- "start": 14072,
76
+ "start": 9798,
77
77
  "length": 20
78
78
  },
79
79
  {
80
- "sourceName": "contracts/outpost/OPPCommon.sol",
81
- "libraryName": "OPPCommonV2",
82
- "start": 14599,
80
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
81
+ "libraryName": "OPPInboundLib",
82
+ "start": 12615,
83
83
  "length": 20
84
84
  },
85
85
  {
86
- "sourceName": "contracts/outpost/OPPCommon.sol",
87
- "libraryName": "OPPCommonV2",
88
- "start": 16045,
86
+ "sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
87
+ "libraryName": "OPPEnvelopeWalkLib",
88
+ "start": 13818,
89
89
  "length": 20
90
90
  },
91
91
  {
92
- "sourceName": "contracts/outpost/OPPInboundLib.sol",
93
- "libraryName": "OPPInboundLib",
94
- "start": 20489,
92
+ "sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
93
+ "libraryName": "OPPEnvelopeWalkLib",
94
+ "start": 14719,
95
+ "length": 20
96
+ },
97
+ {
98
+ "sourceName": "contracts/outpost/OPPCommon.sol",
99
+ "libraryName": "OPPCommonV2",
100
+ "start": 16140,
95
101
  "length": 20
96
102
  },
97
103
  {
98
104
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
99
105
  "libraryName": "OPPInboundLib",
100
- "start": 20858,
106
+ "start": 18207,
101
107
  "length": 20
102
108
  }
103
109
  ],
104
110
  "runtimeImmutableReferences": [
105
111
  {
106
- "start": 3727,
112
+ "start": 3816,
107
113
  "length": 32
108
114
  },
109
115
  {
110
- "start": 15050,
116
+ "start": 17600,
111
117
  "length": 32
112
118
  }
113
119
  ]
114
120
  },
115
121
  "BAR": {
116
122
  "path": "abis/BAR.json",
117
- "abiSha256": "819645bfb63a31803ac29b503acd891a43690049b4501c5dabd776ae3485d90b",
123
+ "abiSha256": "160943b58aa9a94ab8e5c0b33065de3771f91efae7eb12ea6005977b70a4757e",
118
124
  "runtimeBytecodePath": "runtime/BAR.bin",
119
- "runtimeBytecodeLength": 13166,
120
- "runtimeBytecodeSha256": "6542678032241ec5d9e308c1bf4eee294ebadfd98455801c2fd16da823501336",
125
+ "runtimeBytecodeLength": 9489,
126
+ "runtimeBytecodeSha256": "d950d636938ee9ee9b3553d23d4a107fee60d5841d0dce478b31db6768a0c802",
121
127
  "runtimeLinkReferences": [],
122
128
  "runtimeImmutableReferences": [
123
129
  {
124
- "start": 2291,
130
+ "start": 1318,
125
131
  "length": 32
126
132
  },
127
133
  {
128
- "start": 11570,
134
+ "start": 7879,
129
135
  "length": 32
130
136
  }
131
137
  ]
132
138
  },
133
139
  "SyndicationPool": {
134
140
  "path": "abis/SyndicationPool.json",
135
- "abiSha256": "118932bedef1aacf3e0a564fe955231976ca156ef8e5f9005371cbf1b9759e77",
141
+ "abiSha256": "6fc237c877a82d1441aa764ba3b49ede5177fe2c0629fe459e545e1a6dc2ac00",
136
142
  "runtimeBytecodePath": "runtime/SyndicationPool.bin",
137
- "runtimeBytecodeLength": 17879,
138
- "runtimeBytecodeSha256": "f91557f8a3630d756082f4795c21c9ac8225fd762569151b769f46e81710800e",
143
+ "runtimeBytecodeLength": 18813,
144
+ "runtimeBytecodeSha256": "32138e06c2cc883f3962a419a151bd0a6f0fddb6209b9d3ba9504aba6989b797",
139
145
  "runtimeLinkReferences": [
140
146
  {
141
147
  "sourceName": "contracts/outpost/PrecisionLib.sol",
142
148
  "libraryName": "PrecisionLib",
143
- "start": 5860,
149
+ "start": 6484,
144
150
  "length": 20
145
151
  },
146
152
  {
147
153
  "sourceName": "contracts/common/Secp256k1.sol",
148
154
  "libraryName": "Secp256k1",
149
- "start": 6648,
155
+ "start": 7210,
150
156
  "length": 20
151
157
  },
152
158
  {
153
159
  "sourceName": "contracts/outpost/PrecisionLib.sol",
154
160
  "libraryName": "PrecisionLib",
155
- "start": 7001,
161
+ "start": 7562,
156
162
  "length": 20
157
163
  },
158
164
  {
159
165
  "sourceName": "contracts/outpost/PrecisionLib.sol",
160
166
  "libraryName": "PrecisionLib",
161
- "start": 9927,
167
+ "start": 10557,
162
168
  "length": 20
163
169
  },
164
170
  {
165
171
  "sourceName": "contracts/common/Secp256k1.sol",
166
172
  "libraryName": "Secp256k1",
167
- "start": 15599,
173
+ "start": 16430,
168
174
  "length": 20
169
175
  }
170
176
  ],
171
177
  "runtimeImmutableReferences": [
172
178
  {
173
- "start": 2405,
179
+ "start": 2539,
174
180
  "length": 32
175
181
  },
176
182
  {
177
- "start": 12444,
183
+ "start": 13070,
178
184
  "length": 32
179
185
  }
180
186
  ]
181
187
  },
182
188
  "DepositManager": {
183
189
  "path": "abis/DepositManager.json",
184
- "abiSha256": "7103f2462210a8de84210c7cbaad4f218ce367468b3607ab5970ece9ba267fda",
190
+ "abiSha256": "f2822dfcb23bd62b2b4f37782bb65d6445644402fb8117df8e74bac6142c28f8",
185
191
  "runtimeBytecodePath": "runtime/DepositManager.bin",
186
- "runtimeBytecodeLength": 9013,
187
- "runtimeBytecodeSha256": "1392e7c2a1d30addfef3091519236334a72b511cf95788b01ab2d72345eca748",
192
+ "runtimeBytecodeLength": 7535,
193
+ "runtimeBytecodeSha256": "aec2ac1c9fb30a659297f0d0f99bef40e290a18f9e56e9d8c2d5855afb8e19d2",
188
194
  "runtimeLinkReferences": [],
189
195
  "runtimeImmutableReferences": [
190
196
  {
191
- "start": 5667,
197
+ "start": 4401,
192
198
  "length": 32
193
199
  },
194
200
  {
195
- "start": 8611,
201
+ "start": 7202,
196
202
  "length": 32
197
203
  }
198
204
  ]
199
205
  },
200
206
  "LiqEthToken": {
201
207
  "path": "abis/LiqEthToken.json",
202
- "abiSha256": "3c47e5f481620e3ef66fc17448445150e510ac1f9f2b495c1766943eb32eb4a4",
208
+ "abiSha256": "a296634ad70be5b21ea1e346650e564b759466d60636626ede628254d4b3eda3",
203
209
  "runtimeBytecodePath": "runtime/LiqEthToken.bin",
204
- "runtimeBytecodeLength": 12322,
205
- "runtimeBytecodeSha256": "0601a68196445878735fe85ffc941172ecef016f7545cb4ab611c41fa3b7e22f",
210
+ "runtimeBytecodeLength": 12558,
211
+ "runtimeBytecodeSha256": "5ba19a81acdae6addc864320f0e1d30e70230ddc278f6a13e2abf87f4e49bc0b",
206
212
  "runtimeLinkReferences": [],
207
213
  "runtimeImmutableReferences": [
208
214
  {
209
- "start": 4127,
215
+ "start": 4178,
210
216
  "length": 32
211
217
  },
212
218
  {
213
- "start": 10847,
219
+ "start": 11051,
214
220
  "length": 32
215
221
  }
216
222
  ]
217
223
  },
218
224
  "WithdrawalQueue": {
219
225
  "path": "abis/WithdrawalQueue.json",
220
- "abiSha256": "c7d2037d4348ad496509ecf7cd473935aa6deb2b2b42b2b3c48b238641e545e6",
226
+ "abiSha256": "cf6c172d88ba820bd9c7aff13dd9822cefea4f9e914a8fdca0ebdf9ed3ddc509",
221
227
  "runtimeBytecodePath": "runtime/WithdrawalQueue.bin",
222
- "runtimeBytecodeLength": 8657,
223
- "runtimeBytecodeSha256": "2ee8f743375f3fc064f7cd488f77bfe45d2c3ed7cbb2f18fff5f3250223f4105",
228
+ "runtimeBytecodeLength": 8587,
229
+ "runtimeBytecodeSha256": "8a2cd5be3ebdcb8f9ff0f0a18ceff544fb8099e4fc8fb1a68b28ee637aa2f7f7",
224
230
  "runtimeLinkReferences": [],
225
231
  "runtimeImmutableReferences": [
226
232
  {
227
- "start": 2725,
233
+ "start": 3174,
228
234
  "length": 32
229
235
  },
230
236
  {
231
- "start": 8164,
237
+ "start": 8122,
232
238
  "length": 32
233
239
  }
234
240
  ]
@@ -1,13 +1,5 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
3
- export type TokenAmountStruct = {
4
- tokenCode: BigNumberish;
5
- amount: BigNumberish;
6
- };
7
- export type TokenAmountStructOutput = [tokenCode: bigint, amount: bigint] & {
8
- tokenCode: bigint;
9
- amount: bigint;
10
- };
11
3
  export type WireKeyStruct = {
12
4
  keyType: BigNumberish;
13
5
  key: BytesLike;
@@ -16,46 +8,6 @@ export type WireKeyStructOutput = [keyType: bigint, key: string] & {
16
8
  keyType: bigint;
17
9
  key: string;
18
10
  };
19
- export type ChainAddressStruct = {
20
- kind: BigNumberish;
21
- address_: BytesLike;
22
- };
23
- export type ChainAddressStructOutput = [kind: bigint, address_: string] & {
24
- kind: bigint;
25
- address_: string;
26
- };
27
- export type OperatorActionStruct = {
28
- actionType: BigNumberish;
29
- opAddress: ChainAddressStruct;
30
- type_: BigNumberish;
31
- status: BigNumberish;
32
- amount: TokenAmountStruct;
33
- requestId: BigNumberish;
34
- chainCode: BigNumberish;
35
- reason: string;
36
- reserveCode: BigNumberish;
37
- };
38
- export type OperatorActionStructOutput = [
39
- actionType: bigint,
40
- opAddress: ChainAddressStructOutput,
41
- type_: bigint,
42
- status: bigint,
43
- amount: TokenAmountStructOutput,
44
- requestId: bigint,
45
- chainCode: bigint,
46
- reason: string,
47
- reserveCode: bigint
48
- ] & {
49
- actionType: bigint;
50
- opAddress: ChainAddressStructOutput;
51
- type_: bigint;
52
- status: bigint;
53
- amount: TokenAmountStructOutput;
54
- requestId: bigint;
55
- chainCode: bigint;
56
- reason: string;
57
- reserveCode: bigint;
58
- };
59
11
  export type AttestationEntryStruct = {
60
12
  type_: BigNumberish;
61
13
  dataSize: BigNumberish;
@@ -71,8 +23,8 @@ export type AttestationEntryStructOutput = [
71
23
  data: string;
72
24
  };
73
25
  export interface BARInterface extends Interface {
74
- getFunction(nameOrSignature: "ED25519_KEY_LENGTH" | "NODE_COMMIT_TOKEN_AMOUNT" | "NODE_OWNER_REG_ATTESTATION" | "SECP256K1_COMPRESSED_KEY_LENGTH" | "UNCOMPRESSED_PUBKEY_LENGTH" | "UNCOMPRESSED_PUBKEY_PREFIX" | "UPGRADE_INTERFACE_VERSION" | "WIRE_ACCOUNT_NAME_MAX_LENGTH" | "authority" | "bond" | "bondCount" | "commitNode" | "getBond" | "getBonds" | "getSummaryAttestations" | "initialize" | "isConsumingScheduledOp" | "onERC1155BatchReceived" | "onERC1155Received" | "oppAddress" | "oppInboundAddress" | "outpostChainCode" | "proxiableUUID" | "releaseNode" | "setAuthority" | "setOPPAddresses" | "setOutpostChainCode" | "setWireNodesContract" | "supportsInterface" | "unbond" | "upgradeToAndCall" | "wireNodesContract"): FunctionFragment;
75
- getEvent(nameOrSignatureOrTopic: "ActorBonded" | "ActorUnbonded" | "AuthorityUpdated" | "Initialized" | "NodeCommitted" | "NodeReleased" | "OutpostChainCodeSet" | "Upgraded" | "WireNodesContractSet"): EventFragment;
26
+ getFunction(nameOrSignature: "ED25519_KEY_LENGTH" | "NODE_COMMIT_TOKEN_AMOUNT" | "NODE_OWNER_REG_ATTESTATION" | "SECP256K1_COMPRESSED_KEY_LENGTH" | "UNCOMPRESSED_PUBKEY_LENGTH" | "UNCOMPRESSED_PUBKEY_PREFIX" | "UPGRADE_INTERFACE_VERSION" | "WIRE_ACCOUNT_NAME_MAX_LENGTH" | "authority" | "commitNode" | "getSummaryAttestations" | "initialize" | "isConsumingScheduledOp" | "onERC1155BatchReceived" | "onERC1155Received" | "oppAddress" | "oppInboundAddress" | "outpostChainCode" | "proxiableUUID" | "releaseNode" | "setAuthority" | "setOPPAddresses" | "setOutpostChainCode" | "setWireNodesContract" | "supportsInterface" | "upgradeToAndCall" | "wireNodesContract"): FunctionFragment;
27
+ getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "Initialized" | "NodeCommitted" | "NodeReleased" | "OutpostChainCodeSet" | "Upgraded" | "WireNodesContractSet"): EventFragment;
76
28
  encodeFunctionData(functionFragment: "ED25519_KEY_LENGTH", values?: undefined): string;
77
29
  encodeFunctionData(functionFragment: "NODE_COMMIT_TOKEN_AMOUNT", values?: undefined): string;
78
30
  encodeFunctionData(functionFragment: "NODE_OWNER_REG_ATTESTATION", values?: undefined): string;
@@ -82,11 +34,7 @@ export interface BARInterface extends Interface {
82
34
  encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
83
35
  encodeFunctionData(functionFragment: "WIRE_ACCOUNT_NAME_MAX_LENGTH", values?: undefined): string;
84
36
  encodeFunctionData(functionFragment: "authority", values?: undefined): string;
85
- encodeFunctionData(functionFragment: "bond", values: [AddressLike, BigNumberish, TokenAmountStruct]): string;
86
- encodeFunctionData(functionFragment: "bondCount", values: [AddressLike, BigNumberish]): string;
87
37
  encodeFunctionData(functionFragment: "commitNode", values: [BigNumberish, string, WireKeyStruct, BytesLike]): string;
88
- encodeFunctionData(functionFragment: "getBond", values: [AddressLike, BigNumberish, BigNumberish]): string;
89
- encodeFunctionData(functionFragment: "getBonds", values: [AddressLike, BigNumberish]): string;
90
38
  encodeFunctionData(functionFragment: "getSummaryAttestations", values?: undefined): string;
91
39
  encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
92
40
  encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
@@ -108,7 +56,6 @@ export interface BARInterface extends Interface {
108
56
  encodeFunctionData(functionFragment: "setOutpostChainCode", values: [BigNumberish]): string;
109
57
  encodeFunctionData(functionFragment: "setWireNodesContract", values: [AddressLike]): string;
110
58
  encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
111
- encodeFunctionData(functionFragment: "unbond", values: [AddressLike, BigNumberish, TokenAmountStruct]): string;
112
59
  encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
113
60
  encodeFunctionData(functionFragment: "wireNodesContract", values?: undefined): string;
114
61
  decodeFunctionResult(functionFragment: "ED25519_KEY_LENGTH", data: BytesLike): Result;
@@ -120,11 +67,7 @@ export interface BARInterface extends Interface {
120
67
  decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
121
68
  decodeFunctionResult(functionFragment: "WIRE_ACCOUNT_NAME_MAX_LENGTH", data: BytesLike): Result;
122
69
  decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
123
- decodeFunctionResult(functionFragment: "bond", data: BytesLike): Result;
124
- decodeFunctionResult(functionFragment: "bondCount", data: BytesLike): Result;
125
70
  decodeFunctionResult(functionFragment: "commitNode", data: BytesLike): Result;
126
- decodeFunctionResult(functionFragment: "getBond", data: BytesLike): Result;
127
- decodeFunctionResult(functionFragment: "getBonds", data: BytesLike): Result;
128
71
  decodeFunctionResult(functionFragment: "getSummaryAttestations", data: BytesLike): Result;
129
72
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
130
73
  decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
@@ -140,58 +83,9 @@ export interface BARInterface extends Interface {
140
83
  decodeFunctionResult(functionFragment: "setOutpostChainCode", data: BytesLike): Result;
141
84
  decodeFunctionResult(functionFragment: "setWireNodesContract", data: BytesLike): Result;
142
85
  decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
143
- decodeFunctionResult(functionFragment: "unbond", data: BytesLike): Result;
144
86
  decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
145
87
  decodeFunctionResult(functionFragment: "wireNodesContract", data: BytesLike): Result;
146
88
  }
147
- export declare namespace ActorBondedEvent {
148
- type InputTuple = [
149
- actor: AddressLike,
150
- operatorType: BigNumberish,
151
- tokenCode: BigNumberish,
152
- amount: BigNumberish
153
- ];
154
- type OutputTuple = [
155
- actor: string,
156
- operatorType: bigint,
157
- tokenCode: bigint,
158
- amount: bigint
159
- ];
160
- interface OutputObject {
161
- actor: string;
162
- operatorType: bigint;
163
- tokenCode: bigint;
164
- amount: bigint;
165
- }
166
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
167
- type Filter = TypedDeferredTopicFilter<Event>;
168
- type Log = TypedEventLog<Event>;
169
- type LogDescription = TypedLogDescription<Event>;
170
- }
171
- export declare namespace ActorUnbondedEvent {
172
- type InputTuple = [
173
- actor: AddressLike,
174
- operatorType: BigNumberish,
175
- tokenCode: BigNumberish,
176
- amount: BigNumberish
177
- ];
178
- type OutputTuple = [
179
- actor: string,
180
- operatorType: bigint,
181
- tokenCode: bigint,
182
- amount: bigint
183
- ];
184
- interface OutputObject {
185
- actor: string;
186
- operatorType: bigint;
187
- tokenCode: bigint;
188
- amount: bigint;
189
- }
190
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
191
- type Filter = TypedDeferredTopicFilter<Event>;
192
- type Log = TypedEventLog<Event>;
193
- type LogDescription = TypedLogDescription<Event>;
194
- }
195
89
  export declare namespace AuthorityUpdatedEvent {
196
90
  type InputTuple = [authority: AddressLike];
197
91
  type OutputTuple = [authority: string];
@@ -310,19 +204,6 @@ export interface BAR extends BaseContract {
310
204
  UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
311
205
  WIRE_ACCOUNT_NAME_MAX_LENGTH: TypedContractMethod<[], [bigint], "view">;
312
206
  authority: TypedContractMethod<[], [string], "view">;
313
- bond: TypedContractMethod<[
314
- actor: AddressLike,
315
- operatorType: BigNumberish,
316
- amount: TokenAmountStruct
317
- ], [
318
- void
319
- ], "nonpayable">;
320
- bondCount: TypedContractMethod<[
321
- actor: AddressLike,
322
- operatorType: BigNumberish
323
- ], [
324
- bigint
325
- ], "view">;
326
207
  commitNode: TypedContractMethod<[
327
208
  tokenId: BigNumberish,
328
209
  wireAccountName: string,
@@ -331,19 +212,6 @@ export interface BAR extends BaseContract {
331
212
  ], [
332
213
  void
333
214
  ], "nonpayable">;
334
- getBond: TypedContractMethod<[
335
- actor: AddressLike,
336
- operatorType: BigNumberish,
337
- bondIndex: BigNumberish
338
- ], [
339
- OperatorActionStructOutput
340
- ], "view">;
341
- getBonds: TypedContractMethod<[
342
- actor: AddressLike,
343
- operatorType: BigNumberish
344
- ], [
345
- OperatorActionStructOutput[]
346
- ], "view">;
347
215
  getSummaryAttestations: TypedContractMethod<[
348
216
  ], [
349
217
  AttestationEntryStructOutput[]
@@ -409,13 +277,6 @@ export interface BAR extends BaseContract {
409
277
  ], [
410
278
  boolean
411
279
  ], "view">;
412
- unbond: TypedContractMethod<[
413
- actor: AddressLike,
414
- operatorType: BigNumberish,
415
- amount: TokenAmountStruct
416
- ], [
417
- void
418
- ], "nonpayable">;
419
280
  upgradeToAndCall: TypedContractMethod<[
420
281
  newImplementation: AddressLike,
421
282
  data: BytesLike
@@ -433,19 +294,6 @@ export interface BAR extends BaseContract {
433
294
  getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
434
295
  getFunction(nameOrSignature: "WIRE_ACCOUNT_NAME_MAX_LENGTH"): TypedContractMethod<[], [bigint], "view">;
435
296
  getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
436
- getFunction(nameOrSignature: "bond"): TypedContractMethod<[
437
- actor: AddressLike,
438
- operatorType: BigNumberish,
439
- amount: TokenAmountStruct
440
- ], [
441
- void
442
- ], "nonpayable">;
443
- getFunction(nameOrSignature: "bondCount"): TypedContractMethod<[
444
- actor: AddressLike,
445
- operatorType: BigNumberish
446
- ], [
447
- bigint
448
- ], "view">;
449
297
  getFunction(nameOrSignature: "commitNode"): TypedContractMethod<[
450
298
  tokenId: BigNumberish,
451
299
  wireAccountName: string,
@@ -454,19 +302,6 @@ export interface BAR extends BaseContract {
454
302
  ], [
455
303
  void
456
304
  ], "nonpayable">;
457
- getFunction(nameOrSignature: "getBond"): TypedContractMethod<[
458
- actor: AddressLike,
459
- operatorType: BigNumberish,
460
- bondIndex: BigNumberish
461
- ], [
462
- OperatorActionStructOutput
463
- ], "view">;
464
- getFunction(nameOrSignature: "getBonds"): TypedContractMethod<[
465
- actor: AddressLike,
466
- operatorType: BigNumberish
467
- ], [
468
- OperatorActionStructOutput[]
469
- ], "view">;
470
305
  getFunction(nameOrSignature: "getSummaryAttestations"): TypedContractMethod<[], [AttestationEntryStructOutput[]], "nonpayable">;
471
306
  getFunction(nameOrSignature: "initialize"): TypedContractMethod<[_authority: AddressLike], [void], "nonpayable">;
472
307
  getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
@@ -509,13 +344,6 @@ export interface BAR extends BaseContract {
509
344
  getFunction(nameOrSignature: "setOutpostChainCode"): TypedContractMethod<[chainCode: BigNumberish], [void], "nonpayable">;
510
345
  getFunction(nameOrSignature: "setWireNodesContract"): TypedContractMethod<[wireNodes: AddressLike], [void], "nonpayable">;
511
346
  getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
512
- getFunction(nameOrSignature: "unbond"): TypedContractMethod<[
513
- actor: AddressLike,
514
- operatorType: BigNumberish,
515
- amount: TokenAmountStruct
516
- ], [
517
- void
518
- ], "nonpayable">;
519
347
  getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
520
348
  newImplementation: AddressLike,
521
349
  data: BytesLike
@@ -523,8 +351,6 @@ export interface BAR extends BaseContract {
523
351
  void
524
352
  ], "payable">;
525
353
  getFunction(nameOrSignature: "wireNodesContract"): TypedContractMethod<[], [string], "view">;
526
- getEvent(key: "ActorBonded"): TypedContractEvent<ActorBondedEvent.InputTuple, ActorBondedEvent.OutputTuple, ActorBondedEvent.OutputObject>;
527
- getEvent(key: "ActorUnbonded"): TypedContractEvent<ActorUnbondedEvent.InputTuple, ActorUnbondedEvent.OutputTuple, ActorUnbondedEvent.OutputObject>;
528
354
  getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
529
355
  getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
530
356
  getEvent(key: "NodeCommitted"): TypedContractEvent<NodeCommittedEvent.InputTuple, NodeCommittedEvent.OutputTuple, NodeCommittedEvent.OutputObject>;
@@ -533,10 +359,6 @@ export interface BAR extends BaseContract {
533
359
  getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
534
360
  getEvent(key: "WireNodesContractSet"): TypedContractEvent<WireNodesContractSetEvent.InputTuple, WireNodesContractSetEvent.OutputTuple, WireNodesContractSetEvent.OutputObject>;
535
361
  filters: {
536
- "ActorBonded(address,uint8,uint64,int64)": TypedContractEvent<ActorBondedEvent.InputTuple, ActorBondedEvent.OutputTuple, ActorBondedEvent.OutputObject>;
537
- ActorBonded: TypedContractEvent<ActorBondedEvent.InputTuple, ActorBondedEvent.OutputTuple, ActorBondedEvent.OutputObject>;
538
- "ActorUnbonded(address,uint8,uint64,int64)": TypedContractEvent<ActorUnbondedEvent.InputTuple, ActorUnbondedEvent.OutputTuple, ActorUnbondedEvent.OutputObject>;
539
- ActorUnbonded: TypedContractEvent<ActorUnbondedEvent.InputTuple, ActorUnbondedEvent.OutputTuple, ActorUnbondedEvent.OutputObject>;
540
362
  "AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
541
363
  AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
542
364
  "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;