Contract

0x2B44305F2032c44616A366bfa0AebF16240e2dDc

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

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:
ChildChainMinterInterface

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ChildChainMinterInterface.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

contract ChildChainMinterInterface  {

    address public solidBridge;
    address public voter; // ChildChain Voter contract
    address public base; // Solid
    uint256 public active_period; // Store active_period like minter

    event Mint();
    event NotifyExec(uint256 indexed period, uint256 _amount);
    event Error();

    function initialize(
        address _solidBridge,
        address _base,
        address _voter, 
        uint256 _activePeriod
    ) public {}

    function magicFlip(uint256 _activePeriod, uint256 _amount) external {}
    
    // In case rewards are stuck here should be nothing stored on this contract 
    function recoverTokens(address _tokenAddress, uint256 _amount, address _to) external {}
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "viaIR": true,
  "metadata": {
    "bytecodeHash": "none"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[],"name":"Error","type":"event"},{"anonymous":false,"inputs":[],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"period","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"NotifyExec","type":"event"},{"inputs":[],"name":"active_period","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"base","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_solidBridge","type":"address"},{"internalType":"address","name":"_base","type":"address"},{"internalType":"address","name":"_voter","type":"address"},{"internalType":"uint256","name":"_activePeriod","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_activePeriod","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"magicFlip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"solidBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60808060405234610016576101b6908161001c8239f35b600080fdfe608080604052600436101561001357600080fd5b600090813560e01c90816346c96aac1461014f575080635001f3b5146101265780635fb39cd21461011157806361b0a56e146100ee578063ae9fdb79146100c7578063cf756fdf1461008e5763d13996081461006e57600080fd5b3461008b578060031936011261008b576020600354604051908152f35b80fd5b503461008b57608036600319011261008b576100a8610178565b506024356001600160a01b0381160361008b576100c3610193565b5080f35b503461008b578060031936011261008b57546040516001600160a01b039091168152602090f35b503461008b57606036600319011261008b57610108610178565b506100c3610193565b503461008b57604036600319011261008b5780f35b503461008b578060031936011261008b576002546040516001600160a01b039091168152602090f35b9050346101745781600319360112610174576001546001600160a01b03168152602090f35b5080fd5b600435906001600160a01b038216820361018e57565b600080fd5b604435906001600160a01b038216820361018e5756fea164736f6c6343000813000a

Deployed Bytecode

0x608080604052600436101561001357600080fd5b600090813560e01c90816346c96aac1461014f575080635001f3b5146101265780635fb39cd21461011157806361b0a56e146100ee578063ae9fdb79146100c7578063cf756fdf1461008e5763d13996081461006e57600080fd5b3461008b578060031936011261008b576020600354604051908152f35b80fd5b503461008b57608036600319011261008b576100a8610178565b506024356001600160a01b0381160361008b576100c3610193565b5080f35b503461008b578060031936011261008b57546040516001600160a01b039091168152602090f35b503461008b57606036600319011261008b57610108610178565b506100c3610193565b503461008b57604036600319011261008b5780f35b503461008b578060031936011261008b576002546040516001600160a01b039091168152602090f35b9050346101745781600319360112610174576001546001600160a01b03168152602090f35b5080fd5b600435906001600160a01b038216820361018e57565b600080fd5b604435906001600160a01b038216820361018e5756fea164736f6c6343000813000a

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.