Commit e54de6f
authored
Implement IBC Callbacks Adapter (#160)
* create a skip2 package
which is skip types and methods for cosmwasm 2
* add skip2 to workspace cargo.toml
* update makefile to use 15.1 optimizer
required to compile cosmwasm 2 deps
* add ibc-callbacks scaffolding
- a copy of ibc hooks adapter
* update skip and skip2 packages with eureka fee
- also removes unused code in skip2 pkg
* update makefile with latest cw optimizer
* update cargo toml and cargo lock
* add ibc callbacks adapter
* update entrypoint contract with eureka fee logic
* update other ibc adapters for updated type
* Update Cargo.lock
* run make schema
* allow large enum variant
* fix mantra clippy
* allow deprecated fields / variants in ibc callbacks adapter
* fix typo commited
* hex encode upper on the ibc denom
* check success on dest callback
* run make fmt
* add error
* refund only the coin that was ibc transferred on err and timeout
* clarify comment
* run make fmt
* add eureka fee tests for entrypoint
* add execute ibc transfer tests
* handle both nanos and seconds timeout timestamps
* handle returning multi-hop-denoms
* make swap venues optional, add mantra pool manager
* add ledger testnet contracts
* Add cosmoshub testnet contracts
* deploy cosmoshub mainnet contracts
* update lombard testnet deployed contracts
* deploy ledger mainnet contracts
* proper ledger deployment with swap contract
* deploy babylon mainnet contracts
* add evm addr check if solidity encoding is provided
* update cosmos hub deployed contracts
* update ledger deployed contracts1 parent a8fa95a commit e54de6f
File tree
36 files changed
+4647
-292
lines changed- contracts
- adapters
- ibc
- ibc-callbacks
- src
- bin
- tests
- ibc-hooks/tests
- neutron-transfer/tests
- swap/mantra-dex
- src
- tests
- entry-point
- src
- tests
- deployed-contracts
- babylon
- cosmoshub
- ledger
- packages
- skip2
- src
- skip/src
- schema
- raw
- scripts
36 files changed
+4647
-292
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments