-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes
Abi.decodeEvent(data:Bytes)
method interface to `Abi.decode…
…Event(record:EventRecord)` which includes the event and the topic for decoding.
- Loading branch information
Showing
8 changed files
with
258 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/types-support/src/metadata/static-substrate-contracts-node.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2017-2024 @polkadot/types-support authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import metadata from './v14/substrate-contracts-node-hex.js'; | ||
import rpc from './v14/substrate-contracts-node-rpc.js'; | ||
import version from './v14/substrate-contracts-node-ver.js'; | ||
|
||
export { rpc, version }; | ||
|
||
export default metadata; |
8 changes: 8 additions & 0 deletions
8
packages/types-support/src/metadata/v14/substrate-contracts-node-hex.ts
Large diffs are not rendered by default.
Oops, something went wrong.
108 changes: 108 additions & 0 deletions
108
packages/types-support/src/metadata/v14/substrate-contracts-node-rpc.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
// Copyright 2017-2024 @polkadot/types-support authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
/* eslint-disable */ | ||
|
||
// cargo run --release -- purge-chain -y --dev && cargo run --release -- --dev | ||
|
||
export default { | ||
"methods": [ | ||
"account_nextIndex", | ||
"author_hasKey", | ||
"author_hasSessionKeys", | ||
"author_insertKey", | ||
"author_pendingExtrinsics", | ||
"author_removeExtrinsic", | ||
"author_rotateKeys", | ||
"author_submitAndWatchExtrinsic", | ||
"author_submitExtrinsic", | ||
"author_unwatchExtrinsic", | ||
"chainHead_unstable_body", | ||
"chainHead_unstable_call", | ||
"chainHead_unstable_continue", | ||
"chainHead_unstable_follow", | ||
"chainHead_unstable_genesisHash", | ||
"chainHead_unstable_header", | ||
"chainHead_unstable_stopOperation", | ||
"chainHead_unstable_storage", | ||
"chainHead_unstable_unfollow", | ||
"chainHead_unstable_unpin", | ||
"chain_getBlock", | ||
"chain_getBlockHash", | ||
"chain_getFinalisedHead", | ||
"chain_getFinalizedHead", | ||
"chain_getHead", | ||
"chain_getHeader", | ||
"chain_getRuntimeVersion", | ||
"chain_subscribeAllHeads", | ||
"chain_subscribeFinalisedHeads", | ||
"chain_subscribeFinalizedHeads", | ||
"chain_subscribeNewHead", | ||
"chain_subscribeNewHeads", | ||
"chain_subscribeRuntimeVersion", | ||
"chain_unsubscribeAllHeads", | ||
"chain_unsubscribeFinalisedHeads", | ||
"chain_unsubscribeFinalizedHeads", | ||
"chain_unsubscribeNewHead", | ||
"chain_unsubscribeNewHeads", | ||
"chain_unsubscribeRuntimeVersion", | ||
"childstate_getKeys", | ||
"childstate_getKeysPaged", | ||
"childstate_getKeysPagedAt", | ||
"childstate_getStorage", | ||
"childstate_getStorageEntries", | ||
"childstate_getStorageHash", | ||
"childstate_getStorageSize", | ||
"offchain_localStorageGet", | ||
"offchain_localStorageSet", | ||
"payment_queryFeeDetails", | ||
"payment_queryInfo", | ||
"state_call", | ||
"state_callAt", | ||
"state_getChildReadProof", | ||
"state_getKeys", | ||
"state_getKeysPaged", | ||
"state_getKeysPagedAt", | ||
"state_getMetadata", | ||
"state_getPairs", | ||
"state_getReadProof", | ||
"state_getRuntimeVersion", | ||
"state_getStorage", | ||
"state_getStorageAt", | ||
"state_getStorageHash", | ||
"state_getStorageHashAt", | ||
"state_getStorageSize", | ||
"state_getStorageSizeAt", | ||
"state_queryStorage", | ||
"state_queryStorageAt", | ||
"state_subscribeRuntimeVersion", | ||
"state_subscribeStorage", | ||
"state_traceBlock", | ||
"state_unsubscribeRuntimeVersion", | ||
"state_unsubscribeStorage", | ||
"subscribe_newHead", | ||
"system_accountNextIndex", | ||
"system_addLogFilter", | ||
"system_addReservedPeer", | ||
"system_chain", | ||
"system_chainType", | ||
"system_dryRun", | ||
"system_dryRunAt", | ||
"system_health", | ||
"system_localListenAddresses", | ||
"system_localPeerId", | ||
"system_name", | ||
"system_nodeRoles", | ||
"system_peers", | ||
"system_properties", | ||
"system_removeReservedPeer", | ||
"system_reservedPeers", | ||
"system_resetLogFilter", | ||
"system_syncState", | ||
"system_unstable_networkState", | ||
"system_version", | ||
"transaction_unstable_submitAndWatch", | ||
"transaction_unstable_unwatch", | ||
"unsubscribe_newHead" | ||
] | ||
}; |
58 changes: 58 additions & 0 deletions
58
packages/types-support/src/metadata/v14/substrate-contracts-node-ver.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// Copyright 2017-2024 @polkadot/types-support authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
/* eslint-disable */ | ||
|
||
// cargo run --release -- purge-chain -y --dev && cargo run --release -- --dev | ||
|
||
export default { | ||
"specName": "substrate-contracts-node", | ||
"implName": "substrate-contracts-node", | ||
"authoringVersion": 1, | ||
"specVersion": 100, | ||
"implVersion": 1, | ||
"apis": [ | ||
[ | ||
"0xdf6acb689907609b", | ||
4 | ||
], | ||
[ | ||
"0x37e397fc7c91f5e4", | ||
2 | ||
], | ||
[ | ||
"0x40fe3ad401f8959a", | ||
6 | ||
], | ||
[ | ||
"0xd2bc9897eed08f15", | ||
3 | ||
], | ||
[ | ||
"0xf78b278be53f454c", | ||
2 | ||
], | ||
[ | ||
"0xab3c0572291feb8b", | ||
1 | ||
], | ||
[ | ||
"0xbc9d89904f5b923f", | ||
1 | ||
], | ||
[ | ||
"0x37c8bb1350a9a2a8", | ||
4 | ||
], | ||
[ | ||
"0xf3ff14d5ab527059", | ||
3 | ||
], | ||
[ | ||
"0x68b66ba122c93fa7", | ||
2 | ||
] | ||
], | ||
"transactionVersion": 1, | ||
"stateVersion": 1 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters