@verified-network/verified-sdk
Version:
An SDK to develop applications on the Verified Network
712 lines • 6.34 MB
JSON
{
"contractName": "Cash",
"abi": [
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
},
{
"name": "",
"type": "bytes32"
}
],
"name": "_deposits",
"outputs": [
{
"name": "depositAmount",
"type": "uint256"
},
{
"name": "issuedAmount",
"type": "uint256"
},
{
"name": "depositor",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isOwner",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "recipient",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isPaused",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "_cashtokenName",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "party",
"type": "address"
},
{
"indexed": false,
"name": "currency",
"type": "bytes32"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "balance",
"type": "uint256"
}
],
"name": "CashIssued",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "party",
"type": "address"
},
{
"indexed": false,
"name": "currency",
"type": "bytes32"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "redeemedFor",
"type": "uint256"
},
{
"indexed": false,
"name": "balance",
"type": "uint256"
}
],
"name": "CashRedeemed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "party",
"type": "address"
},
{
"indexed": false,
"name": "currency",
"type": "bytes32"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
}
],
"name": "CashDeposits",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "party",
"type": "address"
},
{
"indexed": true,
"name": "counterparty",
"type": "address"
},
{
"indexed": false,
"name": "currency",
"type": "bytes32"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"name": "deposit",
"type": "uint256"
}
],
"name": "CashTransfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "spender",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "name",
"type": "bytes32"
},
{
"name": "currency",
"type": "bytes32"
},
{
"name": "owner",
"type": "address"
},
{
"name": "oracle",
"type": "address"
},
{
"name": "token",
"type": "address"
},
{
"name": "fee",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "sender",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "amount",
"type": "uint256"
},
{
"name": "buyer",
"type": "address"
},
{
"name": "currency",
"type": "bytes32"
}
],
"name": "requestIssue",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "amount",
"type": "uint256"
},
{
"name": "payer",
"type": "address"
},
{
"name": "currency",
"type": "bytes32"
}
],
"name": "payIn",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "tokens",
"type": "uint256"
},
{
"name": "sender",
"type": "address"
}
],
"name": "requestAddToBalance",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "amount",
"type": "uint256"
},
{
"name": "party",
"type": "address"
},
{
"name": "currency",
"type": "bytes32"
}
],
"name": "burnCashTokens",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "tokens",
"type": "uint256"
},
{
"name": "receiver",
"type": "address"
}
],
"name": "requestDeductFromBalance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "sender",
"type": "address"
},
{
"name": "receiver",
"type": "address"
},
{
"name": "tokens",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "pause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "unpause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.5.7+commit.6da8b019\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"_deposits\",\"outputs\":[{\"name\":\"depositAmount\",\"type\":\"uint256\"},{\"name\":\"issuedAmount\",\"type\":\"uint256\"},{\"name\":\"depositor\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"sender\",\"type\":\"address\"},{\"name\":\"receiver\",\"type\":\"address\"},{\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"party\",\"type\":\"address\"},{\"name\":\"currency\",\"type\":\"bytes32\"}],\"name\":\"burnCashTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"name\",\"type\":\"bytes32\"},{\"name\":\"currency\",\"type\":\"bytes32\"},{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"oracle\",\"type\":\"address\"},{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"fee\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"recipient\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"payer\",\"type\":\"address\"},{\"name\":\"currency\",\"type\":\"bytes32\"}],\"name\":\"payIn\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isPaused\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"tokens\",\"type\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"requestDeductFromBalance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_cashtokenName\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"buyer\",\"type\":\"address\"},{\"name\":\"currency\",\"type\":\"bytes32\"}],\"name\":\"requestIssue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"tokens\",\"type\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"requestAddToBalance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"party\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"currency\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"CashIssued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"party\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"currency\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"redeemedFor\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"CashRedeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"party\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"currency\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"CashDeposits\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"party\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"counterparty\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"currency\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"deposit\",\"type\":\"uint256\"}],\"name\":\"CashTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\\r\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}.\\r * Requirements:\\r * - `spender` cannot be the zero address.\\r\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\\r\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation.\\r For example, if `decimals` equals `2`, a balance of `505` tokens should\\r be displayed to a user as `5.05` (`505 / 10 ** 2`).\\r * Tokens usually opt for a value of 18, imitating the relationship between\\r Ether and Wei. This is the default value returned by this function, unless\\r it's overridden.\\r * NOTE: This information is only used for _display_ purposes: it in\\r no way affects any of the arithmetic of the contract, including\\r {IERC20-balanceOf} and {IERC20-transfer}.\\r\"},\"decreaseAllowance(address,uint256)\":{\"details\":\"Atomically decreases the allowance granted to `spender` by the caller.\\r * This is an alternative to {approve} that can be used as a mitigation for\\r problems described in {IERC20-approve}.\\r * Emits an {Approval} event indicating the updated allowance.\\r * Requirements:\\r * - `spender` cannot be the zero address.\\r - `spender` must have allowance for the caller of at least\\r `subtractedValue`.\\r\"},\"increaseAllowance(address,uint256)\":{\"details\":\"Atomically increases the allowance granted to `spender` by the caller.\\r * This is an alternative to {approve} that can be used as a mitigation for\\r problems described in {IERC20-approve}.\\r * Emits an {Approval} event indicating the updated allowance.\\r * Requirements:\\r * - `spender` cannot be the zero address.\\r\"},\"initialize(address)\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"isOwner()\":{\"details\":\"Returns true if the caller is the current owner.\"},\"isPaused()\":{\"return\":\"True: contract is paused\\rFalse: contract is not paused\\r\"},\"name()\":{\"details\":\"Returns the name of the token.\\r\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * > Note: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the\\r name.\\r\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\\r\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}.\\r * Requirements:\\r * - `recipient` cannot be the zero address.\\r - the caller must have a balance of at least `amount`.\\r\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{\"isPaused()\":{\"notice\":\"returns whether or not the contract is paused\\r\"}}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/Cash.sol\":\"Cash\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol\":{\"keccak256\":\"0x3491510fa4862af1a43f6c860d9cf7392240196540cd3c0eea79d374d419c5a1\",\"urls\":[\"bzzr://5cddbf3b74b775a8670757a6b8e108dac17dac20253f35f4c729e9cb6bea4ed3\"]},\"@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzzr://292843005e754e752644f767477ec5ad7a1ffc91ddb18c38b8079c62f3993cad\"]},\"@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0xd7e8ab76fa35c4d8d35a06a6ed538cadab8b75a1aa00594ced1568b2c0cadde3\",\"urls\":[\"bzzr://b4c855b32d75f2a4969bfbd530b6934b69f12f28584b3746967e1ca64e024bd9\"]},\"@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe5bb0f57cff3e299f360052ba50f1ea0fff046df2be070b6943e0e3c3fdad8a9\",\"urls\":[\"bzzr://cf2d583b8dce38d0617fdcd65f2fd9f126fe17b7f683b5a515ea9d2762d8b062\"]},\"@openzeppelin/upgrades/contracts/Initializable.sol\":{\"keccak256\":\"0x9bfec92e36234ecc99b5d37230acb6cd1f99560233753162204104a4897e8721\",\"urls\":[\"bzzr://f75d88b16fe25a9e19b3512691c496e2bb6d8451bc9a636196c4e17ca9b40201\"]},\"project:/contracts/Cash.sol\":{\"keccak256\":\"0x2c35e82151f765b3daf54141d6a30bebfb8f6b20f25938da8f780a769cdb00f3\",\"urls\":[\"bzzr://9af78138fd0ffa86f66c1b52a0f7aebf0b4c77681bdeff0aa52f2d1091bd1941\"]},\"project:/contracts/interfaces/VerifiedClient.sol\":{\"keccak256\":\"0xb4de3dbb08a33aef4860197790d320239afced5fab06ba8b625398671b76c780\",\"urls\":[\"bzzr://de06105d01c0e25f52ac75c1069e79795cc15cdf0169fc574534910055f8b58d\"]},\"project:/contracts/interfaces/VerifiedRates.sol\":{\"keccak256\":\"0x5c637fe1bca7c152e7fc41237459b65b6147632ad110c747584a6566424cb8da\",\"urls\":[\"bzzr://e9647e2e2b1768908061c2ea083d26bd9b2b764f91b5bc49207f3d30696a7a0c\"]},\"project:/contracts/interfaces/ViaBond.sol\":{\"keccak256\":\"0xfc471512526675edd84249f397bf94b1cef191bcbac1d3da1db24786867c4c62\",\"urls\":[\"bzzr://563d2507340846e5d3ac74b24d529a35e52241971e942784781cb4b48b36c2d6\"]},\"project:/contracts/interfaces/ViaCash.sol\":{\"keccak256\":\"0xe08910b316f239248810cafa5878b1f23e2caa10c019f5e8bfe70cf574eab482\",\"urls\":[\"bzzr://f70f069aca6c303ea77f40af1f9b0359b2e5af3a158bf31d9c46d5a47911d676\"]},\"project:/contracts/interfaces/ViaFactory.sol\":{\"keccak256\":\"0xd71096d3b9b6e130416a346913097dd5a5f1ca16e242778c9e1005058b14b7f2\",\"urls\":[\"bzzr://b2eeb8b364fec878cee9035228fce18a58d7cec7a0be946df554de65dd51332b\"]},\"project:/contracts/interfaces/ViaOracle.sol\":{\"keccak256\":\"0xeb2f7a3ecc458880235ec31ac0db32e20285679772f8fc04a5d338d587e711ae\",\"urls\":[\"bzzr://ee9ed796f36a5f1b111c9aecbfe7544f782d90c0c5d9ef94e6c0ce1806f3eee6\"]},\"project:/contracts/interfaces/ViaToken.sol\":{\"keccak256\":\"0xfe45ec0f3e72d12ca2c0dd9ff16258eec9a30b736dddfc8f799b7f2601b1aae0\",\"urls\":[\"bzzr://3d36c5055be4b4f517ee1670643fa0a139811d45ed844195009b00a8fc666c87\"]},\"project:/contracts/math/FixedPoint.sol\":{\"keccak256\":\"0xb5d4f457a56675a2e841c7bcbb71762e1e5d3ff89800a68cda6830d2361b7a6d\",\"urls\":[\"bzzr://f2eb2bb7e4f7952d86ffcd5848efa13b5895fb38168a8241ba467625d37cf90d\"]},\"project:/contracts/math/LogExpMath.sol\":{\"keccak256\":\"0xe8078460aae016460645c05a09602a8021473127853de5e0910138b885b53471\",\"urls\":[\"bzzr://edec9b90a5f598c7fa82fca8c96de4619e95eb3229b8ca3ecc28cc3bed8f204a\"]},\"project:/contracts/math/Math.sol\":{\"keccak256\":\"0x352df7212aec370f69fe388c57272ea67063e5a057483f048237fd32d19b6ed5\",\"urls\":[\"bzzr://6b4058cb71c9b6e2e0a7f8278bc630f466616de1c3fe430e71e2794a8a104ebd\"]},\"project:/contracts/utilities/ERC20.sol\":{\"keccak256\":\"0x410b1bfe4ae45185f9d971ef497cf28ea3f0efb18ced3760fa781aaa150835a8\",\"urls\":[\"bzzr://ce908881afa94cfdc13d8e9afd3aa1edb50cae8469eee123f1169ffbbb0f7f16\"]},\"project:/contracts/utilities/Pausable.sol\":{\"keccak256\":\"0x96eceae12582eec38cc9706095b6f7d038b00dc36d98a02d234e7051b42a2a6a\",\"urls\":[\"bzzr://e5e1adfa3d22d6769d754f3f7f74eb1b12f5327b56b49584d34490b9d747d9b3\"]},\"project:/contracts/utilities/StringUtils.sol\":{\"keccak256\":\"0xb732e27507ecd8e7606f018dafa15110d93650c14aa9e8a16825871b4a58a05d\",\"urls\":[\"bzzr://e7d1e44d5e8c1c8e4fc71a4818f9ab4b0f4aa4912d159594209572fc5fbad06c\"]}},\"version\":1}",
"bytecode": "0x6080604052614de7806100136000396000f3fe60806040526004361061019c5760003560e01c80638da5cb5b116100ec578063c4d66de81161008a578063df0534b211610064578063df0534b21461076c578063e5d8fb7514610781578063f2fde38b146107c0578063f80dcb9a146107f35761019c565b8063c4d66de8146106c5578063da49588b146106f8578063dd62ed3e146107315761019c565b8063a457c2d7116100c6578063a457c2d7146105ff578063a9059cbb14610638578063abb58e5914610671578063b187bd26146106b05761019c565b80638da5cb5b146105a45780638f32d59b146105d557806395d89b41146105ea5761019c565b80633950935111610159578063715018a611610133578063715018a6146104e457806378ec9983146104f95780638456cb591461053857806389d29c4c1461054d5761019c565b806339509351146104635780633f4ba83a1461049c57806370a08231146104b15761019c565b806306fdde03146102975780630891568a14610321578063095ea7b31461038157806318160ddd146103ce57806323b872dd146103f5578063313ce56714610438575b346101a657600080fd5b36156101b157600080fd5b609d5460ff16156101c157600080fd5b6101ca3361082c565b15156001146101d857600080fd5b600160d91b6432ba3432b90260005260a26020527fcf0dd33e6d1cf3fd8b7718fa1541ae32bb18d6e1eb90656820d7af12fe7e94715461027f5760a18054600181018255600160d91b6432ba3432b9027faadc37b8ba5645e62f4546802db221593a94729ccbfc5a97d01365a88f649878909101819055905460009190915260a26020527fcf0dd33e6d1cf3fd8b7718fa1541ae32bb18d6e1eb90656820d7af12fe7e9471555b6102953433600160d91b6432ba3432b90261095f565b005b3480156102a357600080fd5b506102ac610d88565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e65781810151838201526020016102ce565b50505050905090810190601f1680156103135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032d57600080fd5b5061035a6004803603604081101561034457600080fd5b506001600160a01b038135169060200135610e1f565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561038d57600080fd5b506103ba600480360360408110156103a457600080fd5b506001600160a01b038135169060200135610e54565b604080519115158252519081900360200190f35b3480156103da57600080fd5b506103e3610e72565b60408051918252519081900360200190f35b34801561040157600080fd5b506103ba6004803603606081101561041857600080fd5b506001600160a01b03813581169160208101359091169060400135610e78565b34801561044457600080fd5b5061044d6113ce565b6040805160ff9092168252519081900360200190f35b34801561046f57600080fd5b506103ba6004803603604081101561048657600080fd5b506001600160a01b0381351690602001356113d3565b3480156104a857600080fd5b5061029561142c565b3480156104bd57600080fd5b506103e3600480360360208110156104d457600080fd5b50356001600160a01b031661147a565b3480156104f057600080fd5b50610295611495565b34801561050557600080fd5b506103ba6004803603606081101561051c57600080fd5b508035906001600160a01b03602082013516906040013561153b565b34801561054457600080fd5b50610295611662565b34801561055957600080fd5b50610295600480360360c081101561057057600080fd5b508035906020810135906001600160a01b0360408201358116916060810135821691608082013581169160a00135166116ad565b3480156105b057600080fd5b506105b96118cc565b604080516001600160a01b039092168252519081900360200190f35b3480156105e157600080fd5b506103ba6118db565b3480156105f657600080fd5b506102ac611901565b34801561060b57600080fd5b506103ba6004803603604081101561062257600080fd5b506001600160a01b038135169060200135611962565b34801561064457600080fd5b506103ba6004803603604081101561065b57600080fd5b506001600160a01b0381351690602001356119d0565b34801561067d57600080fd5b506103ba6004803603606081101561069457600080fd5b508035906001600160a01b0360208201351690604001356119e4565b3480156106bc57600080fd5b506103ba611b0f565b3480156106d157600080fd5b50610295600480360360208110156106e857600080fd5b50356001600160a01b0316611b18565b34801561070457600080fd5b506103e36004803603604081101561071b57600080fd5b50803590602001356001600160a01b0316611c0d565b34801561073d57600080fd5b506103e36004803603604081101561075457600080fd5b506001600160a01b0381358116916020013516611d42565b34801561077857600080fd5b506103e3611d6d565b34801561078d57600080fd5b50610295600480360360608110156107a457600080fd5b508035906001600160a01b036020820135169060400135611d73565b3480156107cc57600080fd5b50610295600480360360208110156107e357600080fd5b50356001600160a01b031661227e565b3480156107ff57600080fd5b506103ba6004803603604081101561081657600080fd5b50803590602001356001600160a01b03166122e3565b600080609d60019054906101000a90046001600160a01b03166001600160a01b03166359dc735c6040518163ffffffff1660e01b815260040160206040518083038186803b15801561087d57600080fd5b505afa158015610891573d6000803e3d6000fd5b505050506040513d60208110156108a757600080fd5b505190506001600160a01b0381166108c357600191505061095a565b806001600160a01b0316633a291033846040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561091957600080fd5b505afa15801561092d573d6000803e3d6000fd5b505050506040513d602081101561094357600080fd5b50511561095457600191505061095a565b60009150505b919050565b8261096957600080fd5b600160ca1b661c9958d95a5c1d0260005260a46020527f0467ea4a12823e8ff9242f5579e6cecc18baf2a9374240f1f32ab911c60cf5df5460ff16156109f95760408051600160e51b62461bcd02815260206004820152601060248201527f4c6f636b206f6e206465706f7369747300000000000000000000000000000000604482015290519081900360640190fd5b7f0467ea4a12823e8ff9242f5579e6cecc18baf2a9374240f1f32ab911c60cf5df805460ff191660011790556001600160a01b038216600090815260a360209081526040808320848452909152902054610a539084612418565b6001600160a01b03838116600081815260a3602090815260408083208784528252808320958655600290950180546001600160a01b031916909317909255609d548451600160e21b633cd163c502815260048101879052600160cb1b660acd2c286c2e6d0260248201529451919485946101009092049091169263f3458f1492604480840193829003018186803b158015610aed57600080fd5b505afa158015610b01573d6000803e3d6000fd5b505050506040513d6020811015610b1757600080fd5b50516001600160a01b031614610bc457609f5460a05460408051600160e11b634d3038fd028152600481018690526024810192909252600160e91b623b32b9026044830152516001600160a01b0390921691639a6071fa916064808201926020929091908290030181600087803b158015610b9157600080fd5b505af1158015610ba5573d6000803e3d6000fd5b505050506040513d6020811015610bbb57600080fd5b50519050610cec565b609f5460a05460408051600160e11b633ce1098302815260048101929092526002602483015260056044830152516001600160a01b0390921691639a6071fa91859173__stringutils___________________________916379c21306916064808301926020929190829003018186803b158015610c4157600080fd5b505af4158015610c55573d6000803e3d6000fd5b505050506040513d6020811015610c6b57600080fd5b50516040805163ffffffff851660e01b815260048101939093526024830191909152600160f11b6132b90260448301525160648083019260209291908290030181600087803b158015610cbd57600080fd5b505af1158015610cd1573d6000803e3d6000fd5b505050506040513d6020811015610ce757600080fd5b505190505b604080518381526020810186905281516001600160a01b038616927f4360f0decf98093daff370b9cd94b67d703802d9d2a864467a376c2847e125c6928290030190a2610d438383610d3e8488612475565b6124f5565b5050600160ca1b661c9958d95a5c1d02600052505060a46020527f0467ea4a12823e8ff9242f5579e6cecc18baf2a9374240f1f32ab911c60cf5df805460ff19169055565b60368054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e145780601f10610de957610100808354040283529160200191610e14565b820191906000526020600020905b815481529060010190602001808311610df757829003601f168201915b505050505090505b90565b60a36020908152600092835260408084209091529082529020805460018201546002909201549091906001600160a01b031683565b6000610e68610e616125b1565b84846125b5565b5060015b92915050565b60355490565b609d5460009060ff1615610e8b57600080fd5b610e948461082c565b1515600114610ea257600080fd5b610eab8361082c565b1515600114610eb957600080fd5b81610ec38561147a565b1015610f0357604051600160e51b62461bcd028152600401808060200182810382526021815260200180614cbe6021913960400191505060405180910390fd5b6001600160a01b038316301415610f4157610f2c8285600160d01b6572656465656d02306126a7565b15610f39575060016113c7565b5060006113c7565b609d5460408051600160e01b63f429f19b0281526001600160a01b03868116600483015291516101009093049091169163f429f19b91602480820192602092909190829003018186803b158015610f9757600080fd5b505afa158015610fab573d6000803e3d6000fd5b505050506040513d6020811015610fc157600080fd5b5051600160cb1b660acd2c286c2e6d02141561116757600160c11b673a3930b739b332b90260005260a46020527f1ac85a9df93a32abf6591c4c13ec3449eff3d765e853a5bcded52f9d6e893dbd5460ff16156110685760408051600160e51b62461bcd02815260206004820152601060248201527f4c6f636b206f6e207472616e7366657200000000000000000000000000000000604482015290519081900360640190fd5b600160c11b673a3930b739b332b902600090815260a46020527f1ac85a9df93a32abf6591c4c13ec3449eff3d765e853a5bcded52f9d6e893dbd805460ff1916600117905560a05460408051600160e01b63e5d8fb75028152600481018690526001600160a01b038881166024830152604482019390935290519186169263e5d8fb759260648084019382900301818387803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b5050600160c11b673a3930b739b332b902600052505060a4602052507f1ac85a9df93a32abf6591c4c13ec3449eff3d765e853a5bcded52f9d6e893dbd805460ff1916905560016113c7565b609d5460408051600160e01b63f429f19b0281526001600160a01b03868116600483015291516101009093049091169163f429f19b91602480820192602092909190829003018186803b1580156111bd57600080fd5b505afa1580156111d1573d6000803e3d6000fd5b505050506040513d60208110156111e757600080fd5b5051600160ca1b66159a58509bdb9902141561129d5760a05460408051600160e31b6306270111028152600481018590526001600160a01b03878116602483015260448201939093523060648201529051918516916331380888916084808201926020929091908290030181600087803b15801561126457600080fd5b505af1158015611278573d6000803e3d6000fd5b505050506040513d602081101561128e57600080fd5b505115610f39575060016113c7565b609d5460408051600160e01b63f429f19b0281526001600160a01b03868116600483015291516101009093049091169163f429f19b91602480820192602092909190829003018186803b1580156112f357600080fd5b505afa158015611307573d6000803e3d6000fd5b505050506040513d602081101561131d57600080fd5b50517f566961426f6e64546f6b656e000000000000000000000000000000000000000014156113ad5760a05460408051600160e41b6305a341b9028152600481018590526001600160a01b0387811660248301526044820193909352306064820152905191851691635a341b90916084808201926020929091908290030181600087803b15801561126457600080fd5b610f2c8285600160c11b673a3930b739b332b902866126a7565b9392505050565b601290565b6000610e686113e06125b1565b8461142785603460006113f16125b1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6140a216565b6125b5565b336114356118cc565b6001600160a01b0316816001600160a01b031614806114665750609d546001600160a01b0382811661010090920416145b61146f57600080fd5b6114776140ff565b50565b6001600160a01b031660009081526033602052604090205490565b61149d6118db565b6114f15760408051600160e51b62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606a80546001600160a01b0319169055565b6001600160a01b038216600090815260a3602090815260408083208484529091528120600101543390829061159e90611575908890614134565b6001600160a01b038716600090815260a360209081526040808320898452909152902054612475565b6001600160a01b038616600090815260a3602090815260408083208884529091529020549091506115cf9082614216565b6001600160a01b038616600090815260a3602090815260408083208884529091529020556115fd8587614276565b6001600160a01b038516600090815260a36020908152604080832087845290915290206001015461162e9087614216565b6001600160a01b03909516600090815260a36020908152604080832096835295905293909320600101939093559392505050565b3361166b6118cc565b6001600160a01b0316816001600160a01b0316148061169c5750609d546001600160a01b0382811661010090920416145b6116a557600080fd5b611477614375565b600054610100900460ff16806116c657506116c66143ad565b806116d4575060005460ff16155b61171257604051600160e51b62461bcd02815260040180806020018281038252602e815260200180614cdf602e913960400191505060405180910390fd5b600054610100900460ff1615801561173d576000805460ff1961ff0019909116610100171660011790555b61174685611b18565b609d8054610100600160a81b0319163361010002179055609f80546001600160a01b0319166001600160a01b0386161790556040805160208082018a90528251808303909101815290820190915261179d906143b3565b60408051600160e01b63f921e647028152600481018990526000602482018190526005604483015291516118919273__stringutils___________________________9263f921e6479260648083019392829003018186803b15801561180257600080fd5b505af4158015611816573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561183f57600080fd5b81019080805164010000000081111561185757600080fd5b8201602081018481111561186a57600080fd5b815164010000000081118282018710171561188457600080fd5b50509291905050506143c6565b60a0869055609e80546001600160a01b0319166001600160a01b03841617905580156118c3576000805461ff00191690555b50505050505050565b606a546001600160a01b031690565b606a546000906001600160a01b03166118f26125b1565b6001600160a01b031614905090565b60378054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e145780601f10610de957610100808354040283529160200191610e14565b6000610e6861196f6125b1565b8461142785604051806060016040528060258152602001614d9760259139603460006119996125b1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6143d916565b6000610e686119dd6125b1565b8484614473565b609d54600090339060ff16156119f957600080fd5b600083815260a26020526040902054611a4c5760a180546001810182557faadc37b8ba5645e62f4546802db221593a94729ccbfc5a97d01365a88f6498780184905554600084815260a260205260409020555b6001600160a01b038416600090815260a36020908152604080832086845290915290206002810180546001600160a01b0319163317905554611a8e9086612418565b6001600160a01b038516600081815260a360209081526040808320888452825291829020939093558051868152928301889052805191927f4360f0decf98093daff370b9cd94b67d703802d9d2a864467a376c2847e125c6929081900390910190a2611b078484610d3e88670de0b6b3a7640000612475565b509392505050565b609d5460ff1690565b600054610100900460ff1680611b315750611b316143ad565b80611b3f575060005460ff16155b611b7d57604051600160e51b62461bcd02815260040180806020018281038252602e815260200180614cdf602e913960400191505060405180910390fd5b600054610100900460ff16158015611ba8576000805460ff1961ff0019909116610100171660011790555b606a80546001600160a01b0319166001600160a01b0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015611c09576000805461ff00191690555b5050565b609d5460408051600160e01b63f429f19b028152336004820152905160009261010090046001600160a01b03169163f429f19b916024808301926020929190829003018186803b158015611c6057600080fd5b505afa158015611c74573d6000803e3d6000fd5b505050506040513d602