Skip to content

Commit

Permalink
Merge pull request #363 from multiversx/new-bridge-contracts-2024.10.18
Browse files Browse the repository at this point in the history
New bridge contracts
  • Loading branch information
iulianpascalau authored Oct 18, 2024
2 parents a059849 + 5e2de7d commit d7415cd
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
{
"name": "eth_tx",
"type": "EthTransaction"
},
{
"name": "batch_id",
"type": "u64"
}
],
"outputs": []
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"type": "EthAddress"
},
{
"name": "opt_refunding_address",
"type": "optional<Address>",
"name": "opt_refund_info",
"type": "optional<RefundInfo>",
"multi_arg": true
}
],
Expand Down Expand Up @@ -878,6 +878,46 @@
}
]
},
{
"identifier": "createRefundTransactionEvent",
"inputs": [
{
"name": "batch_id",
"type": "u64",
"indexed": true
},
{
"name": "tx_id",
"type": "u64",
"indexed": true
},
{
"name": "token_id",
"type": "TokenIdentifier",
"indexed": true
},
{
"name": "amount",
"type": "BigUint",
"indexed": true
},
{
"name": "fee",
"type": "BigUint",
"indexed": true
},
{
"name": "initial_batch_id",
"type": "u64",
"indexed": true
},
{
"name": "initial_tx_id",
"type": "u64",
"indexed": true
}
]
},
{
"identifier": "addRefundTransactionEvent",
"inputs": [
Expand Down Expand Up @@ -1042,6 +1082,23 @@
}
]
},
"RefundInfo": {
"type": "struct",
"fields": [
{
"name": "address",
"type": "Address"
},
{
"name": "initial_batch_id",
"type": "u64"
},
{
"name": "initial_nonce",
"type": "u64"
}
]
},
"Transaction": {
"type": "struct",
"fields": [
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d7415cd

Please sign in to comment.