ETH Price: $2,398.03 (-0.26%)

Contract

0xC466DDD7F4445CbA9Bf33b9639E2Df7f9D5E24d6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x61029361148814432022-05-31 23:05:58827 days ago1654038358IN
 Create: ArrayUtils
0 ETH0.0098231650.19965528

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArrayUtils

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-06-01
*/

// SPDX-License-Identifier: MIT
// StarBlock DAO Contracts

pragma solidity ^0.8.0;

library ArrayUtils {
    function hasDuplicate(uint256[] memory self) external pure returns(bool) {
        uint256 ivalue;
        uint256 jvalue;
        for(uint256 i = 0; i < self.length - 1; i ++){
            ivalue = self[i];
            for(uint256 j = i + 1; j < self.length; j ++){
                jvalue = self[j];
                if(ivalue == jvalue){
                    return true;
                }
            }
        }
        return false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256[]","name":"self","type":"uint256[]"}],"name":"hasDuplicate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"}]

61029361003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c80637cf7d2f51461003a575b600080fd5b61004d610048366004610129565b610061565b604051901515815260200160405180910390f35b60008080805b6001855161007591906101fd565b8110156101085784818151811061008e5761008e610214565b6020026020010151925060008160016100a7919061022a565b90505b85518110156100f5578581815181106100c5576100c5610214565b60200260200101519250828414156100e35750600195945050505050565b806100ed81610242565b9150506100aa565b508061010081610242565b915050610067565b506000949350505050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561013c57600080fd5b823567ffffffffffffffff8082111561015457600080fd5b818501915085601f83011261016857600080fd5b81358181111561017a5761017a610113565b8060051b604051601f19603f8301168101818110858211171561019f5761019f610113565b6040529182528482019250838101850191888311156101bd57600080fd5b938501935b828510156101db578435845293850193928501926101c2565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561020f5761020f6101e7565b500390565b634e487b7160e01b600052603260045260246000fd5b6000821982111561023d5761023d6101e7565b500190565b6000600019821415610256576102566101e7565b506001019056fea2646970667358221220325ff8d5bb13b79d60e19c33b8e3acbe17d48a339e6a0deb94bbc6064109fc2e64736f6c634300080a0033

Deployed Bytecode

0x73c466ddd7f4445cba9bf33b9639e2df7f9d5e24d630146080604052600436106100355760003560e01c80637cf7d2f51461003a575b600080fd5b61004d610048366004610129565b610061565b604051901515815260200160405180910390f35b60008080805b6001855161007591906101fd565b8110156101085784818151811061008e5761008e610214565b6020026020010151925060008160016100a7919061022a565b90505b85518110156100f5578581815181106100c5576100c5610214565b60200260200101519250828414156100e35750600195945050505050565b806100ed81610242565b9150506100aa565b508061010081610242565b915050610067565b506000949350505050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561013c57600080fd5b823567ffffffffffffffff8082111561015457600080fd5b818501915085601f83011261016857600080fd5b81358181111561017a5761017a610113565b8060051b604051601f19603f8301168101818110858211171561019f5761019f610113565b6040529182528482019250838101850191888311156101bd57600080fd5b938501935b828510156101db578435845293850193928501926101c2565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561020f5761020f6101e7565b500390565b634e487b7160e01b600052603260045260246000fd5b6000821982111561023d5761023d6101e7565b500190565b6000600019821415610256576102566101e7565b506001019056fea2646970667358221220325ff8d5bb13b79d60e19c33b8e3acbe17d48a339e6a0deb94bbc6064109fc2e64736f6c634300080a0033

Deployed Bytecode Sourcemap

90:483:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;116:454;;;;;;:::i;:::-;;:::i;:::-;;;1439:14:1;;1432:22;1414:41;;1402:2;1387:18;116:454:0;;;;;;;;183:4;;;;250:290;287:1;273:4;:11;:15;;;;:::i;:::-;269:1;:19;250:290;;;319:4;324:1;319:7;;;;;;;;:::i;:::-;;;;;;;310:16;;345:9;357:1;361;357:5;;;;:::i;:::-;345:17;;341:188;368:4;:11;364:1;:15;341:188;;;414:4;419:1;414:7;;;;;;;;:::i;:::-;;;;;;;405:16;;453:6;443;:16;440:74;;;-1:-1:-1;490:4:0;;116:454;-1:-1:-1;;;;;116:454:0:o;440:74::-;381:4;;;;:::i;:::-;;;;341:188;;;-1:-1:-1;290:4:0;;;;:::i;:::-;;;;250:290;;;-1:-1:-1;557:5:0;;116:454;-1:-1:-1;;;;116:454:0:o;14:127:1:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:1115;230:6;261:2;304;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;360:9;347:23;389:18;430:2;422:6;419:14;416:34;;;446:1;443;436:12;416:34;484:6;473:9;469:22;459:32;;529:7;522:4;518:2;514:13;510:27;500:55;;551:1;548;541:12;500:55;587:2;574:16;609:2;605;602:10;599:36;;;615:18;;:::i;:::-;661:2;658:1;654:10;693:2;687:9;756:2;752:7;747:2;743;739:11;735:25;727:6;723:38;811:6;799:10;796:22;791:2;779:10;776:18;773:46;770:72;;;822:18;;:::i;:::-;858:2;851:22;908:18;;;942:15;;;;-1:-1:-1;984:11:1;;;980:20;;;1012:19;;;1009:39;;;1044:1;1041;1034:12;1009:39;1068:11;;;;1088:142;1104:6;1099:3;1096:15;1088:142;;;1170:17;;1158:30;;1121:12;;;;1208;;;;1088:142;;;1249:6;146:1115;-1:-1:-1;;;;;;;;146:1115:1:o;1466:127::-;1527:10;1522:3;1518:20;1515:1;1508:31;1558:4;1555:1;1548:15;1582:4;1579:1;1572:15;1598:125;1638:4;1666:1;1663;1660:8;1657:34;;;1671:18;;:::i;:::-;-1:-1:-1;1708:9:1;;1598:125::o;1728:127::-;1789:10;1784:3;1780:20;1777:1;1770:31;1820:4;1817:1;1810:15;1844:4;1841:1;1834:15;1860:128;1900:3;1931:1;1927:6;1924:1;1921:13;1918:39;;;1937:18;;:::i;:::-;-1:-1:-1;1973:9:1;;1860:128::o;1993:135::-;2032:3;-1:-1:-1;;2053:17:1;;2050:43;;;2073:18;;:::i;:::-;-1:-1:-1;2120:1:1;2109:13;;1993:135::o

Swarm Source

ipfs://325ff8d5bb13b79d60e19c33b8e3acbe17d48a339e6a0deb94bbc6064109fc2e

Block Transaction Difficulty 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
Loading...
Loading
[ 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.