UNPKG

@zjbtest/contracts

Version:
1,151 lines 108 kB
{ "contractName": "ADDRESS", "abi": [ { "inputs": [], "name": "ACA", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "AUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "BNC", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "CASH", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEX", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DOT", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "KAR", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "KSM", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "KUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LDOT", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LKSM", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_ACA_AUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_DOT_AUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_KAR_KUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_KSM_KUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_LDOT_AUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_LKSM_KUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LP_RENBTC_AUSD", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "Oracle", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "RENBTC", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "Schedule", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "StateRent", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "Token", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VSKSM", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ACA\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"AUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BNC\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CASH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEX\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"KAR\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"KSM\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"KUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LDOT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LKSM\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_ACA_AUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_DOT_AUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_KAR_KUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_KSM_KUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_LDOT_AUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_LKSM_KUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LP_RENBTC_AUSD\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RENBTC\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Schedule\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"StateRent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VSKSM\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/utils/Address.sol\":\"ADDRESS\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/utils/Address.sol\":{\"keccak256\":\"0xb78a4ac5de33fe83edd08c2a4ef1cdf4929916c8d604095e552da7fd6c84aa01\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://0ac0af0166e357696e42eda51c9938daec8107f931b9037fb3586b10dffd7b85\",\"dweb:/ipfs/QmVkXZxRkb9VoGPYd5NhMZqhem9NDrdWnZH4XNVYhJYLEc\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b506105fa806100206000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063b0dadb7b116100c3578063c49698151161007c578063c496981514610379578063d7f269fe14610397578063e18b7ac5146103b5578063f24a534e146103d3578063f29588c7146103f1578063fd4589211461040f57610158565b8063b0dadb7b146102c5578063b3d27bc5146102e3578063b5c88e4d14610301578063bacbd7cc1461031f578063c24126761461033d578063c30054c01461035b57610158565b80635d499e82116101155780635d499e82146102115780636022c7ab1461022f57806380935aa91461024d57806380bd60e81461026b578063a1b5622614610289578063a5770a54146102a757610158565b80630a4cad6b1461015d57806318ad37af1461017b57806318dca9ba146101995780631f927675146101b75780632fd7d1fd146101d557806336e02950146101f3575b600080fd5b61016561042d565b6040516101729190610577565b60405180910390f35b61018361043c565b6040516101909190610577565b60405180910390f35b6101a161044b565b6040516101ae9190610577565b60405180910390f35b6101bf61045a565b6040516101cc9190610577565b60405180910390f35b6101dd610469565b6040516101ea9190610577565b60405180910390f35b6101fb610478565b6040516102089190610577565b60405180910390f35b610219610487565b6040516102269190610577565b60405180910390f35b610237610496565b6040516102449190610577565b60405180910390f35b6102556104a5565b6040516102629190610577565b60405180910390f35b6102736104ab565b6040516102809190610577565b60405180910390f35b6102916104ba565b60405161029e9190610577565b60405180910390f35b6102af6104c9565b6040516102bc9190610577565b60405180910390f35b6102cd6104d8565b6040516102da9190610577565b60405180910390f35b6102eb6104de565b6040516102f89190610577565b60405180910390f35b6103096104ed565b6040516103169190610577565b60405180910390f35b6103276104f3565b6040516103349190610577565b60405180910390f35b610345610502565b6040516103529190610577565b60405180910390f35b610363610508565b6040516103709190610577565b60405180910390f35b610381610517565b60405161038e9190610577565b60405180910390f35b61039f610526565b6040516103ac9190610577565b60405180910390f35b6103bd610535565b6040516103ca9190610577565b60405180910390f35b6103db610544565b6040516103e89190610577565b60405180910390f35b6103f961054a565b6040516104069190610577565b60405180910390f35b610417610559565b6040516104249190610577565b60405180910390f35b6a020000000002000000000181565b6a010000000000000000008181565b6a020000000014000000000181565b6a010000000000000000008381565b6a010000000000000000000181565b6a010000000000000000000281565b6a020000000082000000008181565b6a010000000000000000000381565b61080481565b6a020000000080000000008181565b6a010000000000000000000081565b6a020000000000000000000181565b61080381565b6a010000000000000000008081565b61080181565b6a020000000083000000008181565b61080081565b6a010000000000000000008281565b6a010000000000000000001581565b6a010000000000000000001481565b6a020000000003000000000181565b61080281565b6a01000000000000000000a881565b6a01000000000000000000a981565b61057181610592565b82525050565b600060208201905061058c6000830184610568565b92915050565b600061059d826105a4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff8216905091905056fea2646970667358221220094a999597ca73d107abe989673d0dd1bfa14efd6a0c960757cdbc598d52fc5c64736f6c63430008000033", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063b0dadb7b116100c3578063c49698151161007c578063c496981514610379578063d7f269fe14610397578063e18b7ac5146103b5578063f24a534e146103d3578063f29588c7146103f1578063fd4589211461040f57610158565b8063b0dadb7b146102c5578063b3d27bc5146102e3578063b5c88e4d14610301578063bacbd7cc1461031f578063c24126761461033d578063c30054c01461035b57610158565b80635d499e82116101155780635d499e82146102115780636022c7ab1461022f57806380935aa91461024d57806380bd60e81461026b578063a1b5622614610289578063a5770a54146102a757610158565b80630a4cad6b1461015d57806318ad37af1461017b57806318dca9ba146101995780631f927675146101b75780632fd7d1fd146101d557806336e02950146101f3575b600080fd5b61016561042d565b6040516101729190610577565b60405180910390f35b61018361043c565b6040516101909190610577565b60405180910390f35b6101a161044b565b6040516101ae9190610577565b60405180910390f35b6101bf61045a565b6040516101cc9190610577565b60405180910390f35b6101dd610469565b6040516101ea9190610577565b60405180910390f35b6101fb610478565b6040516102089190610577565b60405180910390f35b610219610487565b6040516102269190610577565b60405180910390f35b610237610496565b6040516102449190610577565b60405180910390f35b6102556104a5565b6040516102629190610577565b60405180910390f35b6102736104ab565b6040516102809190610577565b60405180910390f35b6102916104ba565b60405161029e9190610577565b60405180910390f35b6102af6104c9565b6040516102bc9190610577565b60405180910390f35b6102cd6104d8565b6040516102da9190610577565b60405180910390f35b6102eb6104de565b6040516102f89190610577565b60405180910390f35b6103096104ed565b6040516103169190610577565b60405180910390f35b6103276104f3565b6040516103349190610577565b60405180910390f35b610345610502565b6040516103529190610577565b60405180910390f35b610363610508565b6040516103709190610577565b60405180910390f35b610381610517565b60405161038e9190610577565b60405180910390f35b61039f610526565b6040516103ac9190610577565b60405180910390f35b6103bd610535565b6040516103ca9190610577565b60405180910390f35b6103db610544565b6040516103e89190610577565b60405180910390f35b6103f961054a565b6040516104069190610577565b60405180910390f35b610417610559565b6040516104249190610577565b60405180910390f35b6a020000000002000000000181565b6a010000000000000000008181565b6a020000000014000000000181565b6a010000000000000000008381565b6a010000000000000000000181565b6a010000000000000000000281565b6a020000000082000000008181565b6a010000000000000000000381565b61080481565b6a020000000080000000008181565b6a010000000000000000000081565b6a020000000000000000000181565b61080381565b6a010000000000000000008081565b61080181565b6a020000000083000000008181565b61080081565b6a010000000000000000008281565b6a010000000000000000001581565b6a010000000000000000001481565b6a020000000003000000000181565b61080281565b6a01000000000000000000a881565b6a01000000000000000000a981565b61057181610592565b82525050565b600060208201905061058c6000830184610568565b92915050565b600061059d826105a4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff8216905091905056fea2646970667358221220094a999597ca73d107abe989673d0dd1bfa14efd6a0c960757cdbc598d52fc5c64736f6c63430008000033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [ { "ast": { "nodeType": "YulBlock", "src": "0:590:20", "statements": [ { "body": { "nodeType": "YulBlock", "src": "72:53:20", "statements": [ { "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "89:3:20" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "112:5:20" } ], "functionName": { "name": "cleanup_t_address", "nodeType": "YulIdentifier", "src": "94:17:20" }, "nodeType": "YulFunctionCall", "src": "94:24:20" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "82:6:20" }, "nodeType": "YulFunctionCall", "src": "82:37:20" }, "nodeType": "YulExpressionStatement", "src": "82:37:20" } ] }, "name": "abi_encode_t_address_to_t_address_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "60:5:20", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", "src": "67:3:20", "type": "" } ], "src": "7:118:20" }, { "body": { "nodeType": "YulBlock", "src": "229:124:20", "statements": [ { "nodeType": "YulAssignment", "src": "239:26:20", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "251:9:20" }, { "kind": "number", "nodeType": "YulLiteral", "src": "262:2:20", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "247:3:20" }, "nodeType": "YulFunctionCall", "src": "247:18:20" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "239:4:20" } ] }, { "expression": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "319:6:20" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "332:9:20" }, { "kind": "number", "nodeType": "YulLiteral", "src": "343:1:20", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "328:3:20" }, "nodeType": "YulFunctionCall", "src": "328:17:20" } ], "functionName": { "name": "abi_encode_t_address_to_t_address_fromStack", "nodeType": "YulIdentifier", "src": "275:43:20" }, "nodeType": "YulFunctionCall", "src": "275:71:20" }, "nodeType": "YulExpressionStatement", "src": "275:71:20" } ] }, "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "201:9:20", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", "src": "213:6:20", "type": "" } ], "returnVariables": [ { "name": "tail", "nodeType": "YulTypedName", "src": "224:4:20", "type": "" } ], "src": "131:222:20" }, { "body": { "nodeType": "YulBlock", "src": "404:51:20", "statements": [ { "nodeType": "YulAssignment", "src": "414:35:20", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "443:5:20" } ], "functionName": { "name": "cleanup_t_uint160", "nodeType": "YulIdentifier", "src": "425:17:20" }, "nodeType": "YulFunctionCall", "src": "425:24:20" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "414:7:20" } ] } ] }, "name": "cleanup_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "386:5:20", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "396:7:20", "type": "" } ], "src": "359:96:20" }, { "body": { "nodeType": "YulBlock", "src": "506:81:20", "statements": [ { "nodeType": "YulAssignment", "src": "516:65:20", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "531:5:20" }, { "kind": "number", "nodeType": "YulLiteral", "src": "538:42:20", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "527:3:20" }, "nodeType": "YulFunctionCall", "src": "527:54:20" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "516:7:20" } ] } ] }, "name": "cleanup_t_uint160", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "488:5:20", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "498:7:20", "type": "" } ], "src": "461:126:20" } ] }, "contents": "{\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n}\n", "id": 20, "language": "Yul", "name": "#utility.yul" } ], "sourceMap": "71:1907:12:-:0;;;;;;;;;;;;;;;;;;;", "deployedSourceMap": "71:1907:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1084:80;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;622:73;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1251:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;773:73;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;166;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;242:72;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1420:80;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;317:73;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1903:72;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1337:80;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;91:72;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1001:80;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1823:77;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;547:72;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1664:78;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1503:81;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1587:74;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;698:72;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;471:73;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;393:75;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1167:81;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1745:75;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;849:72;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;924:74;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1084:80;1122:42;1084:80;:::o;622:73::-;653:42;622:73;:::o;1251:83::-;1292:42;1251:83;:::o;773:73::-;804:42;773:73;:::o;166:::-;197:42;166:73;:::o;242:72::-;272:42;242:72;:::o;1420:80::-;1458:42;1420:80;:::o;317:73::-;348:42;317:73;:::o;1903:72::-;1933:42;1903:72;:::o;1337:80::-;1375:42;1337:80;:::o;91:72::-;121:42;91:72;:::o;1001:80::-;1039:42;1001:80;:::o;1823:77::-;1858:42;1823:77;:::o;547:72::-;577:42;547:72;:::o;1664:78::-;1700:42;1664:78;:::o;1503:81::-;1542:42;1503:81;:::o;1587:74::-;1619:42;1587:74;:::o;698:72::-;728:42;698:72;:::o;471:73::-;502:42;471:73;:::o;393:75::-;426:42;393:75;:::o;1167:81::-;1206:42;1167:81;:::o;1745:75::-;1778:42;1745:75;:::o;849:72::-;879:42;849:72;:::o;924:74::-;956:42;924:74;:::o;7:118:20:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;72:53;;:::o;131:222::-;;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;229:124;;;;:::o;359:96::-;;425:24;443:5;425:24;:::i;:::-;414:35;;404:51;;;:::o;461:126::-;;538:42;531:5;527:54;516:65;;506:81;;;:::o", "source": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ncontract ADDRESS {\n\taddress public constant ACA = 0x0000000000000000000100000000000000000000;\n\taddress public constant AUSD = 0x0000000000000000000100000000000000000001;\n\taddress public constant DOT = 0x0000000000000000000100000000000000000002;\n\taddress public constant LDOT = 0x0000000000000000000100000000000000000003;\n\taddress public constant RENBTC = 0x0000000000000000000100000000000000000014;\n\taddress public constant CASH = 0x0000000000000000000100000000000000000015;\n\taddress public constant KAR = 0x0000000000000000000100000000000000000080;\n\taddress public constant KUSD = 0x0000000000000000000100000000000000000081;\n\taddress public constant KSM = 0x0000000000000000000100000000000000000082;\n\taddress public constant LKSM = 0x0000000000000000000100000000000000000083;\n\taddress public constant BNC = 0x00000000000000000001000000000000000000a8;\n\taddress public constant VSKSM = 0x00000000000000000001000000000000000000A9;\n\taddress public constant LP_ACA_AUSD = 0x0000000000000000000200000000000000000001;\n\taddress public constant LP_DOT_AUSD = 0x0000000000000000000200000000020000000001;\n\taddress public constant LP_LDOT_AUSD = 0x0000000000000000000200000000030000000001;\n\taddress public constant LP_RENBTC_AUSD = 0x0000000000000000000200000000140000000001;\n\taddress public constant LP_KAR_KUSD = 0x0000000000000000000200000000800000000081;\n\taddress public constant LP_KSM_KUSD = 0x0000000000000000000200000000820000000081;\n\taddress public constant LP_LKSM_KUSD = 0x0000000000000000000200000000830000000081;\n\taddress public constant Token = 0x0000000000000000000000000000000000000800;\n\taddress public constant StateRent = 0x0000000000000000000000000000000000000801;\n\taddress public constant Oracle = 0x0000000000000000000000000000000000000802;\n\taddress public constant Schedule = 0x0000000000000000000000000000000000000803;\n\taddress public constant DEX = 0x0000000000000000000000000000000000000804;\n}\n", "sourcePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/utils/Address.sol", "ast": { "absolutePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/utils/Address.sol", "exportedSymbols": { "ADDRESS": [ 1954 ] }, "id": 1955, "license": "GPL-3.0-or-later", "nodeType": "SourceUnit", "nodes": [ { "id": 1881, "literals": [ "solidity", "^", "0.8", ".0" ], "nodeType": "PragmaDirective", "src": "46:23:12" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "id": 1954, "linearizedBaseContracts": [ 1954 ], "name": "ADDRESS", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "functionSelector": "a1b56226", "id": 1884, "mutability": "constant", "name": "ACA", "nodeType": "VariableDeclaration", "scope": 1954, "src": "91:72:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1882, "name": "address", "nodeType": "ElementaryTypeName", "src": "91:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303030", "id": 1883, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "121:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000000" }, "visibility": "public" }, { "constant": true, "functionSelector": "2fd7d1fd", "id": 1887, "mutability": "constant", "name": "AUSD", "nodeType": "VariableDeclaration", "scope": 1954, "src": "166:73:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1885, "name": "address", "nodeType": "ElementaryTypeName", "src": "166:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303031", "id": 1886, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "197:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000001" }, "visibility": "public" }, { "constant": true, "functionSelector": "36e02950", "id": 1890, "mutability": "constant", "name": "DOT", "nodeType": "VariableDeclaration", "scope": 1954, "src": "242:72:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1888, "name": "address", "nodeType": "ElementaryTypeName", "src": "242:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303032", "id": 1889, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "272:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000002" }, "visibility": "public" }, { "constant": true, "functionSelector": "6022c7ab", "id": 1893, "mutability": "constant", "name": "LDOT", "nodeType": "VariableDeclaration", "scope": 1954, "src": "317:73:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1891, "name": "address", "nodeType": "ElementaryTypeName", "src": "317:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303033", "id": 1892, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "348:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000003" }, "visibility": "public" }, { "constant": true, "functionSelector": "d7f269fe", "id": 1896, "mutability": "constant", "name": "RENBTC", "nodeType": "VariableDeclaration", "scope": 1954, "src": "393:75:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1894, "name": "address", "nodeType": "ElementaryTypeName", "src": "393:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303134", "id": 1895, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "426:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000014" }, "visibility": "public" }, { "constant": true, "functionSelector": "c4969815", "id": 1899, "mutability": "constant", "name": "CASH", "nodeType": "VariableDeclaration", "scope": 1954, "src": "471:73:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", "src": "471:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303135", "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "502:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000015" }, "visibility": "public" }, { "constant": true, "functionSelector": "b3d27bc5", "id": 1902, "mutability": "constant", "name": "KAR", "nodeType": "VariableDeclaration", "scope": 1954, "src": "547:72:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1900, "name": "address", "nodeType": "ElementaryTypeName", "src": "547:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303830", "id": 1901, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "577:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000080" }, "visibility": "public" }, { "constant": true, "functionSelector": "18ad37af", "id": 1905, "mutability": "constant", "name": "KUSD", "nodeType": "VariableDeclaration", "scope": 1954, "src": "622:73:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1903, "name": "address", "nodeType": "ElementaryTypeName", "src": "622:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303831", "id": 1904, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "653:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000081" }, "visibility": "public" }, { "constant": true, "functionSelector": "c30054c0", "id": 1908, "mutability": "constant", "name": "KSM", "nodeType": "VariableDeclaration", "scope": 1954, "src": "698:72:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1906, "name": "address", "nodeType": "ElementaryTypeName", "src": "698:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303832", "id": 1907, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "728:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000082" }, "visibility": "public" }, { "constant": true, "functionSelector": "1f927675", "id": 1911, "mutability": "constant", "name": "LKSM", "nodeType": "VariableDeclaration", "scope": 1954, "src": "773:73:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1909, "name": "address", "nodeType": "ElementaryTypeName", "src": "773:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030303833", "id": 1910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "804:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x0000000000000000000100000000000000000083" }, "visibility": "public" }, { "constant": true, "functionSelector": "f29588c7", "id": 1914, "mutability": "constant", "name": "BNC", "nodeType": "VariableDeclaration", "scope": 1954, "src": "849:72:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1912, "name": "address", "nodeType": "ElementaryTypeName", "src": "849:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": { "hexValue": "307830303030303030303030303030303030303030313030303030303030303030303030303030306138", "id": 1913, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "879:42:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "value": "0x00000000000000000001000000000000000000a8" }, "visibility": "public" }, { "constant": true, "functionSelector": "fd458921", "id": 1917, "mutability": "constant", "name": "VSKSM", "nodeType": "VariableDeclarat