false
false
0

Contract Address Details

0xA29c94cbB0c8AFa2C5F43ea736FF6F1f835d3DD3

Contract Name
BurnedCLOExplorer
Creator
0xfc8f33–9a9935 at 0xf0160a–11a4e1
Balance
0 CLO
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
16288498
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
BurnedCLOExplorer




Optimization enabled
false
Compiler version
v0.8.16+commit.07a7930e




EVM Version
default




Verified at
2024-09-26T15:24:45.165284Z

Contract source code

// SPDX-License-Identifier: GPL

pragma solidity ^0.8.16;

interface IBurnedCLO {
    function getBurnedCLO() external view returns (uint256);
    function getLastFeeIndex() external view returns (uint256);
    function getDifferenceBlock() external view returns (uint256);
    function getLastBlock() external view returns (uint256);
    function getAddressByIndex(uint256 _index) external view returns (address);
    function burnedOf(address _holder) external view returns (uint256);
}

contract BurnedCLOExplorer {

    address contract_burn_clo = address(0x513120fF02CDEA5f61818a026Ff74c34f7874a56);

    function getAllAddressAndAmount() public view returns (address[] memory, uint256 [] memory ){
        uint256 _index = getLastFeeIndex() - 1;
        address[] memory result = new address[](_index);  
        uint256[] memory result2= new uint256[](_index);

        for(uint i; i < _index; i++){
            result[i] = IBurnedCLO(contract_burn_clo).getAddressByIndex(i+1);
            result2[i] = IBurnedCLO(contract_burn_clo).burnedOf(result[i]);
        }

        return (result,result2); // возвращает массив с адресами и массив с сожженными кло
    }

    function getLastBlock() public view returns (uint256) // Последний блок до которого выполнен рассчет
    {
        return IBurnedCLO(contract_burn_clo).getLastBlock();
    }

    function getLastFeeIndex() public view returns (uint256) // Возвращает последний своботный индекс в list
    {
        return IBurnedCLO(contract_burn_clo).getLastFeeIndex();
    }

    function getBurnedCLO() public view returns (uint256) // Возврат сожженного кло
    {
        return IBurnedCLO(contract_burn_clo).getBurnedCLO();
    }    
}
        

Contract ABI

[{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"},{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"getAllAddressAndAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getBurnedCLO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLastBlock","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLastFeeIndex","inputs":[]}]
              

Contract Creation Code

Verify & Publish
0x608060405273513120ff02cdea5f61818a026ff74c34f7874a566000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006457600080fd5b506109a3806100746000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063412ba55f146100515780637f2c4ca81461006f578063d6cad4391461008d578063dcfab10f146100ac575b600080fd5b6100596100ca565b604051610066919061054f565b60405180910390f35b610077610161565b604051610084919061054f565b60405180910390f35b6100956101f8565b6040516100a3929190610718565b60405180910390f35b6100b461049f565b6040516100c1919061054f565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663412ba55f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015c9190610780565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637f2c4ca86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f39190610780565b905090565b606080600060016102076100ca565b61021191906107dc565b905060008167ffffffffffffffff81111561022f5761022e610810565b5b60405190808252806020026020018201604052801561025d5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561027c5761027b610810565b5b6040519080825280602002602001820160405280156102aa5781602001602082028036833780820191505090505b50905060005b838110156104915760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce10cf88600183610301919061083f565b6040518263ffffffff1660e01b815260040161031d919061054f565b602060405180830381865afa15801561033a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035e919061089f565b838281518110610371576103706108cc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634773285a8483815181106103fa576103f96108cc565b5b60200260200101516040518263ffffffff1660e01b815260040161041e919061090a565b602060405180830381865afa15801561043b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045f9190610780565b828281518110610472576104716108cc565b5b602002602001018181525050808061048990610925565b9150506102b0565b508181945094505050509091565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dcfab10f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105319190610780565b905090565b6000819050919050565b61054981610536565b82525050565b60006020820190506105646000830184610540565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105c182610596565b9050919050565b6105d1816105b6565b82525050565b60006105e383836105c8565b60208301905092915050565b6000602082019050919050565b60006106078261056a565b6106118185610575565b935061061c83610586565b8060005b8381101561064d57815161063488826105d7565b975061063f836105ef565b925050600181019050610620565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61068f81610536565b82525050565b60006106a18383610686565b60208301905092915050565b6000602082019050919050565b60006106c58261065a565b6106cf8185610665565b93506106da83610676565b8060005b8381101561070b5781516106f28882610695565b97506106fd836106ad565b9250506001810190506106de565b5085935050505092915050565b6000604082019050818103600083015261073281856105fc565b9050818103602083015261074681846106ba565b90509392505050565b600080fd5b61075d81610536565b811461076857600080fd5b50565b60008151905061077a81610754565b92915050565b6000602082840312156107965761079561074f565b5b60006107a48482850161076b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006107e782610536565b91506107f283610536565b925082820390508181111561080a576108096107ad565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061084a82610536565b915061085583610536565b925082820190508082111561086d5761086c6107ad565b5b92915050565b61087c816105b6565b811461088757600080fd5b50565b60008151905061089981610873565b92915050565b6000602082840312156108b5576108b461074f565b5b60006108c38482850161088a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610904816105b6565b82525050565b600060208201905061091f60008301846108fb565b92915050565b600061093082610536565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610962576109616107ad565b5b60018201905091905056fea2646970667358221220e30cd344a0ab8ad09250732460cd4aa71009eddec4c6ba332f2fffbccecd08ac64736f6c63430008100033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063412ba55f146100515780637f2c4ca81461006f578063d6cad4391461008d578063dcfab10f146100ac575b600080fd5b6100596100ca565b604051610066919061054f565b60405180910390f35b610077610161565b604051610084919061054f565b60405180910390f35b6100956101f8565b6040516100a3929190610718565b60405180910390f35b6100b461049f565b6040516100c1919061054f565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663412ba55f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015c9190610780565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637f2c4ca86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f39190610780565b905090565b606080600060016102076100ca565b61021191906107dc565b905060008167ffffffffffffffff81111561022f5761022e610810565b5b60405190808252806020026020018201604052801561025d5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561027c5761027b610810565b5b6040519080825280602002602001820160405280156102aa5781602001602082028036833780820191505090505b50905060005b838110156104915760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce10cf88600183610301919061083f565b6040518263ffffffff1660e01b815260040161031d919061054f565b602060405180830381865afa15801561033a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035e919061089f565b838281518110610371576103706108cc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634773285a8483815181106103fa576103f96108cc565b5b60200260200101516040518263ffffffff1660e01b815260040161041e919061090a565b602060405180830381865afa15801561043b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045f9190610780565b828281518110610472576104716108cc565b5b602002602001018181525050808061048990610925565b9150506102b0565b508181945094505050509091565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dcfab10f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105319190610780565b905090565b6000819050919050565b61054981610536565b82525050565b60006020820190506105646000830184610540565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105c182610596565b9050919050565b6105d1816105b6565b82525050565b60006105e383836105c8565b60208301905092915050565b6000602082019050919050565b60006106078261056a565b6106118185610575565b935061061c83610586565b8060005b8381101561064d57815161063488826105d7565b975061063f836105ef565b925050600181019050610620565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61068f81610536565b82525050565b60006106a18383610686565b60208301905092915050565b6000602082019050919050565b60006106c58261065a565b6106cf8185610665565b93506106da83610676565b8060005b8381101561070b5781516106f28882610695565b97506106fd836106ad565b9250506001810190506106de565b5085935050505092915050565b6000604082019050818103600083015261073281856105fc565b9050818103602083015261074681846106ba565b90509392505050565b600080fd5b61075d81610536565b811461076857600080fd5b50565b60008151905061077a81610754565b92915050565b6000602082840312156107965761079561074f565b5b60006107a48482850161076b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006107e782610536565b91506107f283610536565b925082820390508181111561080a576108096107ad565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061084a82610536565b915061085583610536565b925082820190508082111561086d5761086c6107ad565b5b92915050565b61087c816105b6565b811461088757600080fd5b50565b60008151905061089981610873565b92915050565b6000602082840312156108b5576108b461074f565b5b60006108c38482850161088a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610904816105b6565b82525050565b600060208201905061091f60008301846108fb565b92915050565b600061093082610536565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610962576109616107ad565b5b60018201905091905056fea2646970667358221220e30cd344a0ab8ad09250732460cd4aa71009eddec4c6ba332f2fffbccecd08ac64736f6c63430008100033