UNPKG

@verified-network/verified-sdk

Version:

An SDK to develop applications on the Verified Network

865 lines 1.76 MB
{ "contractName": "Factory", "abi": [ { "constant": true, "inputs": [ { "name": "_salt", "type": "uint256" }, { "name": "_logic", "type": "address" }, { "name": "_admin", "type": "address" }, { "name": "_data", "type": "bytes" }, { "name": "_signature", "type": "bytes" } ], "name": "getSigner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_salt", "type": "uint256" }, { "name": "_logic", "type": "address" }, { "name": "_admin", "type": "address" }, { "name": "_data", "type": "bytes" }, { "name": "_signature", "type": "bytes" } ], "name": "deploySigned", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "tokens", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_salt", "type": "uint256" }, { "name": "_logic", "type": "address" }, { "name": "_admin", "type": "address" }, { "name": "_data", "type": "bytes" } ], "name": "deploy", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "token", "outputs": [ { "name": "tokenType", "type": "bytes32" }, { "name": "name", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_salt", "type": "uint256" }, { "name": "_sender", "type": "address" } ], "name": "getDeploymentAddress", "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": "isOwner", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_logic", "type": "address" }, { "name": "_data", "type": "bytes" } ], "name": "deployMinimal", "outputs": [ { "name": "proxy", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "currencies", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "issuer", "type": "address" }, { "indexed": false, "name": "tokenName", "type": "bytes32" }, { "indexed": false, "name": "tokenType", "type": "bytes32" } ], "name": "CashIssuerCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "issuer", "type": "address" }, { "indexed": false, "name": "tokenName", "type": "bytes32" }, { "indexed": false, "name": "tokenType", "type": "bytes32" } ], "name": "BondIssuerCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "token", "type": "address" }, { "indexed": false, "name": "tokenName", "type": "bytes32" }, { "indexed": false, "name": "tokenType", "type": "bytes32" } ], "name": "TokenCreated", "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": false, "name": "proxy", "type": "address" } ], "name": "ProxyCreated", "type": "event" }, { "constant": false, "inputs": [], "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": true, "inputs": [], "name": "getTokenCount", "outputs": [ { "name": "tokenCount", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "n", "type": "uint256" } ], "name": "getToken", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "viaAddress", "type": "address" } ], "name": "getName", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "viaAddress", "type": "address" } ], "name": "getType", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "viaAddress", "type": "address" } ], "name": "getNameAndType", "outputs": [ { "name": "", "type": "bytes32" }, { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "tokenName", "type": "bytes32" }, { "name": "tokenType", "type": "bytes32" } ], "name": "getTokenByNameType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "tokenType", "type": "bytes32" }, { "name": "tokenName", "type": "bytes32" } ], "name": "getIssuer", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "tokenName", "type": "bytes32" } ], "name": "getAddressAndType", "outputs": [ { "name": "", "type": "address" }, { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getViaOracleUrl", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getFiatPayoutUrl", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "fromCurrency", "type": "bytes32" }, { "name": "toCurrency", "type": "bytes32" } ], "name": "getCryptoDataUrl", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getClient", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getOracles", "outputs": [ { "name": "", "type": "address[]" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_bondToken", "type": "address" } ], "name": "getBondTerm", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_target", "type": "address" }, { "name": "tokenName", "type": "bytes32" }, { "name": "tokenType", "type": "bytes32" }, { "name": "tokenCurrency", "type": "bytes32" }, { "name": "_oracle", "type": "address" }, { "name": "_token", "type": "address" }, { "name": "_fee", "type": "address" } ], "name": "createIssuer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_target", "type": "address" }, { "name": "issuer", "type": "address" }, { "name": "tokenName", "type": "bytes32" }, { "name": "tokenSymbol", "type": "bytes32" } ], "name": "createToken", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_url", "type": "string" } ], "name": "setViaOracleUrl", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_url", "type": "string" } ], "name": "setFiatPayoutUrl", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_url", "type": "string" }, { "name": "_fromCurrency", "type": "bytes32" }, { "name": "_toCurrency", "type": "bytes32" } ], "name": "setCryptoDataURL", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_oracles", "type": "address[]" } ], "name": "setOracles", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_bondToken", "type": "address" }, { "name": "_term", "type": "uint256" } ], "name": "setBondTerm", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_client", "type": "address" } ], "name": "setClientAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_currency", "type": "bytes32" }, { "name": "_address", "type": "address" } ], "name": "supportTokens", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_currency", "type": "bytes32" } ], "name": "checkSupportForToken", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_currency", "type": "bytes32" } ], "name": "getCurrencyToken", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.7+commit.6da8b019\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"_salt\",\"type\":\"uint256\"},{\"name\":\"_logic\",\"type\":\"address\"},{\"name\":\"_admin\",\"type\":\"address\"},{\"name\":\"_data\",\"type\":\"bytes\"},{\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"getSigner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"tokenType\",\"type\":\"bytes32\"},{\"name\":\"tokenName\",\"type\":\"bytes32\"}],\"name\":\"getIssuer\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_salt\",\"type\":\"uint256\"},{\"name\":\"_logic\",\"type\":\"address\"},{\"name\":\"_admin\",\"type\":\"address\"},{\"name\":\"_data\",\"type\":\"bytes\"},{\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"deploySigned\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getViaOracleUrl\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOracles\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokens\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_bondToken\",\"type\":\"address\"},{\"name\":\"_term\",\"type\":\"uint256\"}],\"name\":\"setBondTerm\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getClient\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_bondToken\",\"type\":\"address\"}],\"name\":\"getBondTerm\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"viaAddress\",\"type\":\"address\"}],\"name\":\"getName\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_salt\",\"type\":\"uint256\"},{\"name\":\"_logic\",\"type\":\"address\"},{\"name\":\"_admin\",\"type\":\"address\"},{\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"viaAddress\",\"type\":\"address\"}],\"name\":\"getNameAndType\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"token\",\"outputs\":[{\"name\":\"tokenType\",\"type\":\"bytes32\"},{\"name\":\"name\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"fromCurrency\",\"type\":\"bytes32\"},{\"name\":\"toCurrency\",\"type\":\"bytes32\"}],\"name\":\"getCryptoDataUrl\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTokenCount\",\"outputs\":[{\"name\":\"tokenCount\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"setClientAddress\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_salt\",\"type\":\"uint256\"},{\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"getDeploymentAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_target\",\"type\":\"address\"},{\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"name\":\"tokenType\",\"type\":\"bytes32\"},{\"name\":\"tokenCurrency\",\"type\":\"bytes32\"},{\"name\":\"_oracle\",\"type\":\"address\"},{\"name\":\"_token\",\"type\":\"address\"},{\"name\":\"_fee\",\"type\":\"address\"}],\"name\":\"createIssuer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_target\",\"type\":\"address\"},{\"name\":\"issuer\",\"type\":\"address\"},{\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"name\":\"tokenSymbol\",\"type\":\"bytes32\"}],\"name\":\"createToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"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\":\"getFiatPayoutUrl\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracles\",\"type\":\"address[]\"}],\"name\":\"setOracles\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_logic\",\"type\":\"address\"},{\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"deployMinimal\",\"outputs\":[{\"name\":\"proxy\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_url\",\"type\":\"string\"},{\"name\":\"_fromCurrency\",\"type\":\"bytes32\"},{\"name\":\"_toCurrency\",\"type\":\"bytes32\"}],\"name\":\"setCryptoDataURL\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_currency\",\"type\":\"bytes32\"}],\"name\":\"getCurrencyToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"tokenName\",\"type\":\"bytes32\"}],\"name\":\"getAddressAndType\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_url\",\"type\":\"string\"}],\"name\":\"setFiatPayoutUrl\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_currency\",\"type\":\"bytes32\"}],\"name\":\"checkSupportForToken\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_currency\",\"type\":\"bytes32\"},{\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"supportTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"n\",\"type\":\"uint256\"}],\"name\":\"getToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_url\",\"type\":\"string\"}],\"name\":\"setViaOracleUrl\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"getTokenByNameType\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"viaAddress\",\"type\":\"address\"}],\"name\":\"getType\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"currencies\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"CashIssuerCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"BondIssuerCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"TokenCreated\",\"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\":false,\"name\":\"proxy\",\"type\":\"address\"}],\"name\":\"ProxyCreated\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"initialize(address)\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"isOwner()\":{\"details\":\"Returns true if the caller is the current owner.\"},\"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.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/Factory.sol\":\"Factory\"},\"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/ownership/Ownable.sol\":{\"keccak256\":\"0xd7e8ab76fa35c4d8d35a06a6ed538cadab8b75a1aa00594ced1568b2c0cadde3\",\"urls\":[\"bzzr://b4c855b32d75f2a4969bfbd530b6934b69f12f28584b3746967e1ca64e024bd9\"]},\"@openzeppelin/upgrades/contracts/Initializable.sol\":{\"keccak256\":\"0x9bfec92e36234ecc99b5d37230acb6cd1f99560233753162204104a4897e8721\",\"urls\":[\"bzzr://f75d88b16fe25a9e19b3512691c496e2bb6d8451bc9a636196c4e17ca9b40201\"]},\"@openzeppelin/upgrades/contracts/cryptography/ECDSA.sol\":{\"keccak256\":\"0x0ca3de3dc8aac4114ff0b123fcabef91901de1a30938f3e954846ad99909b972\",\"urls\":[\"bzzr://7905b8ce67a4d4b0744f0f08abb7c4ec1762b18ee39ee7d64fc73beb0da0db19\"]},\"@openzeppelin/upgrades/contracts/upgradeability/BaseAdminUpgradeabilityProxy.sol\":{\"keccak256\":\"0xbf8ee1cf63a430a3eb8b39a9145d0d133400b8db06fa9fd33056597f7d8ceb25\",\"urls\":[\"bzzr://f9563fda28096fae1396dce1f6eb5f5afc664677887071076b7e4b0e6d06bd56\"]},\"@openzeppelin/upgrades/contracts/upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x1b37f808dc0a45976ad23aa53908c485a74a4d9fbd03066a5ab399c46436e570\",\"urls\":[\"bzzr://c309686ae393a7474d0af3a7237b5ef3c452d9f78756d40caeeaad4caf2c2efb\"]},\"@openzeppelin/upgrades/contracts/upgradeability/InitializableAdminUpgradeabilityProxy.sol\":{\"keccak256\":\"0x91f2b663c89b940dce6dbd00f5e7bf326cdf02d1da4ddbcb7e64b313e60d9afc\",\"urls\":[\"bzzr://572ab82efb4e71dbb88e992eedc363f72290eb2fdc1081023e66680d2a69ef07\"]},\"@openzeppelin/upgrades/contracts/upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0x6b84a0236a899ba5aa673ea34d5efa1f93dba461e13d8799f51a9f7b64b59f4f\",\"urls\":[\"bzzr://bc421cdd1f5c8313a0eaf237c9110d187674955d3eacbc187bddeda82a664053\"]},\"@openzeppelin/upgrades/contracts/upgradeability/Proxy.sol\":{\"keccak256\":\"0xd8074ae5fa7ee6384ca8196a896612fb044bbf4ff4b7336d03cd97845000ac21\",\"urls\":[\"bzzr://a94275c7d409e80fa5cf6f31c8a6b97cf85c231de40585d42ae98bab426562c6\"]},\"@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol\":{\"keccak256\":\"0xf4932759c88b26dd0b37a7ba960c44f7a4e817127846befb4b4fb72ee8f2c573\",\"urls\":[\"bzzr://6b7fb7e0bdbbbcbf9cbd110fc19a23bfa4eeb583c767b66614124f34f2135b42\"]},\"@openzeppelin/upgrades/contracts/upgradeability/UpgradeabilityProxy.sol\":{\"keccak256\":\"0xb02c6349ba01df9902857b6058f92b37f13187775cce9da74f6f28410205445b\",\"urls\":[\"bzzr://2a95f00787c16351caad43b25048cc40eff9f140c4b1284fbf502dfd9b708489\"]},\"@openzeppelin/upgrades/contracts/utils/Address.sol\":{\"keccak256\":\"0x7be7f8e4c08bc70ff9815e3f11c569f42aa3c447b5bc61fd75fb5cec97f63a9f\",\"urls\":[\"bzzr://b6a2c355fa7aadb6c25e8691e98abc26d3429afa58eb761af4ab5377eee30709\"]},\"project:/contracts/Factory.sol\":{\"keccak256\":\"0xbc7b8acdc0f6d61ab4a8dd7ce75a25b15275f6b854c8f6870e565e9ef76274d4\",\"urls\":[\"bzzr://ff7c26c7b7728f92b7b0a50d043e5faf6f3f8c00ba35cc25b6f0e7395467c77c\"]},\"project:/contracts/interfaces/VerifiedClient.sol\":{\"keccak256\":\"0xb4de3dbb08a33aef4860197790d320239afced5fab06ba8b625398671b76c780\",\"urls\":[\"bzzr://de06105d01c0e25f52ac75c1069e79795cc15cdf0169fc574534910055f8b58d\"]},\"project:/contracts/interfaces/ViaFactory.sol\":{\"keccak256\":\"0xd71096d3b9b6e130416a346913097dd5a5f1ca16e242778c9e1005058b14b7f2\",\"urls\":[\"bzzr://b2eeb8b364fec878cee9035228fce18a58d7cec7a0be946df554de65dd51332b\"]},\"project:/contracts/interfaces/ViaToken.sol\":{\"keccak256\":\"0xfe45ec0f3e72d12ca2c0dd9ff16258eec9a30b736dddfc8f799b7f2601b1aae0\",\"urls\":[\"bzzr://3d36c5055be4b4f517ee1670643fa0a139811d45ed844195009b00a8fc666c87\"]}},\"version\":1}", "bytecode": "0x6080604081905261001060a0610034565b601f1982820381018352601f90910116604052805160209190910120600055610042565b6109a6806200345283390190565b61340080620000526000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806388a365f41161013b578063baa796bd116100b8578063edf6a8ac1161007c578063edf6a8ac14610bf6578063f2fde38b14610c64578063f3458f1414610c8a578063f429f19b14610cad578063f6d1c27114610cd35761023d565b8063baa796bd14610afc578063c4d66de814610b6a578063d11322d414610b90578063d6a5aad814610bad578063e4b50cb814610bd95761023d565b8063ae9b71af116100ff578063ae9b71af14610909578063b3eeb5e214610977578063b6f7477514610a2b578063b946762914610a9f578063b96b200414610abc5761023d565b806388a365f41461084f5780638d5040cc146108a15780638da5cb5b146108dd5780638f32d59b146108e5578063968eb4b2146109015761023d565b80635fd4b08a116101c9578063715018a61161018d578063715018a6146107e557806378a89567146107ed578063805ef812146107f55780638129fc1c1461081b57806381ae1f5b146108235761023d565b80635fd4b08a146106735780636150864c14610699578063668151a71461075d5780636d46a1db1461079c578063708b0773146107c25761023d565b806340884c521161021057806340884c52146105905780634f64b2be146105e85780635810c6ce1461060557806359dc735c146106335780635af4730a1461063b5761023d565b8063290f8f56146102425780632ea77917146103a7578063332d6626146103ca5780633e18b01b14610513575b600080fd5b61038b600480360360a081101561025857600080fd5b8135916001600160a01b03602082013581169260408301359091169190810190608081016060820135600160201b81111561029257600080fd5b8201836020820111156102a457600080fd5b803590602001918460018302840111600160201b831117156102c557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561031757600080fd5b82018360208201111561032957600080fd5b803590602001918460018302840111600160201b8311171561034a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610cf0945050505050565b604080516001600160a01b039092168252519081900360200190f35b61038b600480360360408110156103bd57600080fd5b5080359060200135610ddf565b61038b600480360360a08110156103e057600080fd5b8135916001600160a01b03602082013581169260408301359091169190810190608081016060820135600160201b81111561041a57600080fd5b82018360208201111561042c57600080fd5b803590602001918460018302840111600160201b8311171561044d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561049f57600080fd5b8201836020820111156104b157600080fd5b803590602001918460018302840111600160201b831117156104d257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e09945050505050565b61051b610e86565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561055557818101518382015260200161053d565b50505050905090810190601f1680156105825780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610598610f31565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156105d45781810151838201526020016105bc565b505050509050019250505060405180910390f35b61038b600480360360208110156105fe57600080fd5b5035610faa565b6106316004803603604081101561061b57600080fd5b506001600160a01b038135169060200135610fd1565b005b61038b6110ba565b6106616004803603602081101561065157600080fd5b50356001600160a01b0316611163565b60408051918252519081900360200190f35b6106616004803603602081101561068957600080fd5b50356001600160a01b0316611182565b61038b600480360360808110156106af57600080fd5b8135916001600160a01b03602082013581169260408301359091169190810190608081016060820135600160201b8111156106e957600080fd5b8201836020820111156106fb57600080fd5b803590602001918460018302840111600160201b8311171561071c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111a0945050505050565b6107836004803603602081101561077357600080fd5b50356001600160a01b03166111b8565b6040805192835260208301919091528051918290030190f35b610783600480360360208110156107b257600080fd5b50356001600160a01b03166111dd565b61051b600480360360408110156107d857600080fd5b50803590602001356111f6565b6106316112b8565b61066161134c565b6106316004803603602081101561080b57600080fd5b50356001600160a01b0316611352565b6106316113be565b61038b6004803603604081101561083957600080fd5b50803590602001356001600160a01b031661146b565b610631600480360360e081101561086557600080fd5b506001600160a01b038135811691602081013591604082013591606081013591608082013581169160a081013582169160c090910135166114d0565b61038b600480360360808110156108b757600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611a32565b61038b611bb9565b6108ed611bc8565b604080519115158252519081900360200190f35b61051b611bee565b6106316004803603602081101561091f57600080fd5b810190602081018135600160201b81111561093957600080fd5b82018360208201111561094b57600080fd5b803590602001918460208302840111600160201b8311171561096c57600080fd5b509092509050611c63565b61038b6004803603604081101561098d57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156109b757600080fd5b8201836020820111156109c957600080fd5b803590602001918460018302840111600160201b831117156109ea57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611cbe945050505050565b61063160048036036060811015610a4157600080fd5b810190602081018135600160201b811115610a5b57600080fd5b820183602082011115610a6d57600080fd5b803590602001918460018302840111600160201b83111715610a8e57600080fd5b919350915080359060200135611e1f565b61038b60048036036020811015610ab557600080fd5b5035611f2d565b610ad960048036036020811015610ad257600080fd5b5035611f48565b604080516001600160a01b03909316835260208301919091528051918290030190f35b61063160048036036020811015610b1257600080fd5b810190602081018135600160201b811115610b2c57600080fd5b820183602082011115610b3e57600080fd5b803590602001918460018302840111600160201b83111715610b5f57600080fd5b509092509050612025565b61063160048036036020811015610b8057600080fd5b50356001600160a01b031661207b565b6108ed60048036036020811015610ba657600080fd5b503561216f565b61063160048036036040811015610bc357600080fd5b50803590602001356001600160a01b0316612193565b61038b60048036036020811015610bef57600080fd5b50356122f1565b61063160048036036020811015610c0c57600080fd5b810190602081018135600160201b811115610c2657600080fd5b820183602082011115610c3857600080fd5b803590602001918460018302840111600160201b83111715610c5957600080fd5b50909250905061231b565b61063160048036036020811015610c7a57600080fd5b50356001600160a01b0316612371565b61038b60048036036040811015610ca057600080fd5b50803590602001356123c4565b61066160048036036020811015610cc357600080fd5b50356001600160a01b03166124a6565b61066160048036036020811015610ce957600080fd5b50356124c1565b600080610dc8878787873060405160200180868152602001856001600160a01b03166001600160a01b031660601b8152601401846001600160a01b03166001600160a01b031660601b815260140183805190602001908083835b60208310610d695780518252601f199092019160209182019101610d4a565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b03166001600160a01b031660601b815260140195505050505050604051602081830303815290604052805190602001206124df565b9050610dd48184612530565b979650505050505050565b60008281526070602090815260408083208484529091529020546001600160a01b03165b92915050565b600080610e198787878787610cf0565b90506001600160a01b038116610e795760408051600160e51b62461bcd02815260206004820152601160248201527f496e76616c6964207369676e6174757265000000000000000000000000000000604482015290519081900360640190fd5b610dd4878787878561261e565b6068546060906001600160a01b03163314610ea057600080fd5b6069805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f265780601f10610efb57610100808354040283529160200191610f26565b820191906000526020600020905b815481529060010190602001808311610f0957829003601f168201915b505050505090505b90565b6068546060906001600160a01b03163314610f4b57600080fd5b606c805480602002602001604051908101604052809291908181526020018280548015610f2657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610f83575050505050905090565b606e8181548110610fb757fe5b6000918252602090912001546001600160a01b0316905081565b336001600160a01b0316826001600160a01b031663525564216040518163ffffffff1660e01b815260040160206040518083038186803b15801561101457600080fd5b505afa158015611028573d6000803e3d6000fd5b505050506040513d602081101561103e57600080fd5b50516001600160a01b03161461109e5760408051600160e51b62461bcd02815260206004820152601d60248201527f4f6e6c79206973737565722063616e2073657420626f6e64207465726d000000604482015290519081900360640190fd5b6001600160a01b03909116600090815260716020526040902055565b33600090815260676020526040812054600160cb1b660acd2c286c2e6d0214806110ff575033600090815260676020526040902054600160ca1b66159a58509bdb9902145b6111535760408051600160e51b62461bcd02815260206004820152601660248201527f47657420636c69656e74203a20464f5242494444454e00000000000000000000604482015290519081900360640190fd5b50606d546001600160a01b031690565b6001600160a01b0381166000908152607160205260409020545b919050565b6001600160a01b031660009081526067602052604090206001015490565b60006111af858585853361261e565b95945050505050565b6001600160a01b0381166000908152606760205260409020600181015490545b915091565b6067602052600090815260409020805460019091015482565b6068546060906001600160a01b0316331461121057600080fd5b6000838152606b6020908152604080832085845282529182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156112ab5780601f10611280576101008083540402835291602001916112ab565b820191906000526020600020905b81548152906001019060200180831161128e57829003601f168201915b5050505050905092915050565b6112c0611bc8565b6113025760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613387833981519152604482015290519081900360640190fd5b6034546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603480546001600160a01b0319169055565b606e5490565b61135a611bc8565b61139c5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613387833981519152604482015290519081900360640190fd5b606d80546001600160a01b0319166001600160a01b0392909216919091179055565b600154610100900460ff16806113d757506113d7612752565b806113e5575060015460ff16155b61142357604051600160e51b62461bcd02815260040180806020018281038252602e8152602001806133a7602e913960400191505060405180910390fd5b600154610100900460ff1615801561144d576001805460ff1961ff00199091166101001716811790555b6114563361207b565b8015611468576001805461ff00191690555b50565b6000806114788484612758565b600054604080516001600160f81b031960208083019190915230606090811b602184015260358301959095526055808301949094528251808303909401845260759091019091528151910120811b901c949350505050565b6114d8611bc8565b61151a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613387833981519152604482015290519081900360640190fd5b606880546001600160a01b0319166001600160a01b03851617905560608685611541611bb9565b60408051602481019490945260448401929092526001600160a01b039081166064840152808716608484015280861660a4840152841660c4808401919091528151808403909101815260e490920190526020810180516001600160e01b0316600160e21b632274a71302179052905060006115bc8983611cbe565b905086600160e31b63086c2e6d02141561161857604080518981526020810189905281516001600160a01b038416927f49c2bdad6020b81dabafa7be5ba1d6b64dccc883841d724393e4a0242819bc34928290030190a261166e565b86600160e21b63109bdb9902141561166e57604080518981526020810189905281516001600160a01b038416927fdaec82b39e03602f1e7b1c03805276c348a0b9c50d3e83d4ae136f2bbb74