Skip to content

Commit

Permalink
yarn generate
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Oct 17, 2024
1 parent f6c9514 commit f98eb2c
Show file tree
Hide file tree
Showing 20 changed files with 49 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,6 @@ function withdrawAndRevert(

Deposits asset to custody and pay fee in zeta erc20.

**Note:**
This method is deprecated.


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

**Note:**
constructor


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

### constructor

**Note:**
constructor


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

**Note:**
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,10 +1,6 @@
# zContext
[Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol)

**Note:**
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/pkg/erc20custody.t.sol/erc20custodytest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayevm.t.sol/gatewayevminboundtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayevm.t.sol/gatewayevmtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayevmzevm.t.sol/gatewayevmzevmtest.go

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions v2/pkg/receiverevm.sol/receiverevm.go

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions v2/pkg/zetaconnectornative.sol/zetaconnectornative.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v2/types/ReceiverEVM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export interface ReceiverEVM extends BaseContract {
): Promise<this>;

onCall: TypedContractMethod<
[arg0: MessageContextStruct, arg1: BytesLike],
[messageContext: MessageContextStruct, message: BytesLike],
[string],
"payable"
>;
Expand Down Expand Up @@ -326,7 +326,7 @@ export interface ReceiverEVM extends BaseContract {
getFunction(
nameOrSignature: "onCall"
): TypedContractMethod<
[arg0: MessageContextStruct, arg1: BytesLike],
[messageContext: MessageContextStruct, message: BytesLike],
[string],
"payable"
>;
Expand Down
4 changes: 2 additions & 2 deletions v2/types/ZetaConnectorNative.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export interface ZetaConnectorNative extends BaseContract {
to: AddressLike,
amount: BigNumberish,
data: BytesLike,
internalSendHash: BytesLike
arg4: BytesLike
],
[void],
"nonpayable"
Expand Down Expand Up @@ -694,7 +694,7 @@ export interface ZetaConnectorNative extends BaseContract {
to: AddressLike,
amount: BigNumberish,
data: BytesLike,
internalSendHash: BytesLike
arg4: BytesLike
],
[void],
"nonpayable"
Expand Down
4 changes: 2 additions & 2 deletions v2/types/ZetaConnectorNativeUpgradeTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export interface ZetaConnectorNativeUpgradeTest extends BaseContract {
to: AddressLike,
amount: BigNumberish,
data: BytesLike,
internalSendHash: BytesLike
arg4: BytesLike
],
[void],
"nonpayable"
Expand Down Expand Up @@ -708,7 +708,7 @@ export interface ZetaConnectorNativeUpgradeTest extends BaseContract {
to: AddressLike,
amount: BigNumberish,
data: BytesLike,
internalSendHash: BytesLike
arg4: BytesLike
],
[void],
"nonpayable"
Expand Down
6 changes: 3 additions & 3 deletions v2/types/factories/ReceiverEVM__factory.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/types/factories/ZetaConnectorNative__factory.ts

Large diffs are not rendered by default.

0 comments on commit f98eb2c

Please sign in to comment.