ETH Price: $1,732.39 (+3.20%)
Gas: 11 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multi Chain

Multichain Addresses

Transaction Hash
Method
Block
From
To
Value
Create Token124574352021-05-18 9:03:37866 days 22 hrs ago1621328617IN
0xbF209C...cA379301
0 ETH0.21246935257
Create Token114946392020-12-21 4:54:351015 days 2 hrs ago1608526475IN
0xbF209C...cA379301
0 ETH0.0324062840.00000145
Create Token112319412020-11-10 20:31:371055 days 11 hrs ago1605040297IN
0xbF209C...cA379301
0 ETH0.0372705346
Create Token112253512020-11-09 20:00:271056 days 11 hrs ago1604952027IN
0xbF209C...cA379301
0 ETH0.0190398123.5
Create Token112252572020-11-09 19:39:021056 days 12 hrs ago1604950742IN
0xbF209C...cA379301
0 ETH0.0186358123
Create Token112029212020-11-06 9:14:551059 days 22 hrs ago1604654095IN
0xbF209C...cA379301
0 ETH0.0023910930
Create Token106547402020-08-13 23:59:051144 days 7 hrs ago1597363145IN
0xbF209C...cA379301
0 ETH0.12232645151
Create Token104328792020-07-10 16:35:201178 days 15 hrs ago1594398920IN
0xbF209C...cA379301
0 ETH0.0477966258.995
Create Token103608432020-06-29 12:50:361189 days 18 hrs ago1593435036IN
0xbF209C...cA379301
0 ETH0.03646345
Create Token102004312020-06-04 16:37:261214 days 15 hrs ago1591288646IN
0xbF209C...cA379301
0 ETH0.0219097227.04500015
Create Token99427302020-04-25 16:34:181254 days 15 hrs ago1587832458IN
0xbF209C...cA379301
0 ETH0.0093575911.55000035
Create Token96644522020-03-13 17:26:151297 days 14 hrs ago1584120375IN
0xbF209C...cA379301
0 ETH0.006481928
Create Token93644932020-01-27 14:18:481343 days 17 hrs ago1580134728IN
0xbF209C...cA379301
0 ETH0.001186541.5
Create Token91020272019-12-13 21:23:071388 days 10 hrs ago1576272187IN
0xbF209C...cA379301
0 ETH0.000791011
Create Token90121302019-11-27 22:11:041404 days 9 hrs ago1574892664IN
0xbF209C...cA379301
0 ETH0.004703916
Create Token86363582019-09-28 8:54:571464 days 22 hrs ago1569660897IN
0xbF209C...cA379301
0 ETH0.03276141
Create Token85495842019-09-14 19:32:131478 days 12 hrs ago1568489533IN
0xbF209C...cA379301
0 ETH0.019535124.44794464
Create Token84731522019-09-02 21:18:151490 days 10 hrs ago1567459095IN
0xbF209C...cA379301
0 ETH0.001384351.7325
Create Token84205412019-08-25 16:51:121498 days 14 hrs ago1566751872IN
0xbF209C...cA379301
0 ETH0.001597712
Create Token82448092019-07-29 9:42:131525 days 22 hrs ago1564393333IN
0xbF209C...cA379301
0 ETH0.0032625341
Create Token81978852019-07-22 2:52:471533 days 4 hrs ago1563763967IN
0xbF209C...cA379301
0 ETH0.001198181.5
Create Token81914722019-07-21 3:02:301534 days 4 hrs ago1563678150IN
0xbF209C...cA379301
0 ETH0.001199051.5
Create Token81910402019-07-21 1:24:351534 days 6 hrs ago1563672275IN
0xbF209C...cA379301
0 ETH0.001198471.5
Create Token81851632019-07-20 3:40:131535 days 4 hrs ago1563594013IN
0xbF209C...cA379301
0 ETH0.001198471.5
Create Token81850642019-07-20 3:14:361535 days 4 hrs ago1563592476IN
0xbF209C...cA379301
0 ETH0.001198471.5
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Advanced Filter
Parent Txn Hash Block From To Value
181685342023-09-19 7:40:5913 days 8 mins ago1695109259
0xbF209C...cA379301
 Contract Creation0 ETH
172267692023-05-10 1:33:11145 days 6 hrs ago1683682391
0xbF209C...cA379301
 Contract Creation0 ETH
124574352021-05-18 9:03:37866 days 22 hrs ago1621328617
0xbF209C...cA379301
 Contract Creation0 ETH
114946392020-12-21 4:54:351015 days 2 hrs ago1608526475
0xbF209C...cA379301
 Contract Creation0 ETH
112319412020-11-10 20:31:371055 days 11 hrs ago1605040297
0xbF209C...cA379301
 Contract Creation0 ETH
112253512020-11-09 20:00:271056 days 11 hrs ago1604952027
0xbF209C...cA379301
 Contract Creation0 ETH
112252572020-11-09 19:39:021056 days 12 hrs ago1604950742
0xbF209C...cA379301
 Contract Creation0 ETH
112029212020-11-06 9:14:551059 days 22 hrs ago1604654095
0xbF209C...cA379301
 Contract Creation0 ETH
106547402020-08-13 23:59:051144 days 7 hrs ago1597363145
0xbF209C...cA379301
 Contract Creation0 ETH
104328792020-07-10 16:35:201178 days 15 hrs ago1594398920
0xbF209C...cA379301
 Contract Creation0 ETH
103608432020-06-29 12:50:361189 days 18 hrs ago1593435036
0xbF209C...cA379301
 Contract Creation0 ETH
102004312020-06-04 16:37:261214 days 15 hrs ago1591288646
0xbF209C...cA379301
 Contract Creation0 ETH
99427302020-04-25 16:34:181254 days 15 hrs ago1587832458
0xbF209C...cA379301
 Contract Creation0 ETH
96644522020-03-13 17:26:151297 days 14 hrs ago1584120375
0xbF209C...cA379301
 Contract Creation0 ETH
93644932020-01-27 14:18:481343 days 17 hrs ago1580134728
0xbF209C...cA379301
 Contract Creation0 ETH
91020272019-12-13 21:23:071388 days 10 hrs ago1576272187
0xbF209C...cA379301
 Contract Creation0 ETH
90121302019-11-27 22:11:041404 days 9 hrs ago1574892664
0xbF209C...cA379301
 Contract Creation0 ETH
86363582019-09-28 8:54:571464 days 22 hrs ago1569660897
0xbF209C...cA379301
 Contract Creation0 ETH
85495842019-09-14 19:32:131478 days 12 hrs ago1568489533
0xbF209C...cA379301
 Contract Creation0 ETH
84731522019-09-02 21:18:151490 days 10 hrs ago1567459095
0xbF209C...cA379301
 Contract Creation0 ETH
84205412019-08-25 16:51:121498 days 14 hrs ago1566751872
0xbF209C...cA379301
 Contract Creation0 ETH
82448092019-07-29 9:42:131525 days 22 hrs ago1564393333
0xbF209C...cA379301
 Contract Creation0 ETH
81978852019-07-22 2:52:471533 days 4 hrs ago1563763967
0xbF209C...cA379301
 Contract Creation0 ETH
81914722019-07-21 3:02:301534 days 4 hrs ago1563678150
0xbF209C...cA379301
 Contract Creation0 ETH
81910402019-07-21 1:24:351534 days 6 hrs ago1563672275
0xbF209C...cA379301
 Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenCreator

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-04-09
*/

/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
pragma solidity 0.4.21;
/// @title Utility Functions for address
/// @author Daniel Wang - <[email protected]>
library AddressUtil {
    function isContract(address addr)
        internal
        view
        returns (bool)
    {
        if (addr == 0x0) {
            return false;
        } else {
            uint size;
            assembly { size := extcodesize(addr) }
            return size > 0;
        }
    }
}
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/*
    Copyright 2017 Loopring Project Ltd (Loopring Foundation).
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/// @title ERC20 Token Interface
/// @dev see https://github.com/ethereum/EIPs/issues/20
/// @author Daniel Wang - <[email protected]>
contract ERC20 {
    function balanceOf(address who) view public returns (uint256);
    function allowance(address owner, address spender) view public returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    function transferFrom(address from, address to, uint256 value) public returns (bool);
    function approve(address spender, uint256 value) public returns (bool);
}
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/// @title Utility Functions for uint
/// @author Daniel Wang - <[email protected]>
library MathUint {
    function mul(uint a, uint b) internal pure returns (uint c) {
        c = a * b;
        require(a == 0 || c / a == b);
    }
    function sub(uint a, uint b) internal pure returns (uint) {
        require(b <= a);
        return a - b;
    }
    function add(uint a, uint b) internal pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function tolerantSub(uint a, uint b) internal pure returns (uint c) {
        return (a >= b) ? a - b : 0;
    }
    /// @dev calculate the square of Coefficient of Variation (CV)
    /// https://en.wikipedia.org/wiki/Coefficient_of_variation
    function cvsquare(
        uint[] arr,
        uint scale
        )
        internal
        pure
        returns (uint)
    {
        uint len = arr.length;
        require(len > 1);
        require(scale > 0);
        uint avg = 0;
        for (uint i = 0; i < len; i++) {
            avg += arr[i];
        }
        avg = avg / len;
        if (avg == 0) {
            return 0;
        }
        uint cvs = 0;
        uint s;
        uint item;
        for (i = 0; i < len; i++) {
            item = arr[i];
            s = item > avg ? item - avg : avg - item;
            cvs += mul(s, s);
        }
        return ((mul(mul(cvs, scale), scale) / avg) / avg) / (len - 1);
    }
}
/// @title ERC20 Token Implementation
/// @dev see https://github.com/ethereum/EIPs/issues/20
///      This ERC20 token will give the designated tokenTransferDelegate a max allowance.
/// @author Daniel Wang - <[email protected]>
contract ERC20Token is ERC20 {
    using MathUint for uint;
    using AddressUtil for address;
    string  public name;
    string  public symbol;
    uint8   public decimals;
    uint    public totalSupply_;
    address public tokenTransferDelegate;
    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) internal allowed;
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    function ERC20Token(
        string  _name,
        string  _symbol,
        uint8   _decimals,
        uint    _totalSupply,
        address _firstHolder,
        address _tokenTransferDelegate
        )
        public
    {
        require(bytes(_name).length > 0);
        require(bytes(_symbol).length > 0);
        require(_totalSupply > 0);
        require(_firstHolder != 0x0);
        require(_tokenTransferDelegate.isContract());
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply_ = _totalSupply;
        tokenTransferDelegate = _tokenTransferDelegate;
        balances[_firstHolder] = totalSupply_;
    }
    function () payable public
    {
        revert();
    }
    /**
    * @dev total number of tokens in existence
    */
    function totalSupply() public view returns (uint256) {
        return totalSupply_;
    }
    /**
    * @dev transfer token for a specified address
    * @param _to The address to transfer to.
    * @param _value The amount to be transferred.
    */
    function transfer(
        address _to,
        uint256 _value
        )
        public
        returns (bool)
    {
        require(_to != address(0));
        require(_value <= balances[msg.sender]);
        // SafeMath.sub will throw if there is not enough balance.
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        emit Transfer(msg.sender, _to, _value);
        return true;
    }
    /**
    * @dev Gets the balance of the specified address.
    * @param _owner The address to query the the balance of.
    * @return An uint256 representing the amount owned by the passed address.
    */
    function balanceOf(address _owner)
        public
        view
        returns (uint256 balance)
    {
        return balances[_owner];
    }
    /**
     * @dev Transfer tokens from one address to another
     * @param _from address The address which you want to send tokens from
     * @param _to address The address which you want to transfer to
     * @param _value uint256 the amount of tokens to be transferred
     */
    function transferFrom(
        address _from,
        address _to,
        uint256 _value
        )
        public
        returns (bool)
    {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);
        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        emit Transfer(_from, _to, _value);
        return true;
    }
    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     *
     * Beware that changing an allowance with this method brings the risk that someone may use both the old
     * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
     * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @param _spender The address which will spend the funds.
     * @param _value The amount of tokens to be spent.
     */
    function approve(
        address _spender,
        uint256 _value
        )
        public
        returns (bool)
    {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }
    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param _owner address The address which owns the funds.
     * @param _spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(
        address _owner,
        address _spender)
        public
        view
        returns (uint256)
    {
        if (_spender == tokenTransferDelegate) {
            return totalSupply_;
        } else {
            return allowed[_owner][_spender];
        }
    }
    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     *
     * approve should be called when allowed[_spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * @param _spender The address which will spend the funds.
     * @param _addedValue The amount of tokens to increase the allowance by.
     */
    function increaseApproval(
        address _spender,
        uint _addedValue
        )
        public
        returns (bool)
    {
        allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     *
     * approve should be called when allowed[_spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * @param _spender The address which will spend the funds.
     * @param _subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseApproval(
        address _spender,
        uint _subtractedValue
        )
        public
        returns (bool)
    {
        uint oldValue = allowed[msg.sender][_spender];
        if (_subtractedValue > oldValue) {
            allowed[msg.sender][_spender] = 0;
        } else {
            allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
        }
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
}
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/// @title Ownable
/// @dev The Ownable contract has an owner address, and provides basic
///      authorization control functions, this simplifies the implementation of
///      "user permissions".
contract Ownable {
    address public owner;
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );
    /// @dev The Ownable constructor sets the original `owner` of the contract
    ///      to the sender.
    function Ownable() public {
        owner = msg.sender;
    }
    /// @dev Throws if called by any account other than the owner.
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    /// @dev Allows the current owner to transfer control of the contract to a
    ///      newOwner.
    /// @param newOwner The address to transfer ownership to.
    function transferOwnership(address newOwner) onlyOwner public {
        require(newOwner != 0x0);
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }
}
/// @title Claimable
/// @dev Extension for the Ownable contract, where the ownership needs
///      to be claimed. This allows the new owner to accept the transfer.
contract Claimable is Ownable {
    address public pendingOwner;
    /// @dev Modifier throws if called by any account other than the pendingOwner.
    modifier onlyPendingOwner() {
        require(msg.sender == pendingOwner);
        _;
    }
    /// @dev Allows the current owner to set the pendingOwner address.
    /// @param newOwner The address to transfer ownership to.
    function transferOwnership(address newOwner) onlyOwner public {
        require(newOwner != 0x0 && newOwner != owner);
        pendingOwner = newOwner;
    }
    /// @dev Allows the pendingOwner address to finalize the transfer.
    function claimOwnership() onlyPendingOwner public {
        emit OwnershipTransferred(owner, pendingOwner);
        owner = pendingOwner;
        pendingOwner = 0x0;
    }
}
/// @title Token Register Contract
/// @dev This contract maintains a list of tokens the Protocol supports.
/// @author Kongliang Zhong - <[email protected]>,
/// @author Daniel Wang - <[email protected]>.
contract TokenRegistry is Claimable {
    using AddressUtil for address;
    address tokenMintAddr;
    address[] public addresses;
    mapping (address => TokenInfo) addressMap;
    mapping (string => address) symbolMap;
    ////////////////////////////////////////////////////////////////////////////
    /// Structs                                                              ///
    ////////////////////////////////////////////////////////////////////////////
    struct TokenInfo {
        uint   pos;      // 0 mens unregistered; if > 0, pos + 1 is the
                         // token's position in `addresses`.
        string symbol;   // Symbol of the token
    }
    ////////////////////////////////////////////////////////////////////////////
    /// Events                                                               ///
    ////////////////////////////////////////////////////////////////////////////
    event TokenRegistered(address addr, string symbol);
    event TokenUnregistered(address addr, string symbol);
    ////////////////////////////////////////////////////////////////////////////
    /// Public Functions                                                     ///
    ////////////////////////////////////////////////////////////////////////////
    /// @dev Disable default function.
    function () payable public {
        revert();
    }
    function TokenRegistry(address _tokenMintAddr) public
    {
        require(_tokenMintAddr.isContract());
        tokenMintAddr = _tokenMintAddr;
    }
    function registerToken(
        address addr,
        string  symbol
        )
        external
        onlyOwner
    {
        registerTokenInternal(addr, symbol);
    }
    function registerMintedToken(
        address addr,
        string  symbol
        )
        external
    {
        require(msg.sender == tokenMintAddr);
        registerTokenInternal(addr, symbol);
    }
    function unregisterToken(
        address addr,
        string  symbol
        )
        external
        onlyOwner
    {
        require(addr != 0x0);
        require(symbolMap[symbol] == addr);
        delete symbolMap[symbol];
        uint pos = addressMap[addr].pos;
        require(pos != 0);
        delete addressMap[addr];
        // We will replace the token we need to unregister with the last token
        // Only the pos of the last token will need to be updated
        address lastToken = addresses[addresses.length - 1];
        // Don't do anything if the last token is the one we want to delete
        if (addr != lastToken) {
            // Swap with the last token and update the pos
            addresses[pos - 1] = lastToken;
            addressMap[lastToken].pos = pos;
        }
        addresses.length--;
        emit TokenUnregistered(addr, symbol);
    }
    function areAllTokensRegistered(address[] addressList)
        external
        view
        returns (bool)
    {
        for (uint i = 0; i < addressList.length; i++) {
            if (addressMap[addressList[i]].pos == 0) {
                return false;
            }
        }
        return true;
    }
    function getAddressBySymbol(string symbol)
        external
        view
        returns (address)
    {
        return symbolMap[symbol];
    }
    function isTokenRegisteredBySymbol(string symbol)
        public
        view
        returns (bool)
    {
        return symbolMap[symbol] != 0x0;
    }
    function isTokenRegistered(address addr)
        public
        view
        returns (bool)
    {
        return addressMap[addr].pos != 0;
    }
    function getTokens(
        uint start,
        uint count
        )
        public
        view
        returns (address[] addressList)
    {
        uint num = addresses.length;
        if (start >= num) {
            return;
        }
        uint end = start + count;
        if (end > num) {
            end = num;
        }
        if (start == num) {
            return;
        }
        addressList = new address[](end - start);
        for (uint i = start; i < end; i++) {
            addressList[i - start] = addresses[i];
        }
    }
    function registerTokenInternal(
        address addr,
        string  symbol
        )
        internal
    {
        require(0x0 != addr);
        require(bytes(symbol).length > 0);
        require(0x0 == symbolMap[symbol]);
        require(0 == addressMap[addr].pos);
        addresses.push(addr);
        symbolMap[symbol] = addr;
        addressMap[addr] = TokenInfo(addresses.length, symbol);
        emit TokenRegistered(addr, symbol);
    }
}
/// @title ERC20 Token Mint
/// @dev This contract deploys ERC20 token contract and registered the contract
///      so the token can be traded with Loopring Protocol.
/// @author Kongliang Zhong - <[email protected]>,
/// @author Daniel Wang - <[email protected]>.
contract TokenCreator {
    using AddressUtil for address;
    address[] public tokens;
    address   public tokenRegistry;
    address   public tokenTransferDelegate;
    event TokenCreated(
        address indexed addr,
        string  name,
        string  symbol,
        uint8   decimals,
        uint    totalSupply,
        address firstHolder,
        address tokenTransferDelegate
    );
    /// @dev Disable default function.
    function () payable public
    {
        revert();
    }
    /// @dev Initialize TokenRegistry address.
    ///      This method sjhall be called immediately upon deployment.
    function initialize(
        address _tokenRegistry,
        address _tokenTransferDelegate
        )
        public
    {
        require(tokenRegistry == 0x0 && _tokenRegistry.isContract());
        tokenRegistry = _tokenRegistry;
        require(tokenTransferDelegate == 0x0 && _tokenTransferDelegate.isContract());
        tokenTransferDelegate = _tokenTransferDelegate;
    }
    /// @dev Deploy an ERC20 token contract, register it with TokenRegistry,
    ///      and returns the new token's address.
    /// @param name The name of the token
    /// @param symbol The symbol of the token.
    /// @param decimals The decimals of the token.
    /// @param totalSupply The total supply of the token.
    function createToken(
        string  name,
        string  symbol,
        uint8   decimals,
        uint    totalSupply
        )
        public
        returns (address addr)
    {
        require(tokenRegistry != 0x0);
        require(tokenTransferDelegate != 0x0);
        ERC20Token token = new ERC20Token(
            name,
            symbol,
            decimals,
            totalSupply,
            tx.origin,
            tokenTransferDelegate
        );
        addr = address(token);
        TokenRegistry(tokenRegistry).registerMintedToken(addr, symbol);
        tokens.push(addr);
        emit TokenCreated(
            addr,
            name,
            symbol,
            decimals,
            totalSupply,
            tx.origin,
            tokenTransferDelegate
        );
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"totalSupply","type":"uint256"}],"name":"createToken","outputs":[{"name":"addr","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenRegistry","type":"address"},{"name":"_tokenTransferDelegate","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokens","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenRegistry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenTransferDelegate","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"name","type":"string"},{"indexed":false,"name":"symbol","type":"string"},{"indexed":false,"name":"decimals","type":"uint8"},{"indexed":false,"name":"totalSupply","type":"uint256"},{"indexed":false,"name":"firstHolder","type":"address"},{"indexed":false,"name":"tokenTransferDelegate","type":"address"}],"name":"TokenCreated","type":"event"}]

6060604052341561000f57600080fd5b6112cd8061001e6000396000f30060606040526004361061006c5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663210f5dda8114610071578063485cc9551461012a5780634f64b2be146101515780639d23c4c714610167578063afb97c201461017a575b600080fd5b341561007c57600080fd5b61010e60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437509496505060ff8535169460200135935061018d92505050565b604051600160a060020a03909116815260200160405180910390f35b341561013557600080fd5b61014f600160a060020a0360043581169060243516610579565b005b341561015c57600080fd5b61010e600435610630565b341561017257600080fd5b61010e610658565b341561018557600080fd5b61010e610667565b6001546000908190600160a060020a031615156101a957600080fd5b600254600160a060020a031615156101c057600080fd5b60025486908690869086903290600160a060020a03166101de6106a3565b60ff8516604082015260608101849052600160a060020a038084166080830152821660a082015260c080825281906020820190820189818151815260200191508051906020019080838360005b8381101561024357808201518382015260200161022b565b50505050905090810190601f1680156102705780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360005b838110156102a657808201518382015260200161028e565b50505050905090810190601f1680156102d35780820380516001836020036101000a031916815260200191505b5098505050505050505050604051809103906000f08015156102f457600080fd5b600154909250829150600160a060020a0316630b9b813082876040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561038d578082015183820152602001610375565b50505050905090810190601f1680156103ba5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15156103d957600080fd5b5af115156103e657600080fd5b505050600080548060010182816103fd91906106b3565b506000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691821790925560025490917f157b6c18d23b983800266ac0a227c84cb380aec9cf96344fd67e6f4a89c7081b91899189918991899132911660405160ff8516604082015260608101849052600160a060020a038084166080830152821660a082015260c080825281906020820190820189818151815260200191508051906020019080838360005b838110156104cd5780820151838201526020016104b5565b50505050905090810190601f1680156104fa5780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360005b83811015610530578082015183820152602001610518565b50505050905090810190601f16801561055d5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a250949350505050565b600154600160a060020a031615801561059f575061059f82600160a060020a0316610676565b15156105aa57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691909117909155600254161580156105f557506105f581600160a060020a0316610676565b151561060057600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905550565b600080548290811061063e57fe5b600091825260209091200154600160a060020a0316905081565b600154600160a060020a031681565b600254600160a060020a031681565b600080600160a060020a0383161515610692576000915061069d565b823b90506000811191505b50919050565b604051610ba4806106fe83390190565b8154818355818115116106d7576000838152602090206106d79181019083016106dc565b505050565b6106fa91905b808211156106f657600081556001016106e2565b5090565b9056006060604052341561000f57600080fd5b60405162000ba438038062000ba48339810160405280805182019190602001805182019190602001805191906020018051919060200180519190602001805191506000905086511161006057600080fd5b600085511161006e57600080fd5b6000831161007b57600080fd5b600160a060020a038216151561009057600080fd5b6100af600160a060020a03821664010000000061094161013282021704565b15156100ba57600080fd5b60008680516100cd92916020019061015f565b5060018580516100e192916020019061015f565b506002805460ff191660ff9590951694909417909355600382905560048054600160a060020a031916600160a060020a03948516179055909116600090815260056020526040902055506101fa9050565b600080600160a060020a038316151561014e5760009150610159565b823b90506000811191505b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101a057805160ff19168380011785556101cd565b828001600101855582156101cd579182015b828111156101cd5782518255916020019190600101906101b2565b506101d99291506101dd565b5090565b6101f791905b808211156101d957600081556001016101e3565b90565b61099a806200020a6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae578063313ce567146101d6578063324536eb146101ff578063661884631461021257806370a082311461023457806395d89b4114610253578063a9059cbb14610266578063afb97c2014610288578063d73dd623146102b7578063dd62ed3e146102d9575b600080fd5b34156100d457600080fd5b6100dc6102fe565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a036004351660243561039c565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c610409565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a036004358116906024351660443561040f565b34156101e157600080fd5b6101e9610591565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b61019c61059a565b341561021d57600080fd5b610175600160a060020a03600435166024356105a0565b341561023f57600080fd5b61019c600160a060020a036004351661069a565b341561025e57600080fd5b6100dc6106b5565b341561027157600080fd5b610175600160a060020a0360043516602435610720565b341561029357600080fd5b61029b61081b565b604051600160a060020a03909116815260200160405180910390f35b34156102c257600080fd5b610175600160a060020a036004351660243561082a565b34156102e457600080fd5b61019c600160a060020a03600435811690602435166108ce565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103945780601f1061036957610100808354040283529160200191610394565b820191906000526020600020905b81548152906001019060200180831161037757829003601f168201915b505050505081565b600160a060020a03338116600081815260066020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60035490565b6000600160a060020a038316151561042657600080fd5b600160a060020a03841660009081526005602052604090205482111561044b57600080fd5b600160a060020a038085166000908152600660209081526040808320339094168352929052205482111561047e57600080fd5b600160a060020a0384166000908152600560205260409020546104a7908363ffffffff61091c16565b600160a060020a0380861660009081526005602052604080822093909355908516815220546104dc908363ffffffff61093116565b600160a060020a03808516600090815260056020908152604080832094909455878316825260068152838220339093168252919091522054610524908363ffffffff61091c16565b600160a060020a03808616600081815260066020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60025460ff1681565b60035481565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054808311156105fd57600160a060020a033381166000908152600660209081526040808320938816835292905290812055610634565b61060d818463ffffffff61091c16565b600160a060020a033381166000908152600660209081526040808320938916835292905220555b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526005602052604090205490565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103945780601f1061036957610100808354040283529160200191610394565b6000600160a060020a038316151561073757600080fd5b600160a060020a03331660009081526005602052604090205482111561075c57600080fd5b600160a060020a033316600090815260056020526040902054610785908363ffffffff61091c16565b600160a060020a0333811660009081526005602052604080822093909355908516815220546107ba908363ffffffff61093116565b600160a060020a0380851660008181526005602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600454600160a060020a031681565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054610862908363ffffffff61093116565b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600454600090600160a060020a03838116911614156108f05750600354610403565b50600160a060020a03808316600090815260066020908152604080832093851683529290522054610403565b60008282111561092b57600080fd5b50900390565b8181018281101561040357600080fd5b600080600160a060020a038316151561095d5760009150610968565b823b90506000811191505b509190505600a165627a7a72305820a24ac70dce657f75be5ee9670ebf5dd27915d9f08656db7936d52a59e5e728500029a165627a7a72305820c10585fb7bbcbe198fbff29ff822d0c69d65f3e663ae3fd193036856ef0374f60029

Deployed Bytecode

0x60606040526004361061006c5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663210f5dda8114610071578063485cc9551461012a5780634f64b2be146101515780639d23c4c714610167578063afb97c201461017a575b600080fd5b341561007c57600080fd5b61010e60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437509496505060ff8535169460200135935061018d92505050565b604051600160a060020a03909116815260200160405180910390f35b341561013557600080fd5b61014f600160a060020a0360043581169060243516610579565b005b341561015c57600080fd5b61010e600435610630565b341561017257600080fd5b61010e610658565b341561018557600080fd5b61010e610667565b6001546000908190600160a060020a031615156101a957600080fd5b600254600160a060020a031615156101c057600080fd5b60025486908690869086903290600160a060020a03166101de6106a3565b60ff8516604082015260608101849052600160a060020a038084166080830152821660a082015260c080825281906020820190820189818151815260200191508051906020019080838360005b8381101561024357808201518382015260200161022b565b50505050905090810190601f1680156102705780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360005b838110156102a657808201518382015260200161028e565b50505050905090810190601f1680156102d35780820380516001836020036101000a031916815260200191505b5098505050505050505050604051809103906000f08015156102f457600080fd5b600154909250829150600160a060020a0316630b9b813082876040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561038d578082015183820152602001610375565b50505050905090810190601f1680156103ba5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15156103d957600080fd5b5af115156103e657600080fd5b505050600080548060010182816103fd91906106b3565b506000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691821790925560025490917f157b6c18d23b983800266ac0a227c84cb380aec9cf96344fd67e6f4a89c7081b91899189918991899132911660405160ff8516604082015260608101849052600160a060020a038084166080830152821660a082015260c080825281906020820190820189818151815260200191508051906020019080838360005b838110156104cd5780820151838201526020016104b5565b50505050905090810190601f1680156104fa5780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360005b83811015610530578082015183820152602001610518565b50505050905090810190601f16801561055d5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a250949350505050565b600154600160a060020a031615801561059f575061059f82600160a060020a0316610676565b15156105aa57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691909117909155600254161580156105f557506105f581600160a060020a0316610676565b151561060057600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905550565b600080548290811061063e57fe5b600091825260209091200154600160a060020a0316905081565b600154600160a060020a031681565b600254600160a060020a031681565b600080600160a060020a0383161515610692576000915061069d565b823b90506000811191505b50919050565b604051610ba4806106fe83390190565b8154818355818115116106d7576000838152602090206106d79181019083016106dc565b505050565b6106fa91905b808211156106f657600081556001016106e2565b5090565b9056006060604052341561000f57600080fd5b60405162000ba438038062000ba48339810160405280805182019190602001805182019190602001805191906020018051919060200180519190602001805191506000905086511161006057600080fd5b600085511161006e57600080fd5b6000831161007b57600080fd5b600160a060020a038216151561009057600080fd5b6100af600160a060020a03821664010000000061094161013282021704565b15156100ba57600080fd5b60008680516100cd92916020019061015f565b5060018580516100e192916020019061015f565b506002805460ff191660ff9590951694909417909355600382905560048054600160a060020a031916600160a060020a03948516179055909116600090815260056020526040902055506101fa9050565b600080600160a060020a038316151561014e5760009150610159565b823b90506000811191505b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101a057805160ff19168380011785556101cd565b828001600101855582156101cd579182015b828111156101cd5782518255916020019190600101906101b2565b506101d99291506101dd565b5090565b6101f791905b808211156101d957600081556001016101e3565b90565b61099a806200020a6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae578063313ce567146101d6578063324536eb146101ff578063661884631461021257806370a082311461023457806395d89b4114610253578063a9059cbb14610266578063afb97c2014610288578063d73dd623146102b7578063dd62ed3e146102d9575b600080fd5b34156100d457600080fd5b6100dc6102fe565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a036004351660243561039c565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c610409565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a036004358116906024351660443561040f565b34156101e157600080fd5b6101e9610591565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b61019c61059a565b341561021d57600080fd5b610175600160a060020a03600435166024356105a0565b341561023f57600080fd5b61019c600160a060020a036004351661069a565b341561025e57600080fd5b6100dc6106b5565b341561027157600080fd5b610175600160a060020a0360043516602435610720565b341561029357600080fd5b61029b61081b565b604051600160a060020a03909116815260200160405180910390f35b34156102c257600080fd5b610175600160a060020a036004351660243561082a565b34156102e457600080fd5b61019c600160a060020a03600435811690602435166108ce565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103945780601f1061036957610100808354040283529160200191610394565b820191906000526020600020905b81548152906001019060200180831161037757829003601f168201915b505050505081565b600160a060020a03338116600081815260066020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60035490565b6000600160a060020a038316151561042657600080fd5b600160a060020a03841660009081526005602052604090205482111561044b57600080fd5b600160a060020a038085166000908152600660209081526040808320339094168352929052205482111561047e57600080fd5b600160a060020a0384166000908152600560205260409020546104a7908363ffffffff61091c16565b600160a060020a0380861660009081526005602052604080822093909355908516815220546104dc908363ffffffff61093116565b600160a060020a03808516600090815260056020908152604080832094909455878316825260068152838220339093168252919091522054610524908363ffffffff61091c16565b600160a060020a03808616600081815260066020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60025460ff1681565b60035481565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054808311156105fd57600160a060020a033381166000908152600660209081526040808320938816835292905290812055610634565b61060d818463ffffffff61091c16565b600160a060020a033381166000908152600660209081526040808320938916835292905220555b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526005602052604090205490565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103945780601f1061036957610100808354040283529160200191610394565b6000600160a060020a038316151561073757600080fd5b600160a060020a03331660009081526005602052604090205482111561075c57600080fd5b600160a060020a033316600090815260056020526040902054610785908363ffffffff61091c16565b600160a060020a0333811660009081526005602052604080822093909355908516815220546107ba908363ffffffff61093116565b600160a060020a0380851660008181526005602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600454600160a060020a031681565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054610862908363ffffffff61093116565b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600454600090600160a060020a03838116911614156108f05750600354610403565b50600160a060020a03808316600090815260066020908152604080832093851683529290522054610403565b60008282111561092b57600080fd5b50900390565b8181018281101561040357600080fd5b600080600160a060020a038316151561095d5760009150610968565b823b90506000811191505b509190505600a165627a7a72305820a24ac70dce657f75be5ee9670ebf5dd27915d9f08656db7936d52a59e5e728500029a165627a7a72305820c10585fb7bbcbe198fbff29ff822d0c69d65f3e663ae3fd193036856ef0374f60029

Swarm Source

bzzr://c10585fb7bbcbe198fbff29ff822d0c69d65f3e663ae3fd193036856ef0374f6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.