Source Code
Overview
POL Balance
POL Value
$0.00Cross-Chain Transactions
Loading...
Loading
Contract Name:
Constant
Compiler Version
v0.5.14+commit.01f1aaa4
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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in POL
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.