S Price: $0.520241 (-12.85%)

Contract

0x0C4c47c75Af93d0a4881F99e6C1547f1A8784299

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArcaneGamble

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at SonicScan.org on 2025-03-02
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract ArcaneGamble {
    uint256 public treasury;
    address public owner;

    struct Spell {
        string name;
        uint256 cost;
        uint256 successRate;
        uint256 rewardMultiplier; // Use whole numbers instead of decimals (e.g., 150 for 1.5x)
        uint256[] tokenOptions;
    }
    
    Spell[] public spells;
    mapping(address => uint256) public balances;
    
    event SpellCasted(address indexed player, string spellName, uint256 amount, bool success);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor(address initialOwner) {
        require(initialOwner != address(0), "Owner cannot be zero address");
        owner = initialOwner;
        emit OwnershipTransferred(address(0), initialOwner);

        // Initialize spells with different success rates and reward multipliers (scaled by 100)
        spells.push(Spell("Fireball", 10 ether, 45, 200, new uint256[](3))); // 2x multiplier
        spells[0].tokenOptions[0] = 5 ether;
        spells[0].tokenOptions[1] = 10 ether;
        spells[0].tokenOptions[2] = 15 ether;
        
        spells.push(Spell("Arcane Shield", 15 ether, 65, 150, new uint256[](3))); // 1.5x multiplier
        spells[1].tokenOptions[0] = 10 ether;
        spells[1].tokenOptions[1] = 15 ether;
        spells[1].tokenOptions[2] = 20 ether;
        
        spells.push(Spell("Chaos Surge", 20 ether, 18, 400, new uint256[](3))); // 4x multiplier
        spells[2].tokenOptions[0] = 15 ether;
        spells[2].tokenOptions[1] = 20 ether;
        spells[2].tokenOptions[2] = 25 ether;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Caller is not the owner");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "New owner cannot be zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

    function castSpell(uint256 spellIndex, uint256 tokenAmount) public payable {
        require(spellIndex < spells.length, "Invalid spell index");
        Spell memory spell = spells[spellIndex];
        require(isValidTokenAmount(spell.tokenOptions, tokenAmount), "Invalid token amount");
        require(msg.value == tokenAmount, "Incorrect spell cost");

        bool success = getRandomOutcome(spell.successRate);
        
        if (success) {
            uint256 winAmount = (tokenAmount * spell.rewardMultiplier) / 100; // Adjusted reward calculation
            require(treasury >= winAmount, "Treasury too low");
            treasury -= winAmount;
            payable(msg.sender).transfer(winAmount);
        } else {
            treasury += tokenAmount;
        }
        emit SpellCasted(msg.sender, spell.name, tokenAmount, success);
    }

    function getRandomOutcome(uint256 successRate) internal view returns (bool) {
        uint256 randomNumber = uint256(blockhash(block.number - 1)) % 100;
        return randomNumber < successRate;
    }

    function isValidTokenAmount(uint256[] memory options, uint256 amount) internal pure returns (bool) {
        for (uint256 i = 0; i < options.length; i++) {
            if (options[i] == amount) return true;
        }
        return false;
    }

    function withdrawTreasury(address payable _to, uint256 _amount) public onlyOwner {
        require(_amount <= treasury, "Not enough funds");
        treasury -= _amount;
        _to.transfer(_amount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"player","type":"address"},{"indexed":false,"internalType":"string","name":"spellName","type":"string"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"SpellCasted","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"spellIndex","type":"uint256"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"castSpell","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"spells","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"cost","type":"uint256"},{"internalType":"uint256","name":"successRate","type":"uint256"},{"internalType":"uint256","name":"rewardMultiplier","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b506040516200126238038062001262833981016040819052620000339162000684565b6001600160a01b0381166200008e5760405162461bcd60e51b815260206004820152601c60248201527f4f776e65722063616e6e6f74206265207a65726f206164647265737300000000604482015260640160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040515f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36040805160e081018252600860a0820190815267119a5c9958985b1b60c21b60c08301528152678ac7230489e800006020820152602d8183015260c8606082015281516003808252608082810190945260029383019190816020016020820280368337505050905281546001810183555f9283526020909220815191926005020190819062000166908262000753565b5060208281015160018301556040830151600283015560608301516003830155608083015180516200019f926004850192019062000620565b505050674563918244f4000060025f81548110620001c157620001c16200081b565b905f5260205f2090600502016004015f81548110620001e457620001e46200081b565b905f5260205f200181905550678ac7230489e8000060025f815481106200020f576200020f6200081b565b905f5260205f2090600502016004016001815481106200023357620002336200081b565b905f5260205f20018190555067d02ab486cedc000060025f815481106200025e576200025e6200081b565b905f5260205f2090600502016004016002815481106200028257620002826200081b565b5f91825260209182902001919091556040805160e081018252600d60a082019081526c105c98d85b994814da1a595b19609a1b60c0830152815267d02ab486cedc000092810192909252604182820152609660608301528051600380825260808281019093526002939283019190816020016020820280368337505050905281546001810183555f9283526020909220815191926005020190819062000329908262000753565b50602082810151600183015560408301516002830155606083015160038301556080830151805162000362926004850192019062000620565b505050678ac7230489e8000060026001815481106200038557620003856200081b565b905f5260205f2090600502016004015f81548110620003a857620003a86200081b565b905f5260205f20018190555067d02ab486cedc00006002600181548110620003d457620003d46200081b565b905f5260205f209060050201600401600181548110620003f857620003f86200081b565b905f5260205f2001819055506801158e460913d0000060026001815481106200042557620004256200081b565b905f5260205f2090600502016004016002815481106200044957620004496200081b565b5f91825260209182902001919091556040805160e081018252600b60a082019081526a4368616f7320537572676560a81b60c083015281526801158e460913d000009281019290925260128282015261019060608301528051600380825260808281019093526002939283019190816020016020820280368337505050905281546001810183555f92835260209092208151919260050201908190620004f0908262000753565b50602082810151600183015560408301516002830155606083015160038301556080830151805162000529926004850192019062000620565b50505067d02ab486cedc0000600280815481106200054b576200054b6200081b565b905f5260205f2090600502016004015f815481106200056e576200056e6200081b565b905f5260205f2001819055506801158e460913d00000600280815481106200059a576200059a6200081b565b905f5260205f209060050201600401600181548110620005be57620005be6200081b565b905f5260205f20018190555068015af1d78b58c4000060028081548110620005ea57620005ea6200081b565b905f5260205f2090600502016004016002815481106200060e576200060e6200081b565b5f91825260209091200155506200082f565b828054828255905f5260205f209081019282156200065c579160200282015b828111156200065c5782518255916020019190600101906200063f565b506200066a9291506200066e565b5090565b5b808211156200066a575f81556001016200066f565b5f6020828403121562000695575f80fd5b81516001600160a01b0381168114620006ac575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620006dc57607f821691505b602082108103620006fb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200074e575f81815260208120601f850160051c81016020861015620007295750805b601f850160051c820191505b818110156200074a5782815560010162000735565b5050505b505050565b81516001600160401b038111156200076f576200076f620006b3565b6200078781620007808454620006c7565b8462000701565b602080601f831160018114620007bd575f8415620007a55750858301515b5f19600386901b1c1916600185901b1785556200074a565b5f85815260208120601f198616915b82811015620007ed57888601518255948401946001909101908401620007cc565b50858210156200080b57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b610a25806200083d5f395ff3fe60806040526004361061006e575f3560e01c806361d027b31161004c57806361d027b3146101005780638da5cb5b14610114578063f2fde38b1461014b578063ffd4a4f51461016a575f80fd5b80630d86419a1461007257806327e235e3146100935780635d5c6a45146100d1575b5f80fd5b34801561007d575f80fd5b5061009161008c3660046107e3565b61017d565b005b34801561009e575f80fd5b506100be6100ad36600461080d565b60036020525f908152604090205481565b6040519081526020015b60405180910390f35b3480156100dc575f80fd5b506100f06100eb36600461082f565b610267565b6040516100c89493929190610889565b34801561010b575f80fd5b506100be5f5481565b34801561011f575f80fd5b50600154610133906001600160a01b031681565b6040516001600160a01b0390911681526020016100c8565b348015610156575f80fd5b5061009161016536600461080d565b610328565b6100916101783660046108b7565b61042d565b6001546001600160a01b031633146101d65760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b60448201526064015b60405180910390fd5b5f5481111561021a5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b60448201526064016101cd565b805f8082825461022a91906108eb565b90915550506040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015610262573d5f803e3d5ffd5b505050565b60028181548110610276575f80fd5b905f5260205f2090600502015f91509050805f018054610295906108fe565b80601f01602080910402602001604051908101604052809291908181526020018280546102c1906108fe565b801561030c5780601f106102e35761010080835404028352916020019161030c565b820191905f5260205f20905b8154815290600101906020018083116102ef57829003601f168201915b5050505050908060010154908060020154908060030154905084565b6001546001600160a01b0316331461037c5760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b60448201526064016101cd565b6001600160a01b0381166103d25760405162461bcd60e51b815260206004820181905260248201527f4e6577206f776e65722063616e6e6f74206265207a65726f206164647265737360448201526064016101cd565b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b60025482106104745760405162461bcd60e51b8152602060048201526013602482015272092dcecc2d8d2c840e6e0cad8d840d2dcc8caf606b1b60448201526064016101cd565b5f6002838154811061048857610488610936565b905f5260205f2090600502016040518060a00160405290815f820180546104ae906108fe565b80601f01602080910402602001604051908101604052809291908181526020018280546104da906108fe565b80156105255780601f106104fc57610100808354040283529160200191610525565b820191905f5260205f20905b81548152906001019060200180831161050857829003601f168201915b505050505081526020016001820154815260200160028201548152602001600382015481526020016004820180548060200260200160405190810160405280929190818152602001828054801561059957602002820191905f5260205f20905b815481526020019060010190808311610585575b50505050508152505090506105b2816080015183610755565b6105f55760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b60448201526064016101cd565b81341461063b5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd081cdc195b1b0818dbdcdd60621b60448201526064016101cd565b5f61064982604001516107a8565b905080156106fa575f6064836060015185610664919061094a565b61066e9190610975565b9050805f5410156106b45760405162461bcd60e51b815260206004820152601060248201526f547265617375727920746f6f206c6f7760801b60448201526064016101cd565b805f808282546106c491906108eb565b9091555050604051339082156108fc029083905f818181858888f193505050501580156106f3573d5f803e3d5ffd5b5050610710565b825f8082825461070a9190610988565b90915550505b815160405133917f22ac6e6a0b7c044c3742e97f6756dd7ce9fbb177bcd245ac719c9db657a60bd39161074791908790869061099b565b60405180910390a250505050565b5f805b835181101561079d578284828151811061077457610774610936565b60200260200101510361078b5760019150506107a2565b80610795816109c4565b915050610758565b505f90505b92915050565b5f8060646107b76001436108eb565b6107c29190406109dc565b9290921092915050565b6001600160a01b03811681146107e0575f80fd5b50565b5f80604083850312156107f4575f80fd5b82356107ff816107cc565b946020939093013593505050565b5f6020828403121561081d575f80fd5b8135610828816107cc565b9392505050565b5f6020828403121561083f575f80fd5b5035919050565b5f81518084525f5b8181101561086a5760208185018101518683018201520161084e565b505f602082860101526020601f19601f83011685010191505092915050565b608081525f61089b6080830187610846565b6020830195909552506040810192909252606090910152919050565b5f80604083850312156108c8575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52601160045260245ffd5b818103818111156107a2576107a26108d7565b600181811c9082168061091257607f821691505b60208210810361093057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b80820281158282048414176107a2576107a26108d7565b634e487b7160e01b5f52601260045260245ffd5b5f8261098357610983610961565b500490565b808201808211156107a2576107a26108d7565b606081525f6109ad6060830186610846565b602083019490945250901515604090910152919050565b5f600182016109d5576109d56108d7565b5060010190565b5f826109ea576109ea610961565b50069056fea26469706673582212205fc568448d5df918d75d5a005d00da01cd5899f085a687c992bc09010357b16b64736f6c63430008140033000000000000000000000000583c831ed3a4f5369c9b9a81683c9d986851a879

Deployed Bytecode

0x60806040526004361061006e575f3560e01c806361d027b31161004c57806361d027b3146101005780638da5cb5b14610114578063f2fde38b1461014b578063ffd4a4f51461016a575f80fd5b80630d86419a1461007257806327e235e3146100935780635d5c6a45146100d1575b5f80fd5b34801561007d575f80fd5b5061009161008c3660046107e3565b61017d565b005b34801561009e575f80fd5b506100be6100ad36600461080d565b60036020525f908152604090205481565b6040519081526020015b60405180910390f35b3480156100dc575f80fd5b506100f06100eb36600461082f565b610267565b6040516100c89493929190610889565b34801561010b575f80fd5b506100be5f5481565b34801561011f575f80fd5b50600154610133906001600160a01b031681565b6040516001600160a01b0390911681526020016100c8565b348015610156575f80fd5b5061009161016536600461080d565b610328565b6100916101783660046108b7565b61042d565b6001546001600160a01b031633146101d65760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b60448201526064015b60405180910390fd5b5f5481111561021a5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b60448201526064016101cd565b805f8082825461022a91906108eb565b90915550506040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015610262573d5f803e3d5ffd5b505050565b60028181548110610276575f80fd5b905f5260205f2090600502015f91509050805f018054610295906108fe565b80601f01602080910402602001604051908101604052809291908181526020018280546102c1906108fe565b801561030c5780601f106102e35761010080835404028352916020019161030c565b820191905f5260205f20905b8154815290600101906020018083116102ef57829003601f168201915b5050505050908060010154908060020154908060030154905084565b6001546001600160a01b0316331461037c5760405162461bcd60e51b815260206004820152601760248201527621b0b63632b91034b9903737ba103a34329037bbb732b960491b60448201526064016101cd565b6001600160a01b0381166103d25760405162461bcd60e51b815260206004820181905260248201527f4e6577206f776e65722063616e6e6f74206265207a65726f206164647265737360448201526064016101cd565b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b60025482106104745760405162461bcd60e51b8152602060048201526013602482015272092dcecc2d8d2c840e6e0cad8d840d2dcc8caf606b1b60448201526064016101cd565b5f6002838154811061048857610488610936565b905f5260205f2090600502016040518060a00160405290815f820180546104ae906108fe565b80601f01602080910402602001604051908101604052809291908181526020018280546104da906108fe565b80156105255780601f106104fc57610100808354040283529160200191610525565b820191905f5260205f20905b81548152906001019060200180831161050857829003601f168201915b505050505081526020016001820154815260200160028201548152602001600382015481526020016004820180548060200260200160405190810160405280929190818152602001828054801561059957602002820191905f5260205f20905b815481526020019060010190808311610585575b50505050508152505090506105b2816080015183610755565b6105f55760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b60448201526064016101cd565b81341461063b5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd081cdc195b1b0818dbdcdd60621b60448201526064016101cd565b5f61064982604001516107a8565b905080156106fa575f6064836060015185610664919061094a565b61066e9190610975565b9050805f5410156106b45760405162461bcd60e51b815260206004820152601060248201526f547265617375727920746f6f206c6f7760801b60448201526064016101cd565b805f808282546106c491906108eb565b9091555050604051339082156108fc029083905f818181858888f193505050501580156106f3573d5f803e3d5ffd5b5050610710565b825f8082825461070a9190610988565b90915550505b815160405133917f22ac6e6a0b7c044c3742e97f6756dd7ce9fbb177bcd245ac719c9db657a60bd39161074791908790869061099b565b60405180910390a250505050565b5f805b835181101561079d578284828151811061077457610774610936565b60200260200101510361078b5760019150506107a2565b80610795816109c4565b915050610758565b505f90505b92915050565b5f8060646107b76001436108eb565b6107c29190406109dc565b9290921092915050565b6001600160a01b03811681146107e0575f80fd5b50565b5f80604083850312156107f4575f80fd5b82356107ff816107cc565b946020939093013593505050565b5f6020828403121561081d575f80fd5b8135610828816107cc565b9392505050565b5f6020828403121561083f575f80fd5b5035919050565b5f81518084525f5b8181101561086a5760208185018101518683018201520161084e565b505f602082860101526020601f19601f83011685010191505092915050565b608081525f61089b6080830187610846565b6020830195909552506040810192909252606090910152919050565b5f80604083850312156108c8575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52601160045260245ffd5b818103818111156107a2576107a26108d7565b600181811c9082168061091257607f821691505b60208210810361093057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b80820281158282048414176107a2576107a26108d7565b634e487b7160e01b5f52601260045260245ffd5b5f8261098357610983610961565b500490565b808201808211156107a2576107a26108d7565b606081525f6109ad6060830186610846565b602083019490945250901515604090910152919050565b5f600182016109d5576109d56108d7565b5060010190565b5f826109ea576109ea610961565b50069056fea26469706673582212205fc568448d5df918d75d5a005d00da01cd5899f085a687c992bc09010357b16b64736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000583c831ed3a4f5369c9b9a81683c9d986851a879

-----Decoded View---------------
Arg [0] : initialOwner (address): 0x583C831ED3A4F5369C9b9a81683c9D986851a879

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000583c831ed3a4f5369c9b9a81683c9d986851a879


Deployed Bytecode Sourcemap

61:3564:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3412:210;;;;;;;;;;-1:-1:-1;3412:210:0;;;;;:::i;:::-;;:::i;:::-;;415:43;;;;;;;;;;-1:-1:-1;415:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;900:25:1;;;888:2;873:18;415:43:0;;;;;;;;387:21;;;;;;;;;;-1:-1:-1;387:21:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;90:23::-;;;;;;;;;;;;;;;;120:20;;;;;;;;;;-1:-1:-1;120:20:0;;;;-1:-1:-1;;;;;120:20:0;;;;;;-1:-1:-1;;;;;2153:32:1;;;2135:51;;2123:2;2108:18;120:20:0;1989:203:1;1832:228:0;;;;;;;;;;-1:-1:-1;1832:228:0;;;;;:::i;:::-;;:::i;2068:867::-;;;;;;:::i;:::-;;:::i;3412:210::-;1771:5;;-1:-1:-1;;;;;1771:5:0;1757:10;:19;1749:55;;;;-1:-1:-1;;;1749:55:0;;2652:2:1;1749:55:0;;;2634:21:1;2691:2;2671:18;;;2664:30;-1:-1:-1;;;2710:18:1;;;2703:53;2773:18;;1749:55:0;;;;;;;;;3523:8:::1;;3512:7;:19;;3504:48;;;::::0;-1:-1:-1;;;3504:48:0;;3004:2:1;3504:48:0::1;::::0;::::1;2986:21:1::0;3043:2;3023:18;;;3016:30;-1:-1:-1;;;3062:18:1;;;3055:46;3118:18;;3504:48:0::1;2802:340:1::0;3504:48:0::1;3575:7;3563:8;::::0;:19:::1;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;3593:21:0::1;::::0;-1:-1:-1;;;;;3593:12:0;::::1;::::0;:21;::::1;;;::::0;3606:7;;3593:21:::1;::::0;;;3606:7;3593:12;:21;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;3412:210:::0;;:::o;387:21::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1832:228::-;1771:5;;-1:-1:-1;;;;;1771:5:0;1757:10;:19;1749:55;;;;-1:-1:-1;;;1749:55:0;;2652:2:1;1749:55:0;;;2634:21:1;2691:2;2671:18;;;2664:30;-1:-1:-1;;;2710:18:1;;;2703:53;2773:18;;1749:55:0;2450:347:1;1749:55:0;-1:-1:-1;;;;;1913:22:0;::::1;1905:67;;;::::0;-1:-1:-1;;;1905:67:0;;3999:2:1;1905:67:0::1;::::0;::::1;3981:21:1::0;;;4018:18;;;4011:30;4077:34;4057:18;;;4050:62;4129:18;;1905:67:0::1;3797:356:1::0;1905:67:0::1;2009:5;::::0;1988:37:::1;::::0;-1:-1:-1;;;;;1988:37:0;;::::1;::::0;2009:5:::1;::::0;1988:37:::1;::::0;2009:5:::1;::::0;1988:37:::1;2036:5;:16:::0;;-1:-1:-1;;;;;;2036:16:0::1;-1:-1:-1::0;;;;;2036:16:0;;;::::1;::::0;;;::::1;::::0;;1832:228::o;2068:867::-;2175:6;:13;2162:26;;2154:58;;;;-1:-1:-1;;;2154:58:0;;4360:2:1;2154:58:0;;;4342:21:1;4399:2;4379:18;;;4372:30;-1:-1:-1;;;4418:18:1;;;4411:49;4477:18;;2154:58:0;4158:343:1;2154:58:0;2223:18;2244:6;2251:10;2244:18;;;;;;;;:::i;:::-;;;;;;;;;;;2223:39;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2281:51;2300:5;:18;;;2320:11;2281:18;:51::i;:::-;2273:84;;;;-1:-1:-1;;;2273:84:0;;4840:2:1;2273:84:0;;;4822:21:1;4879:2;4859:18;;;4852:30;-1:-1:-1;;;4898:18:1;;;4891:50;4958:18;;2273:84:0;4638:344:1;2273:84:0;2389:11;2376:9;:24;2368:57;;;;-1:-1:-1;;;2368:57:0;;5189:2:1;2368:57:0;;;5171:21:1;5228:2;5208:18;;;5201:30;-1:-1:-1;;;5247:18:1;;;5240:50;5307:18;;2368:57:0;4987:344:1;2368:57:0;2438:12;2453:35;2470:5;:17;;;2453:16;:35::i;:::-;2438:50;;2513:7;2509:346;;;2537:17;2598:3;2572:5;:22;;;2558:11;:36;;;;:::i;:::-;2557:44;;;;:::i;:::-;2537:64;;2667:9;2655:8;;:21;;2647:50;;;;-1:-1:-1;;;2647:50:0;;5968:2:1;2647:50:0;;;5950:21:1;6007:2;5987:18;;;5980:30;-1:-1:-1;;;6026:18:1;;;6019:46;6082:18;;2647:50:0;5766:340:1;2647:50:0;2724:9;2712:8;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;2748:39:0;;2756:10;;2748:39;;;;;2777:9;;2748:39;;;;2777:9;2756:10;2748:39;;;;;;;;;;;;;;;;;;;;;2522:277;2509:346;;;2832:11;2820:8;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;;2509:346:0;2894:10;;2870:57;;2882:10;;2870:57;;;;2894:10;2906:11;;2919:7;;2870:57;:::i;:::-;;;;;;;;2143:792;;2068:867;;:::o;3155:249::-;3248:4;;3265:109;3289:7;:14;3285:1;:18;3265:109;;;3343:6;3329:7;3337:1;3329:10;;;;;;;;:::i;:::-;;;;;;;:20;3325:37;;3358:4;3351:11;;;;;3325:37;3305:3;;;;:::i;:::-;;;;3265:109;;;;3391:5;3384:12;;3155:249;;;;;:::o;2943:204::-;3013:4;;3092:3;3071:16;3086:1;3071:12;:16;:::i;:::-;3053:42;;;3061:27;3053:42;:::i;:::-;3113:26;;;;;2943:204;-1:-1:-1;;2943:204:0:o;14:139:1:-;-1:-1:-1;;;;;97:31:1;;87:42;;77:70;;143:1;140;133:12;77:70;14:139;:::o;158:331::-;234:6;242;295:2;283:9;274:7;270:23;266:32;263:52;;;311:1;308;301:12;263:52;350:9;337:23;369:39;402:5;369:39;:::i;:::-;427:5;479:2;464:18;;;;451:32;;-1:-1:-1;;;158:331:1:o;494:255::-;553:6;606:2;594:9;585:7;581:23;577:32;574:52;;;622:1;619;612:12;574:52;661:9;648:23;680:39;713:5;680:39;:::i;:::-;738:5;494:255;-1:-1:-1;;;494:255:1:o;936:180::-;995:6;1048:2;1036:9;1027:7;1023:23;1019:32;1016:52;;;1064:1;1061;1054:12;1016:52;-1:-1:-1;1087:23:1;;936:180;-1:-1:-1;936:180:1:o;1121:423::-;1163:3;1201:5;1195:12;1228:6;1223:3;1216:19;1253:1;1263:162;1277:6;1274:1;1271:13;1263:162;;;1339:4;1395:13;;;1391:22;;1385:29;1367:11;;;1363:20;;1356:59;1292:12;1263:162;;;1267:3;1470:1;1463:4;1454:6;1449:3;1445:16;1441:27;1434:38;1533:4;1526:2;1522:7;1517:2;1509:6;1505:15;1501:29;1496:3;1492:39;1488:50;1481:57;;;1121:423;;;;:::o;1549:435::-;1782:3;1771:9;1764:22;1745:4;1803:46;1844:3;1833:9;1829:19;1821:6;1803:46;:::i;:::-;1880:2;1865:18;;1858:34;;;;-1:-1:-1;1923:2:1;1908:18;;1901:34;;;;1966:2;1951:18;;;1944:34;1795:54;1549:435;-1:-1:-1;1549:435:1:o;2197:248::-;2265:6;2273;2326:2;2314:9;2305:7;2301:23;2297:32;2294:52;;;2342:1;2339;2332:12;2294:52;-1:-1:-1;;2365:23:1;;;2435:2;2420:18;;;2407:32;;-1:-1:-1;2197:248:1:o;3147:127::-;3208:10;3203:3;3199:20;3196:1;3189:31;3239:4;3236:1;3229:15;3263:4;3260:1;3253:15;3279:128;3346:9;;;3367:11;;;3364:37;;;3381:18;;:::i;3412:380::-;3491:1;3487:12;;;;3534;;;3555:61;;3609:4;3601:6;3597:17;3587:27;;3555:61;3662:2;3654:6;3651:14;3631:18;3628:38;3625:161;;3708:10;3703:3;3699:20;3696:1;3689:31;3743:4;3740:1;3733:15;3771:4;3768:1;3761:15;3625:161;;3412:380;;;:::o;4506:127::-;4567:10;4562:3;4558:20;4555:1;4548:31;4598:4;4595:1;4588:15;4622:4;4619:1;4612:15;5336:168;5409:9;;;5440;;5457:15;;;5451:22;;5437:37;5427:71;;5478:18;;:::i;5509:127::-;5570:10;5565:3;5561:20;5558:1;5551:31;5601:4;5598:1;5591:15;5625:4;5622:1;5615:15;5641:120;5681:1;5707;5697:35;;5712:18;;:::i;:::-;-1:-1:-1;5746:9:1;;5641:120::o;6111:125::-;6176:9;;;6197:10;;;6194:36;;;6210:18;;:::i;6241:372::-;6440:2;6429:9;6422:21;6403:4;6460:45;6501:2;6490:9;6486:18;6478:6;6460:45;:::i;:::-;6536:2;6521:18;;6514:34;;;;-1:-1:-1;6591:14:1;;6584:22;6579:2;6564:18;;;6557:50;6452:53;6241:372;-1:-1:-1;6241:372:1:o;6618:135::-;6657:3;6678:17;;;6675:43;;6698:18;;:::i;:::-;-1:-1:-1;6745:1:1;6734:13;;6618:135::o;6758:112::-;6790:1;6816;6806:35;;6821:18;;:::i;:::-;-1:-1:-1;6855:9:1;;6758:112::o

Swarm Source

ipfs://5fc568448d5df918d75d5a005d00da01cd5899f085a687c992bc09010357b16b

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.