POL Price: $0.144303 (-3.35%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

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

Contract Source Code Verified (Exact Match)

Contract Name:
Constant

Compiler Version
v0.5.14+commit.01f1aaa4

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU LGPLv2.1 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-11-23
*/

// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.5.14;

contract Constant {
    enum ActionType { DepositAction, WithdrawAction, BorrowAction, RepayAction }
    address public constant ETH_ADDR = 0x000000000000000000000000000000000000000E;
    uint256 public constant INT_UNIT = 10 ** uint256(18);
    uint256 public constant ACCURACY = 10 ** 18;
    // Polygon mainnet blocks per year
    uint256 public constant BLOCKS_PER_YEAR = 15768000; // taken from WePiggy
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"ACCURACY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"BLOCKS_PER_YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ETH_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"INT_UNIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060d88061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c80637753f47b14604b578063d37db1d214606d578063d8c2d84c146085578063fbcd9b05146085575b600080fd5b6051608b565b604080516001600160a01b039092168252519081900360200190f35b60736090565b60408051918252519081900360200190f35b60736097565b600e81565b62f099c081565b670de0b6b3a76400008156fea265627a7a72315820c70dbaae62ffa339cb2135ef3c562c2d8d3855bb50f75d147ceb141137e5cb1f64736f6c634300050e0032

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060465760003560e01c80637753f47b14604b578063d37db1d214606d578063d8c2d84c146085578063fbcd9b05146085575b600080fd5b6051608b565b604080516001600160a01b039092168252519081900360200190f35b60736090565b60408051918252519081900360200190f35b60736097565b600e81565b62f099c081565b670de0b6b3a76400008156fea265627a7a72315820c70dbaae62ffa339cb2135ef3c562c2d8d3855bb50f75d147ceb141137e5cb1f64736f6c634300050e0032

Deployed Bytecode Sourcemap

65:416:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65:416:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;172:77;;;:::i;:::-;;;;-1:-1:-1;;;;;172:77:0;;;;;;;;;;;;;;405:50;;;:::i;:::-;;;;;;;;;;;;;;;;256:52;;;:::i;172:77::-;207:42;172:77;:::o;405:50::-;447:8;405:50;:::o;256:52::-;291:17;256:52;:::o

Swarm Source

bzzr://c70dbaae62ffa339cb2135ef3c562c2d8d3855bb50f75d147ceb141137e5cb1f

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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.