-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip: midas b2c and abis * fix: addresses to lowercase * fix: midas erc20OfInterest * chore: mbtc added * fix: to lower case * fix: format --------- Co-authored-by: Jonathan <[email protected]>
- Loading branch information
1 parent
0c05fd9
commit b06fd29
Showing
9 changed files
with
709 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
ethereum/midas/abis/0x0d89c1c4799353f3805a3e6c4e1cbbb83217d123.abi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "minReceiveAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemInstant", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemFiatRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
59 changes: 59 additions & 0 deletions
59
ethereum/midas/abis/0x10cc8dbca90db7606013d8cd2e77eb024df693bd.abi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenIn", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountToken", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "minReceiveAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "bytes32", | ||
"name": "referrerId", | ||
"type": "bytes32" | ||
} | ||
], | ||
"name": "depositInstant", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenIn", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountToken", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "bytes32", | ||
"name": "referrerId", | ||
"type": "bytes32" | ||
} | ||
], | ||
"name": "depositRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
68 changes: 68 additions & 0 deletions
68
ethereum/midas/abis/0x19ab19e61a930bc5c7b75bf06cdd954218ca9f0b.abi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "minReceiveAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemInstant", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemFiatRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
68 changes: 68 additions & 0 deletions
68
ethereum/midas/abis/0x30d9d1e76869516aea980390494aaed45c3efc1a.abi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "minReceiveAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemInstant", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemFiatRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
68 changes: 68 additions & 0 deletions
68
ethereum/midas/abis/0x569d7dccbf6923350521ecbc28a555a500c4f0ec.abi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "minReceiveAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemInstant", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenOut", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amountMTokenIn", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "redeemFiatRequest", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "requestId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.