@gooddollar/goodprotocol
Version:
GoodDollar Protocol
165 lines (164 loc) • 3.56 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IGoodDollarExchangeProvider",
"sourceName": "contracts/MentoInterfaces.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "AVATAR",
"type": "address"
}
],
"name": "AvatarUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "expansionController",
"type": "address"
}
],
"name": "ExpansionControllerUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint32",
"name": "reserveRatio",
"type": "uint32"
}
],
"name": "ReserveRatioUpdated",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_broker",
"type": "address"
},
{
"internalType": "address",
"name": "_reserve",
"type": "address"
},
{
"internalType": "address",
"name": "_expansionController",
"type": "address"
},
{
"internalType": "address",
"name": "_avatar",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "expansionScaler",
"type": "uint256"
}
],
"name": "mintFromExpansion",
"outputs": [
{
"internalType": "uint256",
"name": "amountToMint",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "reserveInterest",
"type": "uint256"
}
],
"name": "mintFromInterest",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "reward",
"type": "uint256"
}
],
"name": "updateRatioForReward",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}