@argonprotocol/mainchain 1.4.5 → 1.4.6-dev.4eef1f62
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/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +3 -3
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +3 -3
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +12 -12
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/browser/index.d.ts +124 -60
- package/browser/index.js +233 -89
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +3 -3
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +3 -3
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +12 -12
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/lib/index.cjs +240 -91
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +124 -60
- package/lib/index.d.ts +124 -60
- package/lib/index.js +237 -88
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +0 -1
- package/src/interfaces/augment-api-errors.ts +3 -0
- package/src/interfaces/augment-api-events.ts +5 -0
- package/src/interfaces/augment-api-query.ts +0 -1
- package/src/interfaces/augment-api-runtime.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +18 -0
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +0 -19
- package/src/interfaces/definitions.ts +0 -42
- package/src/interfaces/lookup.ts +15 -4
- package/src/interfaces/registry.ts +0 -1
- package/src/interfaces/types-lookup.ts +26 -1
- package/src/interfaces/ethereum/index.ts +0 -4
- package/src/interfaces/ethereum/types.ts +0 -66
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
"type": "function"
|
|
126
126
|
}
|
|
127
127
|
],
|
|
128
|
-
"bytecode": "
|
|
129
|
-
"deployedBytecode": "
|
|
128
|
+
"bytecode": "0x6080604052348015600e575f5ffd5b506040516104e83803806104e8833981016040819052602b9160b6565b80806001600160a01b038116605957604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6060816067565b50505060e1565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121560c5575f5ffd5b81516001600160a01b038116811460da575f5ffd5b9392505050565b6103fa806100ee5f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f5ffd5b348015610058575f5ffd5b506100616100fd565b005b34801561006e575f5ffd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f5ffd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f5ffd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f5ffd5b505af1158015610171573d5f5f3e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f5f5f60608486031215610272575f5ffd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f5ffd5b8401601f810186136102b8575f5ffd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f5ffd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f5ffd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea2646970667358221220096ef5373ffbb308f5aaba93487a526eb7720bc0709046bc95ce238dee72824464736f6c63430008230033",
|
|
129
|
+
"deployedBytecode": "0x608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f5ffd5b348015610058575f5ffd5b506100616100fd565b005b34801561006e575f5ffd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f5ffd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f5ffd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f5ffd5b505af1158015610171573d5f5f3e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f5f5f60608486031215610272575f5ffd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f5ffd5b8401601f810186136102b8575f5ffd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f5ffd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f5ffd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea2646970667358221220096ef5373ffbb308f5aaba93487a526eb7720bc0709046bc95ce238dee72824464736f6c63430008230033",
|
|
130
130
|
"linkReferences": {},
|
|
131
131
|
"deployedLinkReferences": {},
|
|
132
132
|
"immutableReferences": {},
|
|
133
133
|
"inputSourceName": "project/contracts/ProxyArtifacts.sol",
|
|
134
|
-
"buildInfoId": "solc-
|
|
134
|
+
"buildInfoId": "solc-0_8_35-af6d7f63b2fca589d9b3a2ad6779fdf0c9bca04d"
|
|
135
135
|
}
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"type": "fallback"
|
|
115
115
|
}
|
|
116
116
|
],
|
|
117
|
-
"bytecode": "
|
|
118
|
-
"deployedBytecode": "
|
|
117
|
+
"bytecode": "0x60a0604052604051610d7d380380610d7d8339810160408190526100229161036c565b82828282818051610046576040516330a289cf60e21b815260040160405180910390fd5b61005082826100b1565b50508160405161005f90610330565b6001600160a01b039091168152602001604051809103905ff080158015610088573d5f5f3e3d5ffd5b506001600160a01b03166080526100a66100a160805190565b61010f565b50505050505061043d565b6100ba8261017c565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115610103576100fe82826101fa565b505050565b61010b61029b565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61014e5f516020610d5d5f395f51905f52546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a1610179816102bc565b50565b806001600160a01b03163b5f036101b657604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f61020784846102f9565b905080801561022857505f3d118061022857505f846001600160a01b03163b115b1561023d5761023561030c565b915050610295565b801561026757604051639996b31560e01b81526001600160a01b03851660048201526024016101ad565b3d1561027a57610275610325565b610293565b60405163d6bda27560e01b815260040160405180910390fd5b505b92915050565b34156102ba5760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102e557604051633173bdd160e11b81525f60048201526024016101ad565b805f516020610d5d5f395f51905f526101d9565b5f5f5f835160208501865af49392505050565b6040513d81523d5f602083013e3d602001810160405290565b6040513d5f823e3d81fd5b6104e68061087783390190565b80516001600160a01b0381168114610353575f5ffd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f5f5f6060848603121561037e575f5ffd5b6103878461033d565b92506103956020850161033d565b60408501519092506001600160401b038111156103b0575f5ffd5b8401601f810186136103c0575f5ffd5b80516001600160401b038111156103d9576103d9610358565b604051601f8201601f19908116603f011681016001600160401b038111828210171561040757610407610358565b60405281815282820160200188101561041e575f5ffd5b8160208401602083015e5f602083830101528093505050509250925092565b6080516104236104545f395f601001526104235ff3fe608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361007a575f356001600160e01b03191663278f794360e11b14610070576040516334ad5dbb60e21b815260040160405180910390fd5b610078610082565b565b6100786100b0565b5f8061009136600481846102e1565b81019061009e919061031c565b915091506100ac82826100c0565b5050565b6100786100bb61011a565b610151565b6100c98261016f565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101125761010d82826101ea565b505050565b6100ac61028b565b5f61014c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b365f5f375f5f365f845af43d5f5f3e80801561016b573d5ff35b3d5ffd5b806001600160a01b03163b5f036101a957604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f6101f784846102aa565b905080801561021857505f3d118061021857505f846001600160a01b03163b115b1561022d576102256102bd565b915050610285565b801561025757604051639996b31560e01b81526001600160a01b03851660048201526024016101a0565b3d1561026a576102656102d6565b610283565b60405163d6bda27560e01b815260040160405180910390fd5b505b92915050565b34156100785760405163b398979f60e01b815260040160405180910390fd5b5f5f5f835160208501865af49392505050565b6040513d81523d5f602083013e3d602001810160405290565b6040513d5f823e3d81fd5b5f5f858511156102ef575f5ffd5b838611156102fb575f5ffd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f5f6040838503121561032d575f5ffd5b82356001600160a01b0381168114610343575f5ffd5b9150602083013567ffffffffffffffff81111561035e575f5ffd5b8301601f8101851361036e575f5ffd5b803567ffffffffffffffff81111561038857610388610308565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103b7576103b7610308565b6040528181528282016020018710156103ce575f5ffd5b816020840160208301375f60208383010152809350505050925092905056fea2646970667358221220c6da87eea7b69da543d36ac7b83458efe061c9b7c29bf1c22b91b8a9cf8c0cab64736f6c634300082300336080604052348015600e575f5ffd5b506040516104e63803806104e6833981016040819052602b9160b4565b806001600160a01b038116605857604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b605f816065565b505060df565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121560c3575f5ffd5b81516001600160a01b038116811460d8575f5ffd5b9392505050565b6103fa806100ec5f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f5ffd5b348015610058575f5ffd5b506100616100fd565b005b34801561006e575f5ffd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f5ffd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f5ffd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f5ffd5b505af1158015610171573d5f5f3e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f5f5f60608486031215610272575f5ffd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f5ffd5b8401601f810186136102b8575f5ffd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f5ffd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f5ffd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122061b7d945b272496e3ce5c522b8dbecb68e8abd611b1db3dd20a954a93ec3c53664736f6c63430008230033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
|
|
118
|
+
"deployedBytecode": "0x608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361007a575f356001600160e01b03191663278f794360e11b14610070576040516334ad5dbb60e21b815260040160405180910390fd5b610078610082565b565b6100786100b0565b5f8061009136600481846102e1565b81019061009e919061031c565b915091506100ac82826100c0565b5050565b6100786100bb61011a565b610151565b6100c98261016f565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101125761010d82826101ea565b505050565b6100ac61028b565b5f61014c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b365f5f375f5f365f845af43d5f5f3e80801561016b573d5ff35b3d5ffd5b806001600160a01b03163b5f036101a957604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f6101f784846102aa565b905080801561021857505f3d118061021857505f846001600160a01b03163b115b1561022d576102256102bd565b915050610285565b801561025757604051639996b31560e01b81526001600160a01b03851660048201526024016101a0565b3d1561026a576102656102d6565b610283565b60405163d6bda27560e01b815260040160405180910390fd5b505b92915050565b34156100785760405163b398979f60e01b815260040160405180910390fd5b5f5f5f835160208501865af49392505050565b6040513d81523d5f602083013e3d602001810160405290565b6040513d5f823e3d81fd5b5f5f858511156102ef575f5ffd5b838611156102fb575f5ffd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f5f6040838503121561032d575f5ffd5b82356001600160a01b0381168114610343575f5ffd5b9150602083013567ffffffffffffffff81111561035e575f5ffd5b8301601f8101851361036e575f5ffd5b803567ffffffffffffffff81111561038857610388610308565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103b7576103b7610308565b6040528181528282016020018710156103ce575f5ffd5b816020840160208301375f60208383010152809350505050925092905056fea2646970667358221220c6da87eea7b69da543d36ac7b83458efe061c9b7c29bf1c22b91b8a9cf8c0cab64736f6c63430008230033",
|
|
119
119
|
"linkReferences": {},
|
|
120
120
|
"deployedLinkReferences": {},
|
|
121
121
|
"immutableReferences": {
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
129
|
"inputSourceName": "project/contracts/ProxyArtifacts.sol",
|
|
130
|
-
"buildInfoId": "solc-
|
|
130
|
+
"buildInfoId": "solc-0_8_35-af6d7f63b2fca589d9b3a2ad6779fdf0c9bca04d"
|
|
131
131
|
}
|
package/browser/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
|
|
2
|
-
import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json,
|
|
2
|
+
import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
|
|
3
3
|
export { BTreeMap, Bool, Bytes, Compact, Enum, Null, Option, Range, Result, Struct, Text, Tuple, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
|
|
5
5
|
export { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import { AccountId32, Percent, H160, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, Balance, Weight, AccountId20, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, BalanceOf, BlockNumberFor, BlockNumberOf, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H2048, H32, H512, HeaderPartial, I32F32, IndicesLookupSource, Justifications, KeyTypeId, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill, SignedBlock } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletCrosschainTransferSourceChain, PalletCrosschainTransferGatewayState, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferAssetKind, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, PalletEthereumVerifierBasicOperatingMode, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutTransferOutOfArgon, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesEthereumEthereumBeaconPreset, PalletEthereumVerifierSyncCommitteePrepared, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
8
|
+
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletCrosschainTransferSourceChain, PalletCrosschainTransferGatewayState, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferAssetKind, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, PalletEthereumVerifierBasicOperatingMode, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutTransferOutOfArgon, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesEthereumEthereumBeaconPreset, PalletEthereumVerifierSyncCommitteePrepared, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
9
9
|
export * from '@polkadot/types/lookup';
|
|
10
10
|
import { Observable, IExtrinsic } from '@polkadot/types/types';
|
|
11
11
|
import { AugmentedRpc } from '@polkadot/rpc-core/types';
|
|
@@ -1392,10 +1392,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1392
1392
|
BlockBodyHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1393
1393
|
BLSPreparePublicKeysFailed: AugmentedError<ApiType>;
|
|
1394
1394
|
BLSVerificationFailed: AugmentedError<ApiType>;
|
|
1395
|
+
ExecutionHeaderAnchorAlreadyImported: AugmentedError<ApiType>;
|
|
1396
|
+
ExecutionHeaderAnchorNotHistorical: AugmentedError<ApiType>;
|
|
1395
1397
|
ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
|
|
1396
1398
|
ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1397
1399
|
Halted: AugmentedError<ApiType>;
|
|
1398
1400
|
HeaderHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1401
|
+
InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
|
|
1399
1402
|
InvalidExecutionHeaderProof: AugmentedError<ApiType>;
|
|
1400
1403
|
/**
|
|
1401
1404
|
* The gap between finalized headers is larger than the retained historical window.
|
|
@@ -2971,6 +2974,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2971
2974
|
blockHash: H256;
|
|
2972
2975
|
slot: u64;
|
|
2973
2976
|
}>;
|
|
2977
|
+
ExecutionHeaderAnchorBackfilled: AugmentedEvent<ApiType, [
|
|
2978
|
+
beaconRoot: H256,
|
|
2979
|
+
slot: u64,
|
|
2980
|
+
blockHash: H256,
|
|
2981
|
+
blockNumber: u64
|
|
2982
|
+
], {
|
|
2983
|
+
beaconRoot: H256;
|
|
2984
|
+
slot: u64;
|
|
2985
|
+
blockHash: H256;
|
|
2986
|
+
blockNumber: u64;
|
|
2987
|
+
}>;
|
|
2974
2988
|
ExecutionHeaderAnchorImported: AugmentedEvent<ApiType, [
|
|
2975
2989
|
blockHash: H256,
|
|
2976
2990
|
blockNumber: u64
|
|
@@ -6095,6 +6109,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6095
6109
|
PalletEthereumVerifierCheckpointUpdate,
|
|
6096
6110
|
PalletEthereumVerifierForkVersions
|
|
6097
6111
|
]>;
|
|
6112
|
+
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<(expectedBeaconRoot: H256 | string | Uint8Array, header: SnowbridgeBeaconPrimitivesBeaconHeader | {
|
|
6113
|
+
slot?: any;
|
|
6114
|
+
proposerIndex?: any;
|
|
6115
|
+
parentRoot?: any;
|
|
6116
|
+
stateRoot?: any;
|
|
6117
|
+
bodyRoot?: any;
|
|
6118
|
+
} | string | Uint8Array, executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof | {
|
|
6119
|
+
executionHeader?: any;
|
|
6120
|
+
executionBranch?: any;
|
|
6121
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6122
|
+
H256,
|
|
6123
|
+
SnowbridgeBeaconPrimitivesBeaconHeader,
|
|
6124
|
+
PalletEthereumVerifierExecutionHeaderProof
|
|
6125
|
+
]>;
|
|
6098
6126
|
/**
|
|
6099
6127
|
* Halt or resume all pallet operations. May only be called by root.
|
|
6100
6128
|
**/
|
|
@@ -8249,52 +8277,6 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
8249
8277
|
}
|
|
8250
8278
|
}
|
|
8251
8279
|
|
|
8252
|
-
/** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof */
|
|
8253
|
-
interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
|
|
8254
|
-
readonly nodes: Vec<Bytes>;
|
|
8255
|
-
readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
|
|
8256
|
-
}
|
|
8257
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof */
|
|
8258
|
-
interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
|
|
8259
|
-
readonly anchorBlockHash: H256;
|
|
8260
|
-
readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
|
|
8261
|
-
}
|
|
8262
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionHeader */
|
|
8263
|
-
interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
|
|
8264
|
-
readonly rlp: Bytes;
|
|
8265
|
-
}
|
|
8266
|
-
/** @name ArgonPrimitivesEthereumEthereumLog */
|
|
8267
|
-
interface ArgonPrimitivesEthereumEthereumLog extends Struct {
|
|
8268
|
-
readonly address: H160;
|
|
8269
|
-
readonly topics: Vec<H256>;
|
|
8270
|
-
readonly data: Bytes;
|
|
8271
|
-
}
|
|
8272
|
-
/** @name ArgonPrimitivesEthereumEthereumProof */
|
|
8273
|
-
interface ArgonPrimitivesEthereumEthereumProof extends Struct {
|
|
8274
|
-
readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
8275
|
-
readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
|
|
8276
|
-
}
|
|
8277
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptLog */
|
|
8278
|
-
interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
|
|
8279
|
-
readonly transactionIndex: Compact<u64>;
|
|
8280
|
-
readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
|
|
8281
|
-
}
|
|
8282
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt */
|
|
8283
|
-
interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
|
|
8284
|
-
readonly transactionIndex: Compact<u64>;
|
|
8285
|
-
readonly nodeIndexes: Vec<u16>;
|
|
8286
|
-
}
|
|
8287
|
-
/** @name ArgonPrimitivesEthereumEthereumVerifyError */
|
|
8288
|
-
interface ArgonPrimitivesEthereumEthereumVerifyError extends Enum {
|
|
8289
|
-
readonly isVerifierUnavailable: boolean;
|
|
8290
|
-
readonly isAnchorNotFound: boolean;
|
|
8291
|
-
readonly isInvalidHeader: boolean;
|
|
8292
|
-
readonly isInvalidHeaderChain: boolean;
|
|
8293
|
-
readonly isLogNotFound: boolean;
|
|
8294
|
-
readonly isInvalidProof: boolean;
|
|
8295
|
-
readonly type: 'VerifierUnavailable' | 'AnchorNotFound' | 'InvalidHeader' | 'InvalidHeaderChain' | 'LogNotFound' | 'InvalidProof';
|
|
8296
|
-
}
|
|
8297
|
-
|
|
8298
8280
|
declare module '@polkadot/types/types/registry' {
|
|
8299
8281
|
interface InterfaceTypes {
|
|
8300
8282
|
AbridgedCandidateReceipt: AbridgedCandidateReceipt;
|
|
@@ -8333,14 +8315,6 @@ declare module '@polkadot/types/types/registry' {
|
|
|
8333
8315
|
ApprovalFlag: ApprovalFlag;
|
|
8334
8316
|
Approvals: Approvals;
|
|
8335
8317
|
ApprovalVotingParams: ApprovalVotingParams;
|
|
8336
|
-
ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
|
|
8337
|
-
ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
8338
|
-
ArgonPrimitivesEthereumEthereumExecutionHeader: ArgonPrimitivesEthereumEthereumExecutionHeader;
|
|
8339
|
-
ArgonPrimitivesEthereumEthereumLog: ArgonPrimitivesEthereumEthereumLog;
|
|
8340
|
-
ArgonPrimitivesEthereumEthereumProof: ArgonPrimitivesEthereumEthereumProof;
|
|
8341
|
-
ArgonPrimitivesEthereumEthereumReceiptLog: ArgonPrimitivesEthereumEthereumReceiptLog;
|
|
8342
|
-
ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
|
|
8343
|
-
ArgonPrimitivesEthereumEthereumVerifyError: ArgonPrimitivesEthereumEthereumVerifyError;
|
|
8344
8318
|
ArithmeticError: ArithmeticError;
|
|
8345
8319
|
AssetApproval: AssetApproval;
|
|
8346
8320
|
AssetApprovalKey: AssetApprovalKey;
|
|
@@ -11074,6 +11048,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11074
11048
|
readonly blockHash: H256;
|
|
11075
11049
|
readonly blockNumber: u64;
|
|
11076
11050
|
} & Struct;
|
|
11051
|
+
readonly isExecutionHeaderAnchorBackfilled: boolean;
|
|
11052
|
+
readonly asExecutionHeaderAnchorBackfilled: {
|
|
11053
|
+
readonly beaconRoot: H256;
|
|
11054
|
+
readonly slot: u64;
|
|
11055
|
+
readonly blockHash: H256;
|
|
11056
|
+
readonly blockNumber: u64;
|
|
11057
|
+
} & Struct;
|
|
11077
11058
|
readonly isSyncCommitteeUpdated: boolean;
|
|
11078
11059
|
readonly asSyncCommitteeUpdated: {
|
|
11079
11060
|
readonly period: u64;
|
|
@@ -11082,7 +11063,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11082
11063
|
readonly asOperatingModeChanged: {
|
|
11083
11064
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
11084
11065
|
} & Struct;
|
|
11085
|
-
readonly type: 'BeaconHeaderImported' | 'ExecutionHeaderAnchorImported' | 'SyncCommitteeUpdated' | 'OperatingModeChanged';
|
|
11066
|
+
readonly type: 'BeaconHeaderImported' | 'ExecutionHeaderAnchorImported' | 'ExecutionHeaderAnchorBackfilled' | 'SyncCommitteeUpdated' | 'OperatingModeChanged';
|
|
11086
11067
|
}
|
|
11087
11068
|
/** @name PalletEthereumVerifierBasicOperatingMode (127) */
|
|
11088
11069
|
interface PalletEthereumVerifierBasicOperatingMode extends Enum {
|
|
@@ -12237,11 +12218,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
12237
12218
|
readonly asSubmit: {
|
|
12238
12219
|
readonly update: PalletEthereumVerifierUpdate;
|
|
12239
12220
|
} & Struct;
|
|
12221
|
+
readonly isImportTrustedExecutionHeaderBackfill: boolean;
|
|
12222
|
+
readonly asImportTrustedExecutionHeaderBackfill: {
|
|
12223
|
+
readonly expectedBeaconRoot: H256;
|
|
12224
|
+
readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
12225
|
+
readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
|
|
12226
|
+
} & Struct;
|
|
12240
12227
|
readonly isSetOperatingMode: boolean;
|
|
12241
12228
|
readonly asSetOperatingMode: {
|
|
12242
12229
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
12243
12230
|
} & Struct;
|
|
12244
|
-
readonly type: 'ForceCheckpoint' | 'Submit' | 'SetOperatingMode';
|
|
12231
|
+
readonly type: 'ForceCheckpoint' | 'Submit' | 'ImportTrustedExecutionHeaderBackfill' | 'SetOperatingMode';
|
|
12245
12232
|
}
|
|
12246
12233
|
/** @name PalletEthereumVerifierCheckpointUpdate (281) */
|
|
12247
12234
|
interface PalletEthereumVerifierCheckpointUpdate extends Struct {
|
|
@@ -13197,6 +13184,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13197
13184
|
readonly timestampMillis: Compact<u64>;
|
|
13198
13185
|
readonly blockHash: H256;
|
|
13199
13186
|
readonly parentHash: H256;
|
|
13187
|
+
readonly stateRoot: H256;
|
|
13200
13188
|
readonly receiptsRoot: H256;
|
|
13201
13189
|
}
|
|
13202
13190
|
/** @name PalletEthereumVerifierSyncCommitteePrepared (534) */
|
|
@@ -13241,6 +13229,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
13241
13229
|
readonly isInvalidSyncCommitteeMerkleProof: boolean;
|
|
13242
13230
|
readonly isInvalidExecutionHeaderProof: boolean;
|
|
13243
13231
|
readonly isInvalidFinalizedHeaderGap: boolean;
|
|
13232
|
+
readonly isInvalidBackfillHeaderRoot: boolean;
|
|
13233
|
+
readonly isExecutionHeaderAnchorAlreadyImported: boolean;
|
|
13234
|
+
readonly isExecutionHeaderAnchorNotHistorical: boolean;
|
|
13244
13235
|
readonly isHeaderHashTreeRootFailed: boolean;
|
|
13245
13236
|
readonly isBlockBodyHashTreeRootFailed: boolean;
|
|
13246
13237
|
readonly isSyncCommitteeHashTreeRootFailed: boolean;
|
|
@@ -13253,7 +13244,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13253
13244
|
readonly isInvalidUpdateSlot: boolean;
|
|
13254
13245
|
readonly isInvalidSyncCommitteeUpdate: boolean;
|
|
13255
13246
|
readonly isHalted: boolean;
|
|
13256
|
-
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'UnexpectedBeaconPreset' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
13247
|
+
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'InvalidBackfillHeaderRoot' | 'ExecutionHeaderAnchorAlreadyImported' | 'ExecutionHeaderAnchorNotHistorical' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'UnexpectedBeaconPreset' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
13257
13248
|
}
|
|
13258
13249
|
/** @name PalletCrosschainTransferGlobalIssuanceCouncil (546) */
|
|
13259
13250
|
interface PalletCrosschainTransferGlobalIssuanceCouncil extends Struct {
|
|
@@ -13743,6 +13734,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
13743
13734
|
isFunded: boolean;
|
|
13744
13735
|
createdAtArgonBlock: number;
|
|
13745
13736
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
13737
|
+
couponFeesPaid: bigint;
|
|
13746
13738
|
constructor(data: IBitcoinLock);
|
|
13747
13739
|
/**
|
|
13748
13740
|
* Gets the UTXO reference by ID.
|
|
@@ -13903,6 +13895,7 @@ interface IBitcoinLock {
|
|
|
13903
13895
|
utxoSatoshis?: bigint;
|
|
13904
13896
|
vaultPubkey: string;
|
|
13905
13897
|
securityFees: bigint;
|
|
13898
|
+
couponFeesPaid: bigint;
|
|
13906
13899
|
vaultClaimPubkey: string;
|
|
13907
13900
|
ownerPubkey: string;
|
|
13908
13901
|
vaultXpubSources: {
|
|
@@ -14202,6 +14195,77 @@ declare function buildGatewayActivityProofPayload(client: IArgonQueryable & Pick
|
|
|
14202
14195
|
throughExecutionBlockNumber?: bigint;
|
|
14203
14196
|
}): Promise<EthereumGatewayActivityProofPayload | null>;
|
|
14204
14197
|
|
|
14198
|
+
declare function buildExecutionHeaderProof(finalizedHeader: EthereumLightClientHeader): {
|
|
14199
|
+
executionHeader: {
|
|
14200
|
+
Deneb: {
|
|
14201
|
+
blobGasUsed: string;
|
|
14202
|
+
excessBlobGas: string;
|
|
14203
|
+
parentHash: string;
|
|
14204
|
+
feeRecipient: string;
|
|
14205
|
+
stateRoot: string;
|
|
14206
|
+
receiptsRoot: string;
|
|
14207
|
+
logsBloom: string;
|
|
14208
|
+
prevRandao: string;
|
|
14209
|
+
blockNumber: string;
|
|
14210
|
+
gasLimit: string;
|
|
14211
|
+
gasUsed: string;
|
|
14212
|
+
timestamp: string;
|
|
14213
|
+
extraData: string;
|
|
14214
|
+
baseFeePerGas: string;
|
|
14215
|
+
blockHash: string;
|
|
14216
|
+
transactionsRoot: string;
|
|
14217
|
+
withdrawalsRoot: string;
|
|
14218
|
+
};
|
|
14219
|
+
Capella?: undefined;
|
|
14220
|
+
} | {
|
|
14221
|
+
Capella: {
|
|
14222
|
+
parentHash: string;
|
|
14223
|
+
feeRecipient: string;
|
|
14224
|
+
stateRoot: string;
|
|
14225
|
+
receiptsRoot: string;
|
|
14226
|
+
logsBloom: string;
|
|
14227
|
+
prevRandao: string;
|
|
14228
|
+
blockNumber: string;
|
|
14229
|
+
gasLimit: string;
|
|
14230
|
+
gasUsed: string;
|
|
14231
|
+
timestamp: string;
|
|
14232
|
+
extraData: string;
|
|
14233
|
+
baseFeePerGas: string;
|
|
14234
|
+
blockHash: string;
|
|
14235
|
+
transactionsRoot: string;
|
|
14236
|
+
withdrawalsRoot: string;
|
|
14237
|
+
};
|
|
14238
|
+
Deneb?: undefined;
|
|
14239
|
+
};
|
|
14240
|
+
executionBranch: `0x${string}`[];
|
|
14241
|
+
};
|
|
14242
|
+
|
|
14243
|
+
type EthereumExecutionHeaderBackfillPayload = {
|
|
14244
|
+
targetExecutionBlockNumber: bigint;
|
|
14245
|
+
expectedBeaconRoot: Hex;
|
|
14246
|
+
header: {
|
|
14247
|
+
slot: string;
|
|
14248
|
+
proposerIndex: string;
|
|
14249
|
+
parentRoot: Hex;
|
|
14250
|
+
stateRoot: Hex;
|
|
14251
|
+
bodyRoot: Hex;
|
|
14252
|
+
};
|
|
14253
|
+
executionHeaderProof: ReturnType<typeof buildExecutionHeaderProof>;
|
|
14254
|
+
executionBlockNumber: bigint;
|
|
14255
|
+
executionBlockHash: Hex;
|
|
14256
|
+
};
|
|
14257
|
+
declare function buildGatewayExecutionHeaderBackfill(client: IArgonQueryable & Pick<ArgonClient, 'consts'>, options: EthereumExecutionSource & {
|
|
14258
|
+
beaconApiUrl: string;
|
|
14259
|
+
gatewayAddress: Hex;
|
|
14260
|
+
throughExecutionBlockNumber?: bigint;
|
|
14261
|
+
targetExecutionBlockNumber?: bigint;
|
|
14262
|
+
}): Promise<EthereumExecutionHeaderBackfillPayload | null>;
|
|
14263
|
+
declare function buildGatewayExecutionHeaderBackfills(client: IArgonQueryable & Pick<ArgonClient, 'consts'>, options: EthereumExecutionSource & {
|
|
14264
|
+
beaconApiUrl: string;
|
|
14265
|
+
gatewayAddress: Hex;
|
|
14266
|
+
throughExecutionBlockNumber?: bigint;
|
|
14267
|
+
}): Promise<EthereumExecutionHeaderBackfillPayload[]>;
|
|
14268
|
+
|
|
14205
14269
|
type EthereumBeaconSyncState = {
|
|
14206
14270
|
isBootstrapped: false;
|
|
14207
14271
|
hasNextSyncCommittee: boolean;
|
|
@@ -14236,4 +14300,4 @@ declare function waitForLoad(): Promise<void>;
|
|
|
14236
14300
|
declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
|
|
14237
14301
|
declare function getOfflineRegistry(): TypeRegistry;
|
|
14238
14302
|
|
|
14239
|
-
export { type ArgonClient, type ArgonFinalizedExecutionHeader, ArgonFinalizedExecutionHeaderPathError, BitcoinLock, type EthereumBeaconBlockResponse, type EthereumBeaconConfigSpecResponse, type EthereumBeaconGenesisResponse, type EthereumBeaconHeaderDetailsResponse, type EthereumEventLocator, type EthereumEventLocatorBlock, type EthereumEventLog, type EthereumEventProof, type EthereumExecutionClient, type EthereumExecutionSource, type EthereumGatewayActivity, type EthereumGatewayActivityProofPayload, type EthereumLightClientBootstrapResponse, type EthereumLightClientHeader, type EthereumLightClientUpdate, type EthereumReceipt, type EthereumVersionedLightClientUpdate, EvmContracts, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ISubmittableOptions, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, PERMILL_DECIMALS, PriceIndex, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, buildExecutionHeaderChain, buildGatewayActivityProofPayload, checkForExtrinsicSuccess, createKeyringPair, decodeEthereumGatewayActivityLog, decodeEthereumTransferToArgonStartedLog, dispatchErrorToExtrinsicError, dispatchErrorToString, encodeEthereumReceiptForProof, encodeReceiptTrieKey, findEthereumTransferToArgonStartedLogIndexes, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestArgonFinalizedExecutionHeader, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, keyringFromSuri, loadExecutionHeader, toFixedNumber, waitForArgonFinalizedExecutionHeader, waitForLoad };
|
|
14303
|
+
export { type ArgonClient, type ArgonFinalizedExecutionHeader, ArgonFinalizedExecutionHeaderPathError, BitcoinLock, type EthereumBeaconBlockResponse, type EthereumBeaconConfigSpecResponse, type EthereumBeaconGenesisResponse, type EthereumBeaconHeaderDetailsResponse, type EthereumEventLocator, type EthereumEventLocatorBlock, type EthereumEventLog, type EthereumEventProof, type EthereumExecutionClient, type EthereumExecutionHeaderBackfillPayload, type EthereumExecutionSource, type EthereumGatewayActivity, type EthereumGatewayActivityProofPayload, type EthereumLightClientBootstrapResponse, type EthereumLightClientHeader, type EthereumLightClientUpdate, type EthereumReceipt, type EthereumVersionedLightClientUpdate, EvmContracts, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ISubmittableOptions, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, PERMILL_DECIMALS, PriceIndex, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, buildExecutionHeaderChain, buildGatewayActivityProofPayload, buildGatewayExecutionHeaderBackfill, buildGatewayExecutionHeaderBackfills, checkForExtrinsicSuccess, createKeyringPair, decodeEthereumGatewayActivityLog, decodeEthereumTransferToArgonStartedLog, dispatchErrorToExtrinsicError, dispatchErrorToString, encodeEthereumReceiptForProof, encodeReceiptTrieKey, findEthereumTransferToArgonStartedLogIndexes, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestArgonFinalizedExecutionHeader, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, keyringFromSuri, loadExecutionHeader, toFixedNumber, waitForArgonFinalizedExecutionHeader, waitForLoad };
|