@gooddollar/goodprotocol
Version:
GoodDollar Protocol
334 lines (333 loc) • 7.29 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IGoodDollarExpansionController",
"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": "distributionHelper",
"type": "address"
}
],
"name": "DistributionHelperUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint64",
"name": "expansionRate",
"type": "uint64"
},
{
"indexed": false,
"internalType": "uint32",
"name": "expansionfrequency",
"type": "uint32"
}
],
"name": "ExpansionConfigSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "ExpansionUBIMinted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "exchangeProvider",
"type": "address"
}
],
"name": "GoodDollarExchangeProviderUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "InterestUBIMinted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "reserve",
"type": "address"
}
],
"name": "ReserveUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "RewardMinted",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_goodDollarExchangeProvider",
"type": "address"
},
{
"internalType": "address",
"name": "_distributionHelper",
"type": "address"
},
{
"internalType": "address",
"name": "_reserve",
"type": "address"
},
{
"internalType": "address",
"name": "_avatar",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "mintRewardFromRR",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
}
],
"name": "mintUBIFromExpansion",
"outputs": [
{
"internalType": "uint256",
"name": "amountMinted",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "reserveInterest",
"type": "uint256"
}
],
"name": "mintUBIFromInterest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
}
],
"name": "mintUBIFromReserveBalance",
"outputs": [
{
"internalType": "uint256",
"name": "amountMinted",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_avatar",
"type": "address"
}
],
"name": "setAvatar",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_distributionHelper",
"type": "address"
}
],
"name": "setDistributionHelper",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "uint64",
"name": "expansionRate",
"type": "uint64"
},
{
"internalType": "uint32",
"name": "expansionFrequency",
"type": "uint32"
}
],
"name": "setExpansionConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_goodDollarExchangeProvider",
"type": "address"
}
],
"name": "setGoodDollarExchangeProvider",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_reserve",
"type": "address"
}
],
"name": "setReserve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}