Skip to content

Instantly share code, notes, and snippets.

@jennazenk
Created April 23, 2019 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jennazenk/b3e56f84fb4770de861bfa4321de34fa to your computer and use it in GitHub Desktop.
Save jennazenk/b3e56f84fb4770de861bfa4321de34fa to your computer and use it in GitHub Desktop.
Participation ABI
[
{
"constant": false,
"inputs": [
{
"name": "shareQuantity",
"type": "uint256"
}
],
"name": "redeemQuantity",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "owner_",
"type": "address"
}
],
"name": "setOwner",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "initialized",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "priceSource",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_assets",
"type": "address[]"
}
],
"name": "enableInvestment",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "hub",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_who",
"type": "address"
}
],
"name": "hasValidRequest",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "shareQuantity",
"type": "uint256"
}
],
"name": "getOwedPerformanceFees",
"outputs": [
{
"name": "remainingShareQuantity",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "SHARES_DECIMALS",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "REQUEST_LIFESPAN",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_who",
"type": "address"
}
],
"name": "hasExpiredRequest",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "investAllowed",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "version",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "shareQuantity",
"type": "uint256"
},
{
"name": "requestedAssets",
"type": "address[]"
}
],
"name": "redeemWithConstraints",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "requestedShares",
"type": "uint256"
},
{
"name": "investmentAmount",
"type": "uint256"
},
{
"name": "investmentAsset",
"type": "address"
}
],
"name": "requestInvestment",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getHistoricalInvestors",
"outputs": [
{
"name": "",
"type": "address[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "requests",
"outputs": [
{
"name": "investmentAsset",
"type": "address"
},
{
"name": "investmentAmount",
"type": "uint256"
},
{
"name": "requestedShares",
"type": "uint256"
},
{
"name": "timestamp",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "authority_",
"type": "address"
}
],
"name": "setAuthority",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "registry",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "requestOwner",
"type": "address"
}
],
"name": "executeRequestFor",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spokes",
"type": "address[12]"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "cancelRequest",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "mlnToken",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "routes",
"outputs": [
{
"name": "accounting",
"type": "address"
},
{
"name": "feeManager",
"type": "address"
},
{
"name": "participation",
"type": "address"
},
{
"name": "policyManager",
"type": "address"
},
{
"name": "shares",
"type": "address"
},
{
"name": "trading",
"type": "address"
},
{
"name": "vault",
"type": "address"
},
{
"name": "priceSource",
"type": "address"
},
{
"name": "registry",
"type": "address"
},
{
"name": "version",
"type": "address"
},
{
"name": "engine",
"type": "address"
},
{
"name": "mlnToken",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "redeem",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "authority",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "engine",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_who",
"type": "address"
}
],
"name": "hasRequest",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_assets",
"type": "address[]"
}
],
"name": "disableInvestment",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "hasInvested",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "historicalInvestors",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"name": "_hub",
"type": "address"
},
{
"name": "_defaultAssets",
"type": "address[]"
},
{
"name": "_registry",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "authority",
"type": "address"
}
],
"name": "LogSetAuthority",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
}
],
"name": "LogSetOwner",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "asset",
"type": "address[]"
}
],
"name": "EnableInvestment",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "assets",
"type": "address[]"
}
],
"name": "DisableInvestment",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "requestOwner",
"type": "address"
},
{
"indexed": true,
"name": "investmentAsset",
"type": "address"
},
{
"indexed": false,
"name": "requestedShares",
"type": "uint256"
},
{
"indexed": false,
"name": "investmentAmount",
"type": "uint256"
}
],
"name": "InvestmentRequest",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "requestOwner",
"type": "address"
},
{
"indexed": true,
"name": "executor",
"type": "address"
},
{
"indexed": true,
"name": "investmentAsset",
"type": "address"
},
{
"indexed": false,
"name": "investmentAmount",
"type": "uint256"
},
{
"indexed": false,
"name": "requestedShares",
"type": "uint256"
}
],
"name": "RequestExecution",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "requestOwner",
"type": "address"
}
],
"name": "CancelRequest",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "redeemer",
"type": "address"
},
{
"indexed": false,
"name": "assets",
"type": "address[]"
},
{
"indexed": false,
"name": "assetQuantities",
"type": "uint256[]"
},
{
"indexed": false,
"name": "redeemedShares",
"type": "uint256"
}
],
"name": "Redemption",
"type": "event"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment