Skip to content

Commit

Permalink
make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 20, 2024
1 parent 8eaa303 commit 3c7603e
Show file tree
Hide file tree
Showing 100 changed files with 118 additions and 149 deletions.
2 changes: 2 additions & 0 deletions v2/data/addresses.mainnet.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


[
{
"address": "0x000007Cf399229b2f5A4D043F20E90C9C98B7C6a",
Expand Down
62 changes: 6 additions & 56 deletions v2/data/addresses.testnet.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


[
{
"address": "0x0000ecb8cdd25a18f12daa23f6422e07fbf8b9e1",
Expand All @@ -14,7 +16,7 @@
"type": "custody"
},
{
"address": "0x0000a7db254145767262c6a81a7ee1650684258e",
"address": "0xd80be3710f08d280f51115e072e5d2a778946cd7",
"category": "omnichain",
"chain_id": 97,
"chain_name": "bsc_testnet",
Expand Down Expand Up @@ -103,32 +105,6 @@
"symbol": "sETH.SEPOLIA",
"type": "zrc20"
},
{
"address": "0x0cbe0dF132a6c6B4a2974Fa1b7Fb953CF0Cc798a",
"asset": "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"coin_type": "erc20",
"decimals": 6,
"description": "USDC-goerli_testnet",
"foreign_chain_id": "5",
"symbol": "USDC",
"type": "zrc20"
},
{
"address": "0x13A0c5930C028511Dc02665E7285134B6d11A5f4",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"coin_type": "gas",
"decimals": 18,
"description": "ETH-goerli_testnet",
"foreign_chain_id": "5",
"symbol": "gETH",
"type": "zrc20"
},
{
"address": "0x236b0DE675cC8F46AE186897fCCeFe3370C9eDeD",
"asset": "",
Expand All @@ -142,19 +118,6 @@
"symbol": "ETH.BASESEPOLIA",
"type": "zrc20"
},
{
"address": "0x48f80608B672DC30DC7e3dbBd0343c5F02C738Eb",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"coin_type": "gas",
"decimals": 18,
"description": "MATIC-mumbai_testnet",
"foreign_chain_id": "80001",
"symbol": "tMATIC",
"type": "zrc20"
},
{
"address": "0x65a45c57636f9BcCeD4fe193A602008578BcA90b",
"asset": "",
Expand Down Expand Up @@ -194,19 +157,6 @@
"symbol": "USDC",
"type": "zrc20"
},
{
"address": "0x91d4F0D54090Df2D81e834c3c8CE71C6c865e79F",
"asset": "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"coin_type": "erc20",
"decimals": 6,
"description": "USDC-mumbai_testnet",
"foreign_chain_id": "80001",
"symbol": "USDC",
"type": "zrc20"
},
{
"address": "0xADF73ebA3Ebaa7254E859549A44c74eF7cff7501",
"asset": "",
Expand Down Expand Up @@ -268,7 +218,7 @@
"type": "custody"
},
{
"address": "0xFDE448af6140a8702A1165c44A0895ebE24b0C02",
"address": "0xd80be3710f08d280f51115e072e5d2a778946cd7",
"category": "omnichain",
"chain_id": 80002,
"chain_name": "amoy_testnet",
Expand Down Expand Up @@ -310,7 +260,7 @@
"type": "custody"
},
{
"address": "0x3A1f7b35EF57543B4e86c384eF6a368Ed811a36E",
"address": "0xd80be3710f08d280f51115e072e5d2a778946cd7",
"category": "omnichain",
"chain_id": 84532,
"chain_name": "base_sepolia",
Expand Down Expand Up @@ -352,7 +302,7 @@
"type": "custody"
},
{
"address": "0x84725b70a239d3Faa7C6EF0C6C8E8b6c8e28338b",
"address": "0xd80be3710f08d280f51115e072e5d2a778946cd7",
"category": "omnichain",
"chain_id": 11155111,
"chain_name": "sepolia_testnet",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ function withdrawAndRevert(

Deposits asset to custody and pay fee in zeta erc20.

**Note:**
deprecated: This method is deprecated.


```solidity
function deposit(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ uint256 public constant MAX_PAYLOAD_SIZE = 1024;
## Functions
### constructor

**Note:**
oz-upgrades-unsafe-allow: constructor


```solidity
constructor();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ modifier onlyProtocol();

### constructor

**Note:**
oz-upgrades-unsafe-allow: constructor


```solidity
constructor();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# zContract
[Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol)

**Note:**
deprecated: should be removed once v2 SystemContract is not used anymore.
UniversalContract should be used


## Functions
### onCrossChainCall
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# zContext
[Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol)

**Note:**
deprecated: should be removed once v2 SystemContract is not used anymore.
MessageContext should be used


```solidity
struct zContext {
Expand Down
2 changes: 1 addition & 1 deletion v2/lib/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type ParamSymbol = "USDC.BSC" | "USDC.ETH" | "BTC.BTC" | "ETH.BASE" | "PEPE.ETH" | "BNB.BSC" | "SHIB.ETH" | "USDT.ETH" | "USDT.BSC" | "USDC.BASE" | "POL.POLYGON" | "DAI.ETH" | "ULTI.BSC" | "ETH.ETH" | "USDT.POL" | "ULTI.ETH" | "USDC.POL" | "sETH.SEPOLIA" | "USDC" | "gETH" | "ETH.BASESEPOLIA" | "tMATIC" | "tBTC" | "MATIC.AMOY" | "SOL.SOLANA" | "USDC.SEPOLIA" | "tBNB";
export type ParamSymbol = "USDC.BSC" | "USDC.ETH" | "BTC.BTC" | "ETH.BASE" | "PEPE.ETH" | "BNB.BSC" | "SHIB.ETH" | "USDT.ETH" | "USDT.BSC" | "USDC.BASE" | "POL.POLYGON" | "DAI.ETH" | "ULTI.BSC" | "ETH.ETH" | "USDT.POL" | "ULTI.ETH" | "USDC.POL" | "sETH.SEPOLIA" | "ETH.BASESEPOLIA" | "tBTC" | "MATIC.AMOY" | "USDC" | "SOL.SOLANA" | "USDC.SEPOLIA" | "tBNB";
export type ParamChainName = "eth_mainnet" | "bsc_mainnet" | "polygon_mainnet" | "zeta_mainnet" | "btc_mainnet" | "base_mainnet" | "bsc_testnet" | "solana_devnet" | "zeta_testnet" | "btc_testnet" | "amoy_testnet" | "base_sepolia" | "sepolia_testnet";
export type ParamType = "connector" | "erc20Custody" | "tss" | "uniswapV2Factory" | "uniswapV2Router02" | "uniswapV3Factory" | "uniswapV3Router" | "weth9" | "zetaToken" | "fungibleModule" | "systemContract" | "zrc20" | "custody" | "gateway";

2 changes: 1 addition & 1 deletion v2/pkg/address.sol/address.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v2/pkg/beaconproxy.sol/beaconproxy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v2/pkg/console.sol/console.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v2/pkg/core.sol/core.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v2/pkg/defender.sol/defender.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v2/pkg/defenderdeploy.sol/defenderdeploy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3c7603e

Please sign in to comment.