Skip to content

Commit

Permalink
feat(zkgm): scaffold (#3313)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen authored Jan 6, 2025
2 parents 8ee8bfd + 400b7af commit e68ee25
Show file tree
Hide file tree
Showing 8 changed files with 1,491 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/src/content/docs/protocol/deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Deployments of `ibc-union` on EVM chains. Solidity contract sources can be found
| **apps** | UCS00 | [`0x92735254407859361265B51cDb76583ED7E3359b`](https://eth-holesky.blockscout.com/address/0x92735254407859361265B51cDb76583ED7E3359b) |
| | UCS01 | [`0xdF48f737cc7eE649FC119B312932a9b99C40f417`](https://eth-holesky.blockscout.com/address/0xdF48f737cc7eE649FC119B312932a9b99C40f417) |
| | UCS02 | [`0x8c5BB6EE0C679D605Fda89341148b9921C0d119c`](https://eth-holesky.blockscout.com/address/0x8c5BB6EE0C679D605Fda89341148b9921C0d119c) |
| | UCS03 | [`0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144`](https://eth-holesky.blockscout.com/address/0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144) |
| **support** | Deployer | [`0xa3cd41bfF71AD19fDDfd901A9773C975A0404D97`](https://eth-holesky.blockscout.com/address/0xa3cd41bfF71AD19fDDfd901A9773C975A0404D97) |
| | Sender | [`0x153919669Edc8A5D0c8D1E4507c9CE60435A1177`](https://eth-holesky.blockscout.com/address/0x153919669Edc8A5D0c8D1E4507c9CE60435A1177) |
| | Multicall | [`0x64A764A734648fA636525C7e4b3cE38Ca256b647`](https://eth-holesky.blockscout.com/address/0x64A764A734648fA636525C7e4b3cE38Ca256b647) |
Expand All @@ -32,6 +33,7 @@ Deployments of `ibc-union` on EVM chains. Solidity contract sources can be found
| **apps** | UCS00 | [`0x271126f4F9B36CE16d9e2eF75691485ddCE11dB6`](https://eth-sepolia.blockscout.com/address/0x271126f4F9B36CE16d9e2eF75691485ddCE11dB6) |
| | UCS01 | [`0xCFb741465F8e0AE9C62A548Fa85D312E6E5615Ba`](https://eth-sepolia.blockscout.com/address/0xCFb741465F8e0AE9C62A548Fa85D312E6E5615Ba) |
| | UCS02 | [`0x12650fCccE6dB9E99CEE482490A5fAF248A62B22`](https://eth-sepolia.blockscout.com/address/0x12650fCccE6dB9E99CEE482490A5fAF248A62B22) |
| | UCS03 | [`0x84F074C15513F15baeA0fbEd3ec42F0Bd1fb3efa`](https://eth-sepolia.blockscout.com/address/0x84F074C15513F15baeA0fbEd3ec42F0Bd1fb3efa) |
| **support** | Deployer | [`0xac6dBD360ABCfe0578e998D359d4F43a5A117219`](https://eth-sepolia.blockscout.com/address/0xac6dBD360ABCfe0578e998D359d4F43a5A117219) |
| | Sender | [`0x153919669Edc8A5D0c8D1E4507c9CE60435A1177`](https://eth-sepolia.blockscout.com/address/0x153919669Edc8A5D0c8D1E4507c9CE60435A1177) |
| | Multicall | [`0x6FD4bf9438fAC8C535218E79191594A879E47E96`](https://eth-sepolia.blockscout.com/address/0x6FD4bf9438fAC8C535218E79191594A879E47E96) |
Expand All @@ -50,7 +52,7 @@ Deployments of `ibc-union` on CosmWasm (cosmos) chains. CosmWasm contract source
| `berachain-light-client` | [`union1au6fkkfcgqc6vn8dz9tq2a6ma0vzwn2zfwwgpm7awpaeekw346uqjedtky`](https://explorer.testnet-9.union.build/union/cosmwasm/0/transactions?contract=union1au6fkkfcgqc6vn8dz9tq2a6ma0vzwn2zfwwgpm7awpaeekw346uqjedtky) |
| `ucs00` | [`union194e3rchcaqyynwcj6qr6647ge7lheymrgkhq9tdknw35050ufhuqzqz2he`](https://explorer.testnet-9.union.build/union/cosmwasm/0/transactions?contract=union194e3rchcaqyynwcj6qr6647ge7lheymrgkhq9tdknw35050ufhuqzqz2he) |
| ? | `union1au6fkkfcgqc6vn8dz9tq2a6ma0vzwn2zfwwgpm7awpaeekw346uqjedtky` |



### Stargaze Testnet elgafar-1
Expand Down
5 changes: 5 additions & 0 deletions evm/contracts/apps/ucs/03-zkgm/IEurekaModule.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma solidity ^0.8.27;

interface IEurekaModule {
function onZkgm(bytes calldata sender, bytes calldata message) external;
}
9 changes: 9 additions & 0 deletions evm/contracts/apps/ucs/03-zkgm/IZkgmERC20.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pragma solidity ^0.8.27;

import "@openzeppelin/token/ERC20/IERC20.sol";
import "@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";

interface IZkgmERC20 is IERC20, IERC20Metadata {
function mint(address to, uint256 amount) external;
function burn(address from, uint256 amount) external;
}
Loading

0 comments on commit e68ee25

Please sign in to comment.