@recoillink/cli 0.0.0-stage → 45.0.1

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 (81) hide show
  1. package/LICENSE.md +193 -0
  2. package/README.md +149 -2
  3. package/bundle/154.index.js +462 -0
  4. package/bundle/230.index.js +569 -0
  5. package/bundle/25.index.js +9569 -0
  6. package/bundle/267.index.js +1386 -0
  7. package/bundle/308.index.js +5121 -0
  8. package/bundle/367.index.js +4 -0
  9. package/bundle/369.index.js +3443 -0
  10. package/bundle/529.index.js +3596 -0
  11. package/bundle/576.index.js +36 -0
  12. package/bundle/610.index.js +86 -0
  13. package/bundle/617.index.js +1612 -0
  14. package/bundle/628.index.js +152 -0
  15. package/bundle/633.index.js +86 -0
  16. package/bundle/697.index.js +410 -0
  17. package/bundle/7183ea1c1bf0a5da980d.js +214 -0
  18. package/bundle/748.index.js +672 -0
  19. package/bundle/78.index.js +372 -0
  20. package/bundle/841.index.js +2093 -0
  21. package/bundle/868.index.js +290 -0
  22. package/bundle/902.index.js +173 -0
  23. package/bundle/956.index.js +9901 -0
  24. package/bundle/aleo_wasm.wasm +0 -0
  25. package/bundle/aleo_wasm1.wasm +0 -0
  26. package/bundle/build/Release/bigint_buffer.node +0 -0
  27. package/bundle/file.js +12 -0
  28. package/bundle/index.js +4 -0
  29. package/bundle/package.json +3 -0
  30. package/bundle/worker-pipeline.js +38 -0
  31. package/bundle/worker.js +54 -0
  32. package/bundle/worker1.js +171 -0
  33. package/bundle/worker2.js +19834 -0
  34. package/bundle/worker3.js +19834 -0
  35. package/examples/aleo/core-config.yaml +19 -0
  36. package/examples/ccip/ccip-warp-route.yaml +26 -0
  37. package/examples/ccip/multi-chain-ccip-warp-route.yaml +81 -0
  38. package/examples/chain-config.yaml +42 -0
  39. package/examples/contract-artifacts.yaml +20 -0
  40. package/examples/core-config.yaml +19 -0
  41. package/examples/cosmosnative/core-config.yaml +20 -0
  42. package/examples/cosmosnative/warp-route-deployment.yaml +21 -0
  43. package/examples/crosschain/README.md +31 -0
  44. package/examples/crosschain/cosmosnative/core-config.yaml +69 -0
  45. package/examples/crosschain/ethereum/core-config.yaml +70 -0
  46. package/examples/crosschain/radix/core-config.yaml +96 -0
  47. package/examples/fork/file-transactions.yaml +5 -0
  48. package/examples/fork/timelock-testing.yaml +36 -0
  49. package/examples/fork/warp-route-update.yaml +100 -0
  50. package/examples/hooks.yaml +70 -0
  51. package/examples/ism-advanced.yaml +33 -0
  52. package/examples/ism.yaml +13 -0
  53. package/examples/radix/core-config.yaml +29 -0
  54. package/examples/sealevel/core-config-apply.yaml +7 -0
  55. package/examples/sealevel/core-config-composite-ism.yaml +21 -0
  56. package/examples/sealevel/core-config.yaml +12 -0
  57. package/examples/sealevel/igp-hook-config.yaml +13 -0
  58. package/examples/sealevel/warp-config-routing-message-id-multisig-ism.yaml +21 -0
  59. package/examples/starknet/core-config.yaml +20 -0
  60. package/examples/submit/strategy/file-strategy.yaml +8 -0
  61. package/examples/submit/strategy/gnosis-chain-strategy.yaml +10 -0
  62. package/examples/submit/strategy/gnosis-chain-tx-builder-strategy.yaml +6 -0
  63. package/examples/submit/strategy/gnosis-strategy-avalanche.yaml +4 -0
  64. package/examples/submit/strategy/gnosis-tx-builder-ica-strategy.yaml +20 -0
  65. package/examples/submit/strategy/ica-timelock-strategy.yaml +15 -0
  66. package/examples/submit/strategy/impersonated-account-strategy.yaml +4 -0
  67. package/examples/submit/strategy/json-rpc-chain-strategy.yaml +8 -0
  68. package/examples/submit/strategy/json-rpc-ica-strategy.yaml +13 -0
  69. package/examples/submit/strategy/json-rpc-strategy.yaml +3 -0
  70. package/examples/submit/strategy/json-rpc-timelock-strategy.yaml +17 -0
  71. package/examples/submit/strategy/starknet-json-rpc-chain-strategy.yaml +11 -0
  72. package/examples/submit/transactions/anvil-transactions.yaml +10 -0
  73. package/examples/submit/transactions/avalanche-transactions.json +8 -0
  74. package/examples/submit/transactions/sepolia-transactions.json +8 -0
  75. package/examples/tron-core-config.yaml +18 -0
  76. package/examples/warp-base.yaml +24 -0
  77. package/examples/warp-config-predicate-mainnet.yaml +14 -0
  78. package/examples/warp-deployed-predicate-mainnet.yaml +19 -0
  79. package/examples/warp-ethereum.yaml +19 -0
  80. package/examples/warp-route-deployment.yaml +21 -0
  81. package/package.json +117 -3
@@ -0,0 +1,70 @@
1
+ # A config to define the hooks for core contract deployments
2
+ # Ideally, use the `rlink config create hooks` command to generate this file
3
+ # but you we can refer to https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/typescript/sdk/src/hook/types.ts for the matching types
4
+
5
+ # HooksConfig:
6
+ # required: HookConfig
7
+ # default: HookConfig
8
+
9
+ # HookConfig:
10
+ # type: HookType
11
+ # ... hook-specific config
12
+
13
+ # HookType:
14
+ # - merkleTreeHook
15
+ # - domainRoutingHook
16
+ # - interchainGasPaymaster
17
+ # - protocolFee
18
+ # - aggregationHook
19
+ # - opStack (not yet supported)
20
+
21
+ anvil1:
22
+ required:
23
+ type: protocolFee
24
+ maxProtocolFee: '1000000000000000000' # in wei (string)
25
+ protocolFee: '200000000000000' # in wei (string)
26
+ beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
27
+ owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
28
+ default:
29
+ type: domainRoutingHook
30
+ owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
31
+ domains:
32
+ anvil2:
33
+ type: aggregationHook
34
+ hooks:
35
+ - type: merkleTreeHook
36
+ - type: interchainGasPaymaster
37
+ beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
38
+ owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
39
+ oracleKey: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
40
+ overhead:
41
+ anvil2: 50000 # gas amount (number)
42
+ oracleConfig:
43
+ anvil2:
44
+ gasPrice: '100'
45
+ tokenExchangeRate: '100'
46
+ anvil2:
47
+ required:
48
+ type: protocolFee
49
+ maxProtocolFee: '1000000000000000000'
50
+ protocolFee: '200000000000000'
51
+ beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
52
+ owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
53
+ default:
54
+ type: domainRoutingHook
55
+ owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
56
+ domains:
57
+ anvil1:
58
+ type: aggregationHook
59
+ hooks:
60
+ - type: merkleTreeHook
61
+ - type: interchainGasPaymaster
62
+ beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
63
+ owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
64
+ oracleKey: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
65
+ overhead:
66
+ anvil1: 50000
67
+ oracleConfig:
68
+ anvil1:
69
+ gasPrice: '100'
70
+ tokenExchangeRate: '100'
@@ -0,0 +1,33 @@
1
+ anvil1:
2
+ type: defaultFallbackRoutingIsm
3
+ owner: '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
4
+ domains:
5
+ anvil2:
6
+ type: staticAggregationIsm
7
+ modules:
8
+ - type: messageIdMultisigIsm
9
+ threshold: 1
10
+ validators:
11
+ - '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
12
+ - type: merkleRootMultisigIsm
13
+ threshold: 1
14
+ validators:
15
+ - '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
16
+ threshold: 1
17
+
18
+ anvil2:
19
+ type: domainRoutingIsm
20
+ owner: '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
21
+ domains:
22
+ anvil1:
23
+ type: staticAggregationIsm
24
+ modules:
25
+ - type: messageIdMultisigIsm
26
+ threshold: 1
27
+ validators:
28
+ - '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
29
+ - type: merkleRootMultisigIsm
30
+ threshold: 1
31
+ validators:
32
+ - '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
33
+ threshold: 1
@@ -0,0 +1,13 @@
1
+ # A config for a multisig Interchain Security Module (ISM)
2
+ # Schema: https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/typescript/sdk/src/ism/types.ts
3
+ #
4
+
5
+ ---
6
+ anvil1:
7
+ threshold: 1 # Number: Signatures required to approve a message
8
+ validators: # Array: List of validator addresses
9
+ - '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
10
+ anvil2:
11
+ threshold: 1
12
+ validators:
13
+ - '0xa0ee7a142d267c1f36714e4a8f75612f20a79720'
@@ -0,0 +1,29 @@
1
+ defaultHook:
2
+ beneficiary: account_loc12ytsy99ajzkwy7ce0444fs8avat7jy3fkj5mk64yz2z3yml6s7y7x3
3
+ oracleConfig:
4
+ radix2:
5
+ tokenExchangeRate: '347026904130352406214'
6
+ gasPrice: '201383436'
7
+ oracleKey: account_loc12ytsy99ajzkwy7ce0444fs8avat7jy3fkj5mk64yz2z3yml6s7y7x3
8
+ overhead:
9
+ radix2: 100
10
+ owner: account_loc12ytsy99ajzkwy7ce0444fs8avat7jy3fkj5mk64yz2z3yml6s7y7x3
11
+ type: interchainGasPaymaster
12
+ defaultIsm:
13
+ domains:
14
+ radix1:
15
+ domains:
16
+ radix2:
17
+ type: testIsm
18
+ owner: account_loc12ytsy99ajzkwy7ce0444fs8avat7jy3fkj5mk64yz2z3yml6s7y7x3
19
+ type: domainRoutingIsm
20
+
21
+ radix2:
22
+ validators: ['0x10E0271ec47d55511a047516f2a7301801d55eaB']
23
+ threshold: 1
24
+ type: messageIdMultisigIsm
25
+ owner: account_loc12ytsy99ajzkwy7ce0444fs8avat7jy3fkj5mk64yz2z3yml6s7y7x3
26
+ type: domainRoutingIsm
27
+ owner: account_loc12ytsy99ajzkwy7ce0444fs8avat7jy3fkj5mk64yz2z3yml6s7y7x3
28
+ requiredHook:
29
+ type: merkleTreeHook
@@ -0,0 +1,7 @@
1
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
2
+ defaultIsm:
3
+ type: testIsm
4
+ defaultHook:
5
+ type: merkleTreeHook
6
+ requiredHook:
7
+ type: merkleTreeHook
@@ -0,0 +1,21 @@
1
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
2
+ defaultIsm:
3
+ type: compositeIsm
4
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
5
+ root:
6
+ type: aggregation
7
+ threshold: 1
8
+ subIsms:
9
+ - type: trustedRelayer
10
+ relayer: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
11
+ - type: test
12
+ accept: true
13
+ defaultHook:
14
+ type: interchainGasPaymaster
15
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
16
+ beneficiary: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
17
+ oracleKey: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
18
+ overhead: {}
19
+ oracleConfig: {}
20
+ requiredHook:
21
+ type: merkleTreeHook
@@ -0,0 +1,12 @@
1
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
2
+ defaultIsm:
3
+ type: testIsm
4
+ defaultHook:
5
+ type: interchainGasPaymaster
6
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
7
+ beneficiary: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
8
+ oracleKey: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
9
+ overhead: {}
10
+ oracleConfig: {}
11
+ requiredHook:
12
+ type: merkleTreeHook
@@ -0,0 +1,13 @@
1
+ type: interchainGasPaymaster
2
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
3
+ beneficiary: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
4
+ oracleKey: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
5
+ overhead:
6
+ svmlocal1: 50000
7
+ oracleConfig:
8
+ svmlocal1:
9
+ gasPrice: '1'
10
+ tokenExchangeRate: '1000000000000000000'
11
+ contractVersion: '1.0.0'
12
+ quoteSigners:
13
+ - '0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
@@ -0,0 +1,21 @@
1
+ # Sealevel warp route whose ISM verifies each origin chain with its own
2
+ # message-id multisig (validators + threshold), held in a single deployment.
3
+ # Domain keys are chain names known to the registry. Adding a domain or
4
+ # changing a domain's validators/threshold updates the ISM in place; removing
5
+ # a domain deploys a new ISM and repoints the router to it.
6
+ svmlocal1:
7
+ type: native
8
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
9
+ interchainSecurityModule:
10
+ type: routingMessageIdMultisigIsm
11
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
12
+ domains:
13
+ anvil1:
14
+ validators:
15
+ - '0x1111111111111111111111111111111111111111'
16
+ - '0x2222222222222222222222222222222222222222'
17
+ threshold: 2
18
+ anvil2:
19
+ validators:
20
+ - '0x3333333333333333333333333333333333333333'
21
+ threshold: 1
@@ -0,0 +1,20 @@
1
+ defaultHook:
2
+ beneficiary: '0x064b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'
3
+ maxProtocolFee: '100'
4
+ owner: '0x064b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'
5
+ protocolFee: '10'
6
+ type: protocolFee
7
+ defaultIsm:
8
+ domains:
9
+ starknet1:
10
+ type: testIsm
11
+ starknet2:
12
+ threshold: 1
13
+ type: messageIdMultisigIsm
14
+ validators:
15
+ - '0x10E0271ec47d55511a047516f2a7301801d55eaB'
16
+ owner: '0x064b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'
17
+ type: domainRoutingIsm
18
+ owner: '0x064b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'
19
+ requiredHook:
20
+ type: merkleTreeHook
@@ -0,0 +1,8 @@
1
+ basefork:
2
+ submitter:
3
+ type: file
4
+ filepath: './generated/transactions/base_arbitrum_combined.json' # filepath to combined transactions array
5
+ arbitrumfork:
6
+ submitter:
7
+ type: file
8
+ filepath: './generated/transactions/base_arbitrum_combined.json' # filepath to combined transactions array
@@ -0,0 +1,10 @@
1
+ sepolia:
2
+ submitter:
3
+ type: gnosisSafe
4
+ chain: sepolia
5
+ safeAddress: '0x7fd32493Ca3A38cDf78A4cb74F32f6292f822aBe'
6
+ basesepolia:
7
+ submitter:
8
+ type: gnosisSafe
9
+ chain: basesepolia
10
+ safeAddress: '0x7fd32493Ca3A38cDf78A4cb74F32f6292f822aBe'
@@ -0,0 +1,6 @@
1
+ basesepolia:
2
+ submitter:
3
+ chain: 'basesepolia'
4
+ type: gnosisSafeTxBuilder
5
+ version: '1.0'
6
+ safeAddress: '0x7232Ad76d905ae9D8D00379359DDa744a7A21C46'
@@ -0,0 +1,4 @@
1
+ submitter:
2
+ type: gnosisSafe
3
+ chain: avalanche
4
+ safeAddress: '0x7fd32493Ca3A38cDf78A4cb74F32f6292f822aBe'
@@ -0,0 +1,20 @@
1
+ # The transactions to be sent on polygonamoy will be sent from
2
+ # basesepolia and submitted using a SAFE multisig wallet which
3
+ # is the owner of the ICA account on the remote chain. The transaction
4
+ # will then be relayed by a relayer on the destination chain and executed by the
5
+ # Interchain Account derived from the combination of the owner address, the origin chain
6
+ # and the ica router on the origin chain. See https://docs.hyperlane.xyz/docs/applications/interchain-account
7
+ polygonamoy:
8
+ submitter:
9
+ type: interchainAccount
10
+ # The origin chain for the ICA transactions
11
+ chain: basesepolia
12
+ # The destination chain for the transactions
13
+ destinationChain: polygonamoy
14
+ # The owner of the remote ICA account
15
+ owner: '0x32e02dDB233958834fcB5E93b11E254F8D1EAd1b'
16
+ internalSubmitter:
17
+ type: gnosisSafeTxBuilder
18
+ # The Gnosis Safe address. It must be equal to the owner field as
19
+ # the Safe is the owner of ICA account on the remote chain
20
+ safeAddress: '0x32e02dDB233958834fcB5E93b11E254F8D1EAd1b'
@@ -0,0 +1,15 @@
1
+ arbitrumsepolia:
2
+ submitter:
3
+ type: timelockController
4
+ chain: arbitrumsepolia
5
+ address: '0x7fd32493Ca3A38cDf78A4cb74F32f6292f822aBe'
6
+ # The transaction will be proposed by an ICA with a
7
+ # transaction originating from sepolia
8
+ proposerSubmitter:
9
+ type: interchainAccount
10
+ chain: sepolia
11
+ destinationChain: arbitrumsepolia
12
+ internalSubmitter:
13
+ # The safe is on sepolia because that is the origin chain for the ICA
14
+ type: gnosisSafeTxBuilder
15
+ safeAddress: '0x32e02dDB233958834fcB5E93b11E254F8D1EAd1b'
@@ -0,0 +1,4 @@
1
+ submitter:
2
+ chain: anvil2
3
+ type: impersonatedAccount
4
+ userAddress: '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb'
@@ -0,0 +1,8 @@
1
+ anvil2:
2
+ submitter:
3
+ chain: anvil2
4
+ type: jsonRpc
5
+ anvil3:
6
+ submitter:
7
+ chain: anvil3
8
+ type: jsonRpc
@@ -0,0 +1,13 @@
1
+ anvil3:
2
+ submitter:
3
+ type: interchainAccount
4
+ # The origin chain for the ICA transactions
5
+ chain: anvil2
6
+ # The destination chain for the transactions
7
+ destinationChain: anvil3
8
+ # The owner of the interchain account. It is required when the internal submitter is not a multisig.
9
+ owner: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266'
10
+ # Specifies how the ICA transactions will be sent to the destination chain. If omitted it
11
+ # will default to use a JSON RPC submitter
12
+ internalSubmitter:
13
+ type: jsonRpc
@@ -0,0 +1,3 @@
1
+ submitter:
2
+ chain: anvil2
3
+ type: jsonRpc
@@ -0,0 +1,17 @@
1
+ anvil3:
2
+ submitter:
3
+ type: timelockController
4
+ chain: anvil3
5
+ # Address of the deployed timelock
6
+ timelockAddress: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266'
7
+ # Optional, the salt to be used for computing the operation id
8
+ salt: '0x0000000000000000000000000000000000000000000000000000000000000000'
9
+ # Optional, minimum amount of time to wait for executing the operation
10
+ # after it has been proposed. By default it will use the minDelay configured on the timelock
11
+ delay: 0
12
+ # Optional, the id of the operation that should be executed before this one
13
+ predecessor: '0x0000000000000000000000000000000000000000000000000000000000000000'
14
+ # Optional, if not defined default to jsonRpc.
15
+ # Strategy to be used for proposing the transaction on the timelock.
16
+ proposerSubmitter:
17
+ type: jsonRpc
@@ -0,0 +1,11 @@
1
+ # Starknet JSON-RPC strategy example.
2
+ # Starknet submitters require both a private key and an account contract address.
3
+
4
+ starknetsepolia:
5
+ submitter:
6
+ chain: starknetsepolia
7
+ type: jsonRpc
8
+ # privateKey is loaded from --key.starknet or HYP_KEY_STARKNET.
9
+ # accountAddress can be provided here (preferred), via HYP_ACCOUNT_ADDRESS_STARKNET,
10
+ # or entered interactively.
11
+ accountAddress: '0x0123456789abcdef'
@@ -0,0 +1,10 @@
1
+ # Sends some eth
2
+ [
3
+ {
4
+ 'data': '0x00',
5
+ 'value': 1,
6
+ 'to': '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
7
+ 'from': '0x70997970C51812dc3A010C7d01b50e0d17dc79C8',
8
+ 'chainId': 31338,
9
+ },
10
+ ]
@@ -0,0 +1,8 @@
1
+ [
2
+ {
3
+ "data": "0x0e72cc06000000000000000000000000744ad987ee7c65d3b3333bfc3e6ecbf963eb872a",
4
+ "to": "0x9a4a3124F2a86bB5BE46267De85D31762b7a05Fd",
5
+ "from": "0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb",
6
+ "chainId": 43114
7
+ }
8
+ ]
@@ -0,0 +1,8 @@
1
+ [
2
+ {
3
+ "data": "0x0e72cc06000000000000000000000000744ad987ee7c65d3b3333bfc3e6ecbf963eb872a",
4
+ "to": "0x9a4a3124F2a86bB5BE46267De85D31762b7a05Fd",
5
+ "from": "0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb",
6
+ "chainId": 11155111
7
+ }
8
+ ]
@@ -0,0 +1,18 @@
1
+ # A config to define the core contract deployments for Tron test chains
2
+ # Uses the Tron deployer address (derived from BIP-44 m/44'/195'/0'/0/0)
3
+ # Note: Tron uses 6 decimals (sun) instead of 18 decimals (wei)
4
+ owner: '0xC8599111F29c1e1E061265b4AF93eA1F274aD78A'
5
+ defaultIsm:
6
+ type: 'testIsm'
7
+ defaultHook:
8
+ type: protocolFee
9
+ maxProtocolFee: '1000000000' # 1000 TRX in sun (6 decimals)
10
+ protocolFee: '200000' # 0.2 TRX in sun (6 decimals)
11
+ beneficiary: '0xC8599111F29c1e1E061265b4AF93eA1F274aD78A'
12
+ owner: '0xC8599111F29c1e1E061265b4AF93eA1F274aD78A'
13
+ requiredHook:
14
+ type: protocolFee
15
+ maxProtocolFee: '1000000000' # 1000 TRX in sun (6 decimals)
16
+ protocolFee: '200000' # 0.2 TRX in sun (6 decimals)
17
+ beneficiary: '0xC8599111F29c1e1E061265b4AF93eA1F274aD78A'
18
+ owner: '0xC8599111F29c1e1E061265b4AF93eA1F274aD78A'
@@ -0,0 +1,24 @@
1
+ base:
2
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
3
+ mailbox: '0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D'
4
+ hook:
5
+ type: predicateHook
6
+ address: '0x9995F95aaA827347Bc2AAbF862dF75Ead6E8b97a'
7
+ interchainSecurityModule: '0x0000000000000000000000000000000000000000'
8
+ remoteRouters:
9
+ '1':
10
+ address: '0x0000000000000000000000005f72c2d341884ddf0f8a18155d8172f56ae1eeec'
11
+ name: USD Coin
12
+ symbol: USDC
13
+ decimals: 6
14
+ isNft: false
15
+ contractVersion: 10.1.5
16
+ type: collateral
17
+ token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
18
+ allowedRebalancers: []
19
+ allowedRebalancingBridges: {}
20
+ proxyAdmin:
21
+ address: '0x475bB419502213fdb44d89ad94A1234fA3d7B2f9'
22
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
23
+ destinationGas:
24
+ '1': '64000'
@@ -0,0 +1,14 @@
1
+ base:
2
+ type: collateral
3
+ token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
4
+ mailbox: '0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D'
5
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
6
+ predicateWrapper:
7
+ predicateRegistry: '0xe15a8Ca5BD8464283818088c1760d8f23B6a216E'
8
+ policyId: 'x-managed-policy-157b68744498ccac3201a806ef6036ac'
9
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
10
+
11
+ ethereum:
12
+ type: synthetic
13
+ mailbox: '0xc005dc82818d67AF737725bD4bf75435d065D239'
14
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
@@ -0,0 +1,19 @@
1
+ tokens:
2
+ - chainName: base
3
+ standard: EvmHypCollateral
4
+ decimals: 6
5
+ symbol: USDC
6
+ name: USD Coin
7
+ addressOrDenom: '0x659CAFbe5A0A5B8357192E7C280Fd1f77C28Bd9C'
8
+ collateralAddressOrDenom: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
9
+ connections:
10
+ - token: 'ethereum|ethereum|0x5f72C2D341884Ddf0F8A18155d8172f56Ae1eEEc'
11
+
12
+ - chainName: ethereum
13
+ standard: EvmHypSynthetic
14
+ decimals: 6
15
+ symbol: USDC
16
+ name: USD Coin
17
+ addressOrDenom: '0x5f72C2D341884Ddf0F8A18155d8172f56Ae1eEEc'
18
+ connections:
19
+ - token: 'ethereum|base|0x659CAFbe5A0A5B8357192E7C280Fd1f77C28Bd9C'
@@ -0,0 +1,19 @@
1
+ ethereum:
2
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
3
+ mailbox: '0xc005dc82818d67AF737725bD4bf75435d065D239'
4
+ hook: '0x0000000000000000000000000000000000000000'
5
+ interchainSecurityModule: '0x0000000000000000000000000000000000000000'
6
+ remoteRouters:
7
+ '8453':
8
+ address: '0x000000000000000000000000659cafbe5a0a5b8357192e7c280fd1f77c28bd9c'
9
+ name: USD Coin
10
+ symbol: USDC
11
+ decimals: 6
12
+ isNft: false
13
+ contractVersion: 10.1.5
14
+ type: synthetic
15
+ proxyAdmin:
16
+ address: '0x0fbF624e7FD62e01f83862AFdc6a33A6338dB857'
17
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
18
+ destinationGas:
19
+ '8453': '68000'
@@ -0,0 +1,21 @@
1
+ # A config for a Warp Route deployment
2
+ # Typically used with the 'hyperlane deploy warp' command
3
+ #
4
+ # Token Types:
5
+ # native
6
+ # collateral
7
+ # synthetic
8
+ #
9
+ # see comprehensive [list](https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/typescript/sdk/src/token/config.ts#L8)
10
+ ---
11
+ anvil1:
12
+ type: native
13
+ # token: "0x123" # Collateral/vault address. Required for collateral types
14
+ # owner: "0x123" # Optional owner address for synthetic token
15
+ # mailbox: "0x123" # mailbox address route
16
+ # interchainGasPaymaster: "0x123" # Optional interchainGasPaymaster address
17
+ # isNft: true # If the token is an NFT (ERC721), set to true
18
+ # You can optionally set the token metadata
19
+ # name: "MyCollateralToken"
20
+ # symbol: "MCT"
21
+ # totalSupply: 10000000