@mstable/protocol
Version:
mStable Contracts
115 lines (114 loc) • 2.21 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "_mAsset",
"type": "address"
},
{
"internalType": "address",
"name": "_gatewayRegistry",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "minter",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "mAssetQuantity",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "input",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "inputQuantity",
"type": "uint256"
}
],
"name": "Minted",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "_minOutputAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "_nHash",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "_sig",
"type": "bytes"
}
],
"name": "depositAndMint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "gatewayRegistry",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "mAsset",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]