@evolutionland/evolution-js
Version:
evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse
217 lines (216 loc) • 7.84 kB
JSON
[
{
"inputs": [
{ "internalType": "address", "name": "_registry", "type": "address" },
{ "internalType": "address payable", "name": "_wallet", "type": "address" },
{ "internalType": "uint256", "name": "_priceIncreaseBeginTime", "type": "uint256" }
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "token", "type": "address" },
{ "indexed": true, "internalType": "address", "name": "to", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
],
"name": "ClaimedTokens",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "buyer", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" },
{ "indexed": false, "internalType": "uint256", "name": "price", "type": "uint256" }
],
"name": "GoldBoxSale",
"type": "event"
},
{
"anonymous": true,
"inputs": [
{ "indexed": true, "internalType": "bytes4", "name": "sig", "type": "bytes4" },
{ "indexed": true, "internalType": "address", "name": "guy", "type": "address" },
{ "indexed": true, "internalType": "bytes32", "name": "foo", "type": "bytes32" },
{ "indexed": true, "internalType": "bytes32", "name": "bar", "type": "bytes32" },
{ "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" },
{ "indexed": false, "internalType": "bytes", "name": "fax", "type": "bytes" }
],
"name": "LogNote",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "internalType": "address", "name": "authority", "type": "address" }],
"name": "LogSetAuthority",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }],
"name": "LogSetOwner",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "buyer", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" },
{ "indexed": false, "internalType": "uint256", "name": "price", "type": "uint256" }
],
"name": "SilverBoxSale",
"type": "event"
},
{
"inputs": [],
"name": "CONTRACT_RING_ERC20_TOKEN",
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "DECIMALS",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "GOLD_BOX_BASE_PRICE",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "GOLD_BOX_MAX_PRICE",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"name": "GOLD_BOX_PRICE",
"outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "SILVER_BOX_BASE_PRICE",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "SILVER_BOX_MAX_PRICE",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"name": "SILVER_BOX_PRICE",
"outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "authority",
"outputs": [{ "internalType": "contract DSAuthority", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_from", "type": "address" },
{ "internalType": "uint256", "name": "goldBoxAmount", "type": "uint256" },
{ "internalType": "uint256", "name": "silverBoxAmount", "type": "uint256" },
{ "internalType": "uint256", "name": "amountMax", "type": "uint256" }
],
"name": "buyBox",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "_token", "type": "address" }],
"name": "claimTokens",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getPrice",
"outputs": [
{ "internalType": "uint256", "name": "priceGoldBox", "type": "uint256" },
{ "internalType": "uint256", "name": "priceSilverBox", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "priceIncreaseBeginTime",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "registry",
"outputs": [{ "internalType": "contract ISettingsRegistry", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "contract DSAuthority", "name": "authority_", "type": "address" }],
"name": "setAuthority",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "uint256", "name": "_priceIncreaseBeginTime", "type": "uint256" }],
"name": "setBeginTime",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "owner_", "type": "address" }],
"name": "setOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{ "inputs": [], "name": "start", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
{ "inputs": [], "name": "stop", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
{
"inputs": [],
"name": "stopped",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "wallet",
"outputs": [{ "internalType": "address payable", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
}
]