@verified-network/verified-sdk
Version:
An SDK to develop applications on the Verified Network
764 lines • 1.4 MB
JSON
{
"contractName": "Factory",
"abi": [
{
"inputs": [],
"name": "FailedDeployment",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "needed",
"type": "uint256"
}
],
"name": "InsufficientBalance",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "OwnableInvalidOwner",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "OwnableUnauthorizedAccount",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "issuer",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
}
],
"name": "BondIssuerCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "issuer",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
}
],
"name": "CashIssuerCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
}
],
"name": "SupportToken",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
}
],
"name": "TokenCreated",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "currencies",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "token",
"outputs": [
{
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "name",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "tokens",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_owner",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "setOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getTokenCount",
"outputs": [
{
"internalType": "uint256",
"name": "tokenCount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "uint256",
"name": "n",
"type": "uint256"
}
],
"name": "getToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "viaAddress",
"type": "address"
}
],
"name": "getName",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "viaAddress",
"type": "address"
}
],
"name": "getType",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "viaAddress",
"type": "address"
}
],
"name": "getNameAndType",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
}
],
"name": "getTokenByNameType",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
}
],
"name": "getIssuer",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
}
],
"name": "getAddressAndType",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "fromCurrency",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "toCurrency",
"type": "bytes32"
}
],
"name": "getCryptoDataUrl",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "getClient",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "_bondToken",
"type": "address"
}
],
"name": "getBondTerm",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "getFiatPayoutUrl",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "tokenType",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "tokenCurrency",
"type": "bytes32"
},
{
"internalType": "address",
"name": "_oracle",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"internalType": "address",
"name": "_fee",
"type": "address"
}
],
"name": "createIssuer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "address",
"name": "issuer",
"type": "address"
},
{
"internalType": "address",
"name": "payee",
"type": "address"
},
{
"internalType": "bytes32",
"name": "tokenName",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "tokenSymbol",
"type": "bytes32"
}
],
"name": "createToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_feed",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_fromCurrency",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_toCurrency",
"type": "bytes32"
}
],
"name": "setCryptoDataURL",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_bondToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "_term",
"type": "uint256"
}
],
"name": "setBondTerm",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_client",
"type": "address"
}
],
"name": "setClientAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_url",
"type": "string"
}
],
"name": "setFiatPayoutUrl",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_currency",
"type": "bytes32"
},
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "supportTokens",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_currency",
"type": "bytes32"
}
],
"name": "checkSupportForToken",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_currency",
"type": "bytes32"
}
],
"name": "getCurrencyToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FailedDeployment\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"BondIssuerCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"CashIssuerCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"}],\"name\":\"SupportToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"TokenCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_currency\",\"type\":\"bytes32\"}],\"name\":\"checkSupportForToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenCurrency\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_fee\",\"type\":\"address\"}],\"name\":\"createIssuer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payee\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenSymbol\",\"type\":\"bytes32\"}],\"name\":\"createToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"currencies\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"}],\"name\":\"getAddressAndType\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bondToken\",\"type\":\"address\"}],\"name\":\"getBondTerm\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getClient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"fromCurrency\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"toCurrency\",\"type\":\"bytes32\"}],\"name\":\"getCryptoDataUrl\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_currency\",\"type\":\"bytes32\"}],\"name\":\"getCurrencyToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFiatPayoutUrl\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"}],\"name\":\"getIssuer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"viaAddress\",\"type\":\"address\"}],\"name\":\"getName\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"viaAddress\",\"type\":\"address\"}],\"name\":\"getNameAndType\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"n\",\"type\":\"uint256\"}],\"name\":\"getToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"}],\"name\":\"getTokenByNameType\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenCount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"viaAddress\",\"type\":\"address\"}],\"name\":\"getType\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bondToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_term\",\"type\":\"uint256\"}],\"name\":\"setBondTerm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"setClientAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feed\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_fromCurrency\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_toCurrency\",\"type\":\"bytes32\"}],\"name\":\"setCryptoDataURL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_url\",\"type\":\"string\"}],\"name\":\"setFiatPayoutUrl\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_currency\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"supportTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"token\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"tokenType\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"FailedDeployment()\":[{\"details\":\"The deployment failed.\"}],\"InsufficientBalance(uint256,uint256)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"events\":{\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{\"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. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling 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.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/Factory.sol\":\"Factory\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0x85c3b9bac35a90dce9ed9b31532c3739cae432359d8d7ff59cb6712f21c7ed14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a084d32ad4ad5b1d4494124d7695334dbeff81c2d1846a01ef1215153dd38eed\",\"dweb:/ipfs/QmbzDrfeogDd3n65mADjLuy97oAMgh2CtiUxKKEpM3WB8b\"]},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x30d125b8417684dbfea3e8d57284b353a86b22077237b4aaf098c0b54b153e16\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2813775a6326190e75dfa9005c1abbdb1e541c195c0bf5656dd4199e8c66fd8d\",\"dweb:/ipfs/QmYDKANBezQXNrEDyJ69RVXkgypW1hWj7MAvjfdNHTZY8L\"]},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xad316bdc3ee64a0e29773256245045dc57b92660799ff14f668f7c0da9456a9d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://66463434d266816fca2a3a2734ceee88544e61b7cc3899c50333b46e8e771455\",\"dweb:/ipfs/QmPYCzHjki1HQLvBub3uUqoUKGrwdgR3xP9Zpya14YTdXS\"]},\"@openzeppelin/contracts/proxy/Clones.sol\":{\"keccak256\":\"0x5a1847c0c6b92d60711f04cba9eaff572ae1f657cff1b8ca4ba065bcdbd68d8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://403f015277242179edf64150e044b4a18f6ee2cc5edaf6b067a7791545732ed9\",\"dweb:/ipfs/QmYoLCcvqZDofK8ZcvbQcv3Wj5HHku7nF8Y3pXx2efawJb\"]},\"@openzeppelin/contracts/proxy/utils/Initializable.sol\":{\"keccak256\":\"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab7b6d5b9e2b88176312967fe0f0e78f3d9a1422fa5e4b64e2440c35869b5d08\",\"dweb:/ipfs/QmXKYWWyzcLg1B2k7Sb1qkEXgLCYfXecR9wYW5obRzWP1Q\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0xe06ddfff69f3ba154d92102d9a85db2780e045303a587360cf12195216e851ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac19cc390a227758c239c06d3a11d0a2c40c8f58eabb034154b661269d4a0851\",\"dweb:/ipfs/QmdSsfYsPX5RyAXSfHRvR5zdY9MffAgZVa3vdxQUypFBa5\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"@openzeppelin/contracts/utils/LowLevelCall.sol\":{\"keccak256\":\"0x6ba3db1346fc75a832aa6cd075e12f6f1fa172fa2122a020f324c319fe5be75e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab92e9e1cb08144c43fa3a383a87c48f49a652d51156950b928c2a50bee6b3a5\",\"dweb:/ipfs/QmWeKkKZBgLDKgRFGKCzsKybYF7C8g9ysg5kU1b1p7QFBi\"]},\"project:/contracts/Factory.sol\":{\"keccak256\":\"0xa7f4a059aa95f12181173df30fdbdfebfe26bb0055d571768f538818bdc1db0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aedfc0ba2ce56141c63d1f229a259641e2fc718fe087ac802a672c3bd5744d81\",\"dweb:/ipfs/QmXqGbVCqFvhn7HUrJ7SfFNxqkrNhfJVfHPGZbvJg2vPtm\"]},\"project:/contracts/interfaces/VerifiedClient.sol\":{\"keccak256\":\"0xa8671efde1c5d5cdcace3bae2d0bf21daa7a8b72d1c764e929fbba33ec87db7d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9358bd32a369fdd72c4792e86fd821eccdc66e286548278a222f93791986e06\",\"dweb:/ipfs/QmUtq5KJJS7xP6Uq5yvJhrDP2JBxYVm6UJn75ZaQTeRki9\"]},\"project:/contracts/interfaces/ViaFactory.sol\":{\"keccak256\":\"0x82f088a40cd1e025c557d216d42947d31fe3a3d9f8bc9a50df3d575d8ddca5c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab9e4d9c3381b5909815cb33360dd497ca770f9280d4593b46d412958dfb96fd\",\"dweb:/ipfs/QmadfrCQZ7DdgDRwxgybaEXBf4DwUTx4Bb6wDpqguw7keW\"]},\"project:/contracts/interfaces/ViaToken.sol\":{\"keccak256\":\"0xbde24dbddaa537b0a7c58a9f0b85a77dd774eb7d957ab33da6cc825bb60f7d4b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88cc809b041ff035dc975ccce1a5f45a9ec471447b7c6cba3f7b8bf22bbb9f8a\",\"dweb:/ipfs/Qma1RHsJA5m2bd9Pz5gUwocQQb1seg25iE9oitLXijtH78\"]}},\"version\":1}",
"bytecode": "0x608060405234801561000f575f80fd5b50611a218061001d5f395ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c8063805ef812116100fe578063c4d66de81161009e578063f2fde38b1161006e578063f2fde38b14610486578063f3458f1414610499578063f429f19b146104ac578063f6d1c271146104d4575f80fd5b8063c4d66de81461042a578063d11322d41461043d578063d6a5aad814610460578063e4b50cb814610473575f80fd5b8063968eb4b2116100d9578063968eb4b2146103a8578063b9467629146103bd578063b96b2004146103e5578063baa796bd14610417575f80fd5b8063805ef8121461037a57806388a365f41461038d5780638da5cb5b146103a0575f80fd5b80635af4730a116101695780636d46a1db116101445780636d46a1db14610311578063708b077314610337578063715018a61461036a57806378a8956714610372575f80fd5b80635af4730a1461026c5780635fd4b08a146102a2578063668151a7146102cd575f80fd5b80633b518bbd116101a45780633b518bbd146102225780634f64b2be146102355780635810c6ce1461024857806359dc735c1461025b575f80fd5b80630661722f146101ca57806313af4035146101df5780632ea77917146101f2575b5f80fd5b6101dd6101d83660046115b9565b6104e7565b005b6101dd6101ed3660046115eb565b6105ed565b61020561020036600461160d565b610601565b6040516001600160a01b0390911681526020015b60405180910390f35b61020561023036600461162d565b61062a565b610205610243366004611684565b6107ae565b6101dd61025636600461169b565b6107d6565b6002546001600160a01b0316610205565b61029461027a3660046115eb565b6001600160a01b03165f9081526006602052604090205490565b604051908152602001610219565b6102946102b03660046115eb565b6001600160a01b03165f9081526020819052604090206001015490565b6102fc6102db3660046115eb565b6001600160a01b03165f908152602081905260409020600181015490549091565b60408051928352602083019190915201610219565b6102fc61031f3660046115eb565b5f602081905290815260409020805460019091015482565b61020561034536600461160d565b5f9182526001602090815260408084209284529190529020546001600160a01b031690565b6101dd6108b6565b600354610294565b6101dd6103883660046115eb565b6108c9565b6101dd61039b3660046116c5565b6108f3565b610205610cfc565b6103b0610d2a565b604051610219919061175d565b6102056103cb366004611684565b5f908152600a60205260409020546001600160a01b031690565b6103f86103f3366004611684565b610dba565b604080516001600160a01b039093168352602083019190915201610219565b6101dd61042536600461178f565b610eb3565b6101dd6104383660046115eb565b610ecd565b61045061044b366004611684565b610fc6565b6040519015158152602001610219565b6101dd61046e3660046117fb565b610fe8565b610205610481366004611684565b611167565b6101dd6104943660046115eb565b611195565b6102056104a736600461160d565b6111c6565b6102946104ba3660046115eb565b6001600160a01b03165f9081526020819052604090205490565b6102946104e2366004611684565b6112b3565b60025433905f906001600160a01b03161561056e57600254604051634427673360e01b81526001600160a01b03848116600483015290911690634427673390602401606060405180830381865afa158015610544573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105689190611829565b50909150505b8061044560f41b14806105885750806420b236b4b760d91b145b806105ab5750610596610cfc565b6001600160a01b0316826001600160a01b0316145b6105b3575f80fd5b50505f918252600160209081526040808420928452919052902080546001600160a01b0319166001600160a01b0392909216919091179055565b6105f56112d2565b6105fe81611304565b50565b5f8281526005602090815260408083208484529091529020546001600160a01b03165b92915050565b335f9081526020819052604081205466159a58509bdb9960ca1b14806106685750610653610cfc565b6001600160a01b0316336001600160a01b0316145b610670575f80fd5b604051602481018490526001600160a01b0380871660448301528516606482015233608482015260a481018390525f9060c40160408051601f198184030181529190526020810180516001600160e01b031663b5ddca1d60e01b17905290505f6106da8883611374565b6040805180820182526b2b34b0a137b7322a37b5b2b760a11b815260208082018981526001600160a01b0385165f8181528084528581209451855591516001948501556003805494850181559091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90920180546001600160a01b03191683179055825188815266159a58509bdb9960ca1b91810191909152929350917f59bcd02033e203f8af464062ce742d11a3358b7b8fd7e996b91d74bee929d7e5910160405180910390a2979650505050505050565b600381815481106107bd575f80fd5b5f918252602090912001546001600160a01b0316905081565b336001600160a01b0316826001600160a01b031663525564216040518163ffffffff1660e01b8152600401602060405180830381865afa15801561081c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108409190611854565b6001600160a01b03161461089b5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206973737565722063616e2073657420626f6e64207465726d00000060448201526064015b60405180910390fd5b6001600160a01b039091165f90815260066020526040902055565b6108be6112d2565b6108c75f611304565b565b6108d16112d2565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6108fb6112d2565b6001600160a01b0387166109425760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a59081d185c99d95d60921b6044820152606401610892565b6001600160a01b0383166109895760405162461bcd60e51b815260206004820152600e60248201526d496e76616c6964206f7261636c6560901b6044820152606401610892565b60608563109bdb9960e21b03610a115786856109a3610cfc565b604051602481019390935260448301919091526001600160a01b039081166064830152808616608483015280851660a4830152831660c482015260e40160408051601f198184030181529190526020810180516001600160e01b0316632274a71360e21b1790529050610a7d565b8685610a1b610cfc565b604051602481019390935260448301919091526001600160a01b0390811660648301528086166084830152831660a482015260c40160408051601f198184030181529190526020810180516001600160e01b0316630464997760e41b17905290505b5f610a888983611374565b90505f8763086c2e6d60e31b03610af057506040805189815260208101899052660acd2c286c2e6d60cb1b916001600160a01b038416917f49c2bdad6020b81dabafa7be5ba1d6b64dccc883841d724393e4a0242819bc3491015b60405180910390a2610b83565b8763109bdb9960e21b03610b4c5750604080518981526020810189905266159a58509bdb9960ca1b916001600160a01b038416917fdaec82b39e03602f1e7b1c03805276c348a0b9c50d3e83d4ae136f2bbb74137f9101610ae3565b60405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964207479706560a01b6044820152606401610892565b60408051808201825282815260208082018c81526001600160a01b0386165f9081528083528481209351845590516001909301929092558b8252600490522054158015610c0957506003541580610c095750816001600160a01b031660035f81548110610bf257610bf261186f565b5f918252602090912001546001600160a01b031614155b15610c6c57600380545f8b8152600460205260408120829055600182018355919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b038416179055610cbb565b5f89815260046020526040902054600380548492908110610c8f57610c8f61186f565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505b5f9081526005602090815260408083209883529790529590952080546001600160a01b0319166001600160a01b039096169590951790945550505050505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b606060078054610d3990611883565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6590611883565b8015610db05780601f10610d8757610100808354040283529160200191610db0565b820191905f5260205f20905b815481529060010190602001808311610d9357829003601f168201915b5050505050905090565b5f805f835f80600360045f8981526020019081526020015f205481548110610de457610de461186f565b5f9182526020808320909101546001600160a01b0316835282019290925260400190206001015403610e14575060015b8015610ea8575f84815260046020526040902054600380549091908110610e3d57610e3d61186f565b5f91825260208083209091015486835260049091526040822054600380546001600160a01b0390931693928392908110610e7957610e7961186f565b5f9182526020808320909101546001600160a01b03168352820192909252604001902054909590945092505050565b505f93849350915050565b610ebb6112d2565b6007610ec8828483611914565b505050565b5f610ed6611487565b805490915060ff600160401b820416159067ffffffffffffffff165f81158015610efd5750825b90505f8267ffffffffffffffff166001148015610f195750303b155b905081158015610f27575080155b15610f455760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f6f57845460ff60401b1916600160401b1785555b610f78866114af565b8315610fbe57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f8181526009602052604081205415610fe157506001919050565b505f919050565b60025433905f906001600160a01b03161561106f57600254604051634427673360e01b81526001600160a01b03848116600483015290911690634427673390602401606060405180830381865afa158015611045573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110699190611829565b50909150505b8061044560f41b14806110895750806420b236b4b760d91b145b806110ac5750611097610cfc565b6001600160a01b0316826001600160a01b0316145b6110b4575f80fd5b5f84815260096020526040812054900361116157600880546001810182557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301859055545f85815260096020908152604080832093909355600a81529082902080546001600160a01b0319166001600160a01b03871690811790915591518681527fd890f7eb25689077af6295272755a655abe2e036d2f1cb4422eb9e46eacd5e84910160405180910390a25b50505050565b5f6003828154811061117b5761117b61186f565b5f918252602090912001546001600160a01b031692915050565b61119d6112d2565b6001600160a01b0381166105f557604051631e4fbdf760e01b81525f6004820152602401610892565b5f825f80600360045f8881526020019081526020015f2054815481106111ee576111ee61186f565b5f9182526020808320909101546001600160a01b0316835282019290925260400190206001015414801561126957505f838152600460205260408120546003805485939283929181106112435761124361186f565b5f9182526020808320909101546001600160a01b03168352820192909252604001902054145b156112ac575f838152600460205260409020546003805490919081106112915761129161186f565b5f918252602090912001546001600160a01b03169050610624565b505f610624565b600881815481106112c2575f80fd5b5f91825260209091200154905081565b336112db610cfc565b6001600160a01b0316146108c75760405163118cdaa760e01b8152336004820152602401610892565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b5f6001600160a01b0383166113c45760405162461bcd60e51b815260206004820152601660248201527524b73b30b634b21034b6b83632b6b2b73a30ba34b7b760511b6044820152606401610892565b6113d6836001600160a01b03166114c0565b825190915015610624575f816001600160a01b0316836040516113f991906119d0565b5f604051808303815f865af19150503d805f8114611432576040519150601f19603f3d011682016040523d82523d5f602084013e611437565b606091505b50509050806114805760405162461bcd60e51b8152602060048201526015602482015274125b9a5d1a585b1a5e985d1a5bdb8819985a5b1959605a1b6044820152606401610892565b5092915050565b5f807ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00610624565b6114b76114cb565b6105fe816114f0565b5f610624825f6114f8565b6114d361158c565b6108c757604051631afcd79f60e31b815260040160405180910390fd5b61119d6114cb565b5f814710156115235760405163cf47918160e01b815247600482015260248101839052604401610892565b763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c175f526e5af43d82803e903d91602b57fd5bf38360781b176020526037600983f090506001600160a01b0381166106245760405163b06ebf3d60e01b815260040160405180910390fd5b5f611595611487565b54600160401b900460ff16919050565b6001600160a01b03811681146105fe575f80fd5b5f805f606084860312156115cb575f80fd5b83356115d6816115a5565b95602085013595506040909401359392505050565b5f602082840312156115fb575f80fd5b8135611606816115a5565b9392505050565b5f806040838503121561161e575f80fd5b50508035926020909101359150565b5f805f805f60a08688031215611641575f80fd5b853561164c816115a5565b9450602086013561165c816115a5565b9350604086013561166c816115a5565b94979396509394606081013594506080013592915050565b5f60208284031215611694575f80fd5b5035919050565b5f80604083850312156116ac575f80fd5b82356116b7816115a5565b946020939093013593505050565b5f805f805f805f60e0888a0312156116db575f80fd5b87356116e6816115a5565b9650602088013595506040880135945060608801359350608088013561170b816115a5565b925060a088013561171b816115a5565b915060c088013561172b816115a5565b8091505092959891949750929550565b5f5b8381101561175557818101518382015260200161173d565b50505f910152565b602081525f825180602084015261177b81604085016020870161173b565b601f01601f19169190910160400192915050565b5f80602083850312156117a0575f80fd5b823567ffffffffffffffff808211156117b7575f80fd5b818501915085601f8301126117ca575f80fd5b8135818111156117d8575f80fd5b8660208285010111156117e9575f80fd5b60209290920196919550909350505050565b5f806040838503121561180c575f80fd5b82359150602083013561181e816115a5565b809150509250929050565b5f805f6060848603121561183b575f80fd5b8351925060208401519150604084015190509250925092565b5f60208284031215611864575f80fd5b8151611606816115a5565b634e487b7160e01b5f52603260045260245ffd5b600181811c9082168061189757607f821691505b6020821081036118b557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b601f821115610ec8575f