ERC-20
Overview
Max Total Supply
27,636.83675891 fsKLIMA-5
Holders
3,097
Market
Price
$0.00 @ 0.000000 MATIC
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
13.15472316 fsKLIMA-5Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
CErc20Delegator
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.5.16; import "./CTokenInterfaces.sol"; /** * @title Compound's CErc20Delegator Contract * @notice CTokens which wrap an EIP-20 underlying and delegate to an implementation * @author Compound */ contract CErc20Delegator is CDelegatorInterface, CTokenAdminStorage { /** * @notice Construct a new money market * @param underlying_ The address of the underlying asset * @param comptroller_ The address of the Comptroller * @param interestRateModel_ The address of the interest rate model * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18 * @param name_ ERC-20 name of this token * @param symbol_ ERC-20 symbol of this token * @param decimals_ ERC-20 decimal precision of this token * @param admin_ Address of the administrator of this token * @param implementation_ The address of the implementation the contract delegates to * @param becomeImplementationData The encoded args for becomeImplementation */ constructor(address underlying_, ComptrollerInterface comptroller_, InterestRateModel interestRateModel_, uint initialExchangeRateMantissa_, string memory name_, string memory symbol_, uint8 decimals_, address payable admin_, address implementation_, bytes memory becomeImplementationData, uint256 reserveFactorMantissa_, uint256 adminFeeMantissa_) public { // Creator of the contract is admin during initialization admin = msg.sender; // First delegate gets to initialize the delegator (i.e. storage contract) delegateTo(implementation_, abi.encodeWithSignature("initialize(address,address,address,uint256,string,string,uint8,uint256,uint256)", underlying_, comptroller_, interestRateModel_, initialExchangeRateMantissa_, name_, symbol_, decimals_, reserveFactorMantissa_, adminFeeMantissa_)); // New implementations always get set via the settor (post-initialize) _setImplementation(implementation_, false, becomeImplementationData); // Set the proper admin now that initialization is done admin = admin_; } /** * @notice Called by the admin to update the implementation of the delegator * @param implementation_ The address of the new implementation for delegation * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation */ function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public { require(hasAdminRights(), "CErc20Delegator::_setImplementation: Caller must be admin"); if (allowResign) { delegateToImplementation(abi.encodeWithSignature("_resignImplementation()")); } address oldImplementation = implementation; implementation = implementation_; delegateToImplementation(abi.encodeWithSignature("_becomeImplementation(bytes)", becomeImplementationData)); emit NewImplementation(oldImplementation, implementation); } /** * @notice Internal method to delegate execution to another contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts * @param callee The contract to delegatecall * @param data The raw data to delegatecall * @return The returned bytes from the delegatecall */ function delegateTo(address callee, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returnData) = callee.delegatecall(data); assembly { if eq(success, 0) { revert(add(returnData, 0x20), returndatasize) } } return returnData; } /** * @notice Delegates execution to the implementation contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts * @param data The raw data to delegatecall * @return The returned bytes from the delegatecall */ function delegateToImplementation(bytes memory data) public returns (bytes memory) { return delegateTo(implementation, data); } /** * @notice Delegates execution to an implementation contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts */ function () external payable { require(msg.value == 0,"CErc20Delegator:fallback: cannot send value to fallback"); // delegate all other functions to current implementation (bool success, ) = implementation.delegatecall(msg.data); assembly { let free_mem_ptr := mload(0x40) returndatacopy(free_mem_ptr, 0, returndatasize) switch success case 0 { revert(free_mem_ptr, returndatasize) } default { return(free_mem_ptr, returndatasize) } } } }
pragma solidity ^0.5.16; import "./IFuseFeeDistributor.sol"; import "./ComptrollerInterface.sol"; import "./InterestRateModel.sol"; contract CTokenAdminStorage { /** * @notice Administrator for Fuse */ /// @notice update this everytime you deploy fuse IFuseFeeDistributor internal constant fuseAdmin = IFuseFeeDistributor(0xB1205172AAdaAd4c67318EA77A34C1F1CaA784EE); /** * @notice Administrator for this contract */ address payable public admin; /** * @notice Whether or not the Fuse admin has admin rights */ bool public fuseAdminHasRights = true; /** * @notice Whether or not the admin has admin rights */ bool public adminHasRights = true; /** * @notice Returns a boolean indicating if the sender has admin rights */ function hasAdminRights() internal view returns (bool) { return (msg.sender == admin && adminHasRights) || (msg.sender == address(fuseAdmin) && fuseAdminHasRights); } } contract CTokenStorage is CTokenAdminStorage { /** * @dev Guard variable for re-entrancy checks */ bool internal _notEntered; /** * @notice EIP-20 token name for this token */ string public name; /** * @notice EIP-20 token symbol for this token */ string public symbol; /** * @notice EIP-20 token decimals for this token */ uint8 public decimals; /** * @notice Maximum borrow rate that can ever be applied (.0005% / block) */ uint256 internal constant borrowRateMaxMantissa = 0.0005e16; /** * @notice Maximum fraction of interest that can be set aside for reserves + fees */ uint256 internal constant reserveFactorPlusFeesMaxMantissa = 1e18; /** * @notice Pending administrator for this contract */ address payable public pendingAdmin; /** * @notice Contract which oversees inter-cToken operations */ ComptrollerInterface public comptroller; /** * @notice Model which tells what the current interest rate should be */ InterestRateModel public interestRateModel; /** * @notice Initial exchange rate used when minting the first CTokens (used when totalSupply = 0) */ uint256 internal initialExchangeRateMantissa; /** * @notice Fraction of interest currently set aside for admin fees */ uint256 public adminFeeMantissa; /** * @notice Fraction of interest currently set aside for Fuse fees */ uint256 public fuseFeeMantissa; /** * @notice Fraction of interest currently set aside for reserves */ uint256 public reserveFactorMantissa; /** * @notice Block number that interest was last accrued at */ uint256 public accrualBlockNumber; /** * @notice Accumulator of the total earned interest rate since the opening of the market */ uint256 public borrowIndex; /** * @notice Total amount of outstanding borrows of the underlying in this market */ uint256 public totalBorrows; /** * @notice Total amount of reserves of the underlying held in this market */ uint256 public totalReserves; /** * @notice Total amount of admin fees of the underlying held in this market */ uint256 public totalAdminFees; /** * @notice Total amount of Fuse fees of the underlying held in this market */ uint256 public totalFuseFees; /** * @notice Total number of tokens in circulation */ uint256 public totalSupply; /** * @notice Official record of token balances for each account */ mapping(address => uint256) internal accountTokens; /** * @notice Approved token transfer amounts on behalf of others */ mapping(address => mapping(address => uint256)) internal transferAllowances; /** * @notice Container for borrow balance information * @member principal Total balance (with accrued interest), after applying the most recent balance-changing action * @member interestIndex Global borrowIndex as of the most recent balance-changing action */ struct BorrowSnapshot { uint256 principal; uint256 interestIndex; } /** * @notice Mapping of account addresses to outstanding borrow balances */ mapping(address => BorrowSnapshot) internal accountBorrows; } contract CTokenInterface is CTokenStorage { /** * @notice Indicator that this is a CToken contract (for inspection) */ bool public constant isCToken = true; /** * @notice Indicator that this is or is not a CEther contract (for inspection) */ bool public constant isCEther = false; /*** Market Events ***/ /** * @notice Event emitted when interest is accrued */ event AccrueInterest( uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows ); /** * @notice Event emitted when tokens are minted */ event Mint(address minter, uint256 mintAmount, uint256 mintTokens); /** * @notice Event emitted when tokens are redeemed */ event Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens); /** * @notice Event emitted when underlying is borrowed */ event Borrow( address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows ); /** * @notice Event emitted when a borrow is repaid */ event RepayBorrow( address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows ); /** * @notice Event emitted when a borrow is liquidated */ event LiquidateBorrow( address liquidator, address borrower, uint256 repayAmount, address cTokenCollateral, uint256 seizeTokens ); /*** Admin Events ***/ /** * @notice Event emitted when the Fuse admin renounces their rights */ event FuseAdminRightsRenounced(); /** * @notice Event emitted when the admin renounces their rights */ event AdminRightsRenounced(); /** * @notice Event emitted when pendingAdmin is changed */ event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin); /** * @notice Event emitted when pendingAdmin is accepted, which means admin is updated */ event NewAdmin(address oldAdmin, address newAdmin); /** * @notice Event emitted when comptroller is changed */ event NewComptroller( ComptrollerInterface oldComptroller, ComptrollerInterface newComptroller ); /** * @notice Event emitted when interestRateModel is changed */ event NewMarketInterestRateModel( InterestRateModel oldInterestRateModel, InterestRateModel newInterestRateModel ); /** * @notice Event emitted when the reserve factor is changed */ event NewReserveFactor( uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa ); /** * @notice Event emitted when the reserves are added */ event ReservesAdded( address benefactor, uint256 addAmount, uint256 newTotalReserves ); /** * @notice Event emitted when the reserves are reduced */ event ReservesReduced( address admin, uint256 reduceAmount, uint256 newTotalReserves ); /** * @notice Event emitted when the admin fee is changed */ event NewAdminFee(uint256 oldAdminFeeMantissa, uint256 newAdminFeeMantissa); /** * @notice Event emitted when the Fuse fee is changed */ event NewFuseFee(uint256 oldFuseFeeMantissa, uint256 newFuseFeeMantissa); /** * @notice EIP20 Transfer event */ event Transfer(address indexed from, address indexed to, uint256 amount); /** * @notice EIP20 Approval event */ event Approval( address indexed owner, address indexed spender, uint256 amount ); /** * @notice Failure event */ event Failure(uint256 error, uint256 info, uint256 detail); /*** User Interface ***/ function transfer(address dst, uint256 amount) external returns (bool); function transferFrom( address src, address dst, uint256 amount ) external returns (bool); function approve(address spender, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function balanceOfUnderlying(address owner) external returns (uint256); function getAccountSnapshot(address account) external view returns ( uint256, uint256, uint256, uint256 ); function borrowRatePerBlock() external view returns (uint256); function supplyRatePerBlock() external view returns (uint256); function totalBorrowsCurrent() external returns (uint256); function borrowBalanceCurrent(address account) external returns (uint256); function borrowBalanceStored(address account) public view returns (uint256); function exchangeRateCurrent() public returns (uint256); function exchangeRateStored() public view returns (uint256); function getCash() external view returns (uint256); function accrueInterest() public returns (uint256); function seize( address liquidator, address borrower, uint256 seizeTokens ) external returns (uint256); /*** Admin Functions ***/ function _setPendingAdmin(address payable newPendingAdmin) external returns (uint256); function _acceptAdmin() external returns (uint256); function _setComptroller(ComptrollerInterface newComptroller) public returns (uint256); function _setReserveFactor(uint256 newReserveFactorMantissa) external returns (uint256); function _reduceReserves(uint256 reduceAmount) external returns (uint256); function _setInterestRateModel(InterestRateModel newInterestRateModel) public returns (uint256); } contract CErc20Storage { /** * @notice Underlying asset for this CToken */ address public underlying; } contract CErc20Interface is CErc20Storage { /*** User Interface ***/ function mint(uint256 mintAmount) external returns (uint256); function redeem(uint256 redeemTokens) external returns (uint256); function redeemUnderlying(uint256 redeemAmount) external returns (uint256); function borrow(uint256 borrowAmount) external returns (uint256); function repayBorrow(uint256 repayAmount) external returns (uint256); function repayBorrowBehalf(address borrower, uint256 repayAmount) external returns (uint256); function liquidateBorrow( address borrower, uint256 repayAmount, CTokenInterface cTokenCollateral ) external returns (uint256); /*** Admin Functions ***/ function _addReserves(uint256 addAmount) external returns (uint256); } contract CEtherInterface is CErc20Storage { /** * @notice Indicator that this is a CEther contract (for inspection) */ bool public constant isCEther = true; } contract CDelegationStorage { /** * @notice Implementation address for this contract */ address public implementation; } contract CDelegatorInterface is CDelegationStorage { /** * @notice Emitted when implementation is changed */ event NewImplementation( address oldImplementation, address newImplementation ); /** * @notice Called by the admin to update the implementation of the delegator * @param implementation_ The address of the new implementation for delegation * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation */ function _setImplementation( address implementation_, bool allowResign, bytes memory becomeImplementationData ) public; } contract CDelegateInterface is CDelegationStorage { /** * @notice Called by the delegator on a delegate to initialize it for duty * @dev Should revert if any issues arise which make it unfit for delegation * @param data The encoded bytes data for any initialization */ function _becomeImplementation(bytes memory data) public; /** * @notice Called by the delegator on a delegate to forfeit its responsibility */ function _resignImplementation() public; }
pragma solidity ^0.5.16; contract ComptrollerInterface { /// @notice Indicator that this is a Comptroller contract (for inspection) bool public constant isComptroller = true; /*** Assets You Are In ***/ function enterMarkets(address[] calldata cTokens) external returns (uint[] memory); function exitMarket(address cToken) external returns (uint); /*** Policy Hooks ***/ function mintAllowed(address cToken, address minter, uint mintAmount) external returns (uint); function mintWithinLimits(address cToken, uint exchangeRateMantissa, uint accountTokens, uint mintAmount) external returns (uint); function mintVerify(address cToken, address minter, uint mintAmount, uint mintTokens) external; function redeemAllowed(address cToken, address redeemer, uint redeemTokens) external returns (uint); function redeemVerify(address cToken, address redeemer, uint redeemAmount, uint redeemTokens) external; function borrowAllowed(address cToken, address borrower, uint borrowAmount) external returns (uint); function borrowWithinLimits(address cToken, uint accountBorrowsNew) external returns (uint); function borrowVerify(address cToken, address borrower, uint borrowAmount) external; function repayBorrowAllowed( address cToken, address payer, address borrower, uint repayAmount) external returns (uint); function repayBorrowVerify( address cToken, address payer, address borrower, uint repayAmount, uint borrowerIndex) external; function liquidateBorrowAllowed( address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint repayAmount) external returns (uint); function liquidateBorrowVerify( address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint repayAmount, uint seizeTokens) external; function seizeAllowed( address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint seizeTokens) external returns (uint); function seizeVerify( address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint seizeTokens) external; function transferAllowed(address cToken, address src, address dst, uint transferTokens) external returns (uint); function transferVerify(address cToken, address src, address dst, uint transferTokens) external; /*** Liquidity/Liquidation Calculations ***/ function liquidateCalculateSeizeTokens( address cTokenBorrowed, address cTokenCollateral, uint repayAmount) external view returns (uint, uint); }
pragma solidity ^0.5.16; interface IFuseFeeDistributor { function minBorrowEth() external view returns (uint256); function maxSupplyEth() external view returns (uint256); function maxUtilizationRate() external view returns (uint256); function interestFeeRate() external view returns (uint256); function () external payable; }
pragma solidity ^0.5.16; /** * @title Compound's InterestRateModel Interface * @author Compound */ contract InterestRateModel { /// @notice Indicator that this is an InterestRateModel contract (for inspection) bool public constant isInterestRateModel = true; /** * @notice Calculates the current borrow interest rate per block * @param cash The total amount of cash the market has * @param borrows The total amount of borrows the market has outstanding * @param reserves The total amnount of reserves the market has * @return The borrow rate per block (as a percentage, and scaled by 1e18) */ function getBorrowRate(uint cash, uint borrows, uint reserves) external view returns (uint); /** * @notice Calculates the current supply interest rate per block * @param cash The total amount of cash the market has * @param borrows The total amount of borrows the market has outstanding * @param reserves The total amnount of reserves the market has * @param reserveFactorMantissa The current reserve factor the market has * @return The supply rate per block (as a percentage, and scaled by 1e18) */ function getSupplyRate(uint cash, uint borrows, uint reserves, uint reserveFactorMantissa) external view returns (uint); }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"underlying_","type":"address"},{"internalType":"contract ComptrollerInterface","name":"comptroller_","type":"address"},{"internalType":"contract InterestRateModel","name":"interestRateModel_","type":"address"},{"internalType":"uint256","name":"initialExchangeRateMantissa_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address payable","name":"admin_","type":"address"},{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"},{"internalType":"uint256","name":"reserveFactorMantissa_","type":"uint256"},{"internalType":"uint256","name":"adminFeeMantissa_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":false,"internalType":"address","name":"newImplementation","type":"address"}],"name":"NewImplementation","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bool","name":"allowResign","type":"bool"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"name":"_setImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"adminHasRights","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fuseAdminHasRights","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526001805460ff60a81b1960ff60a01b19909116600160a01b1716600160a81b1790553480156200003357600080fd5b5060405162000f5138038062000f5183398181016040526101808110156200005a57600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200009657600080fd5b908301906020820185811115620000ac57600080fd5b8251640100000000811182820188101715620000c757600080fd5b82525081516020918201929091019080838360005b83811015620000f6578181015183820152602001620000dc565b50505050905090810190601f168015620001245780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200014857600080fd5b9083019060208201858111156200015e57600080fd5b82516401000000008111828201881017156200017957600080fd5b82525081516020918201929091019080838360005b83811015620001a85781810151838201526020016200018e565b50505050905090810190601f168015620001d65780820380516001836020036101000a031916815260200191505b506040818152602083015190830151606084015160809094018051929691959192846401000000008211156200020b57600080fd5b9083019060208201858111156200022157600080fd5b82516401000000008111828201881017156200023c57600080fd5b82525081516020918201929091019080838360005b838110156200026b57818101518382015260200162000251565b50505050905090810190601f168015620002995780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919050505033600160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506200046d848d8d8d8d8d8d8d8a8a604051602401808a6001600160a01b03166001600160a01b03168152602001896001600160a01b03166001600160a01b03168152602001886001600160a01b03166001600160a01b0316815260200187815260200180602001806020018660ff1660ff168152602001858152602001848152602001838103835288818151815260200191508051906020019080838360005b83811015620003985781810151838201526020016200037e565b50505050905090810190601f168015620003c65780820380516001836020036101000a031916815260200191505b50838103825287518152875160209182019189019080838360005b83811015620003fb578181015183820152602001620003e1565b50505050905090810190601f168015620004295780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630867bd9760e21b17909152909c50620004b8169a5050505050505050505050565b5062000485846000856001600160e01b036200057f16565b5050600180546001600160a01b0319166001600160a01b03949094169390931790925550620007c1975050505050505050565b606060006060846001600160a01b0316846040518082805190602001908083835b60208310620004fa5780518252601f199092019160209182019101620004d9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146200055c576040519150601f19603f3d011682016040523d82523d6000602084013e62000561565b606091505b5091509150600082141562000577573d60208201fd5b949350505050565b620005926001600160e01b036200073716565b620005cf5760405162461bcd60e51b815260040180806020018281038252603981526020018062000f186039913960400191505060405180910390fd5b811562000611576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b179091526200060f91906200079716565b505b600080546001600160a01b038581166001600160a01b031983161783556040516020602482018181528651604484015286519390941694620006e89487949093849360649091019290860191908190849084905b838110156200067f57818101518382015260200162000665565b50505050905090810190601f168015620006ad5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b179091529093506200079716915050565b50600054604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6001546000906001600160a01b0316331480156200075e5750600154600160a81b900460ff165b806200079257503373b1205172aadaad4c67318ea77a34c1f1caa784ee148015620007925750600154600160a01b900460ff165b905090565b600054606090620007bb906001600160a01b0316836001600160e01b03620004b816565b92915050565b61074780620007d16000396000f3fe6080604052600436106100555760003560e01c80630933c1ed146101155780630a755ec21461023d5780632f1069ba14610266578063555bcc401461027b5780635c60da1b14610347578063f851a44014610378575b34156100925760405162461bcd60e51b81526004018080602001828103825260378152602001806106a36037913960400191505060405180910390fd5b600080546040516001600160a01b0390911690829036908083838082843760405192019450600093509091505080830381855af49150503d80600081146100f5576040519150601f19603f3d011682016040523d82523d6000602084013e6100fa565b606091505b505090506040513d6000823e818015610111573d82f35b3d82fd5b34801561012157600080fd5b506101c86004803603602081101561013857600080fd5b81019060208101813564010000000081111561015357600080fd5b82018360208201111561016557600080fd5b8035906020019184600183028401116401000000008311171561018757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061038d945050505050565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102025781810151838201526020016101ea565b50505050905090810190601f16801561022f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561024957600080fd5b506102526103ac565b604080519115158252519081900360200190f35b34801561027257600080fd5b506102526103bc565b34801561028757600080fd5b506103456004803603606081101561029e57600080fd5b6001600160a01b038235169160208101351515918101906060810160408201356401000000008111156102d057600080fd5b8201836020820111156102e257600080fd5b8035906020019184600183028401116401000000008311171561030457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506103cc945050505050565b005b34801561035357600080fd5b5061035c610565565b604080516001600160a01b039092168252519081900360200190f35b34801561038457600080fd5b5061035c610574565b6000546060906103a6906001600160a01b031683610583565b92915050565b600154600160a81b900460ff1681565b600154600160a01b900460ff1681565b6103d4610645565b61040f5760405162461bcd60e51b81526004018080602001828103825260398152602001806106da6039913960400191505060405180910390fd5b8115610449576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b1790526104479061038d565b505b600080546001600160a01b038581166001600160a01b0319831617835560405160206024820181815286516044840152865193909416946105169487949093849360649091019290860191908190849084905b838110156104b457818101518382015260200161049c565b50505050905090810190601f1680156104e15780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b179052925061038d915050565b50600054604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6000546001600160a01b031681565b6001546001600160a01b031681565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106105c35780518252601f1990920191602091820191016105a4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610623576040519150601f19603f3d011682016040523d82523d6000602084013e610628565b606091505b5091509150600082141561063d573d60208201fd5b949350505050565b6001546000906001600160a01b03163314801561066b5750600154600160a81b900460ff165b8061069d57503373b1205172aadaad4c67318ea77a34c1f1caa784ee14801561069d5750600154600160a01b900460ff165b90509056fe43457263323044656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b43457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696ea265627a7a723158202add3f7d99a18b1c1f2f9f4eb6791f25e39348d5f0e821930c3af112c683992664736f6c6343000510003243457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e000000000000000000000000b0c22d8d350c67420f06f48936654f567c73e8c80000000000000000000000005beb233453d3573490383884bd4b9cba0663218a000000000000000000000000a80f8cc22b4ff9442b7f188d96e9b75d6cfd80f60000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000080000000000000000000000002d8a7e0eb32fdd3fd4c36e045e7e7d634419d601000000000000000000000000cfa81742393b52c493b8d76e55ffe4992a5cffd9000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022477265656e204c65766572616765204c6f636b6572205374616b6564204b6c696d61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000966734b4c494d412d35000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106100555760003560e01c80630933c1ed146101155780630a755ec21461023d5780632f1069ba14610266578063555bcc401461027b5780635c60da1b14610347578063f851a44014610378575b34156100925760405162461bcd60e51b81526004018080602001828103825260378152602001806106a36037913960400191505060405180910390fd5b600080546040516001600160a01b0390911690829036908083838082843760405192019450600093509091505080830381855af49150503d80600081146100f5576040519150601f19603f3d011682016040523d82523d6000602084013e6100fa565b606091505b505090506040513d6000823e818015610111573d82f35b3d82fd5b34801561012157600080fd5b506101c86004803603602081101561013857600080fd5b81019060208101813564010000000081111561015357600080fd5b82018360208201111561016557600080fd5b8035906020019184600183028401116401000000008311171561018757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061038d945050505050565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102025781810151838201526020016101ea565b50505050905090810190601f16801561022f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561024957600080fd5b506102526103ac565b604080519115158252519081900360200190f35b34801561027257600080fd5b506102526103bc565b34801561028757600080fd5b506103456004803603606081101561029e57600080fd5b6001600160a01b038235169160208101351515918101906060810160408201356401000000008111156102d057600080fd5b8201836020820111156102e257600080fd5b8035906020019184600183028401116401000000008311171561030457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506103cc945050505050565b005b34801561035357600080fd5b5061035c610565565b604080516001600160a01b039092168252519081900360200190f35b34801561038457600080fd5b5061035c610574565b6000546060906103a6906001600160a01b031683610583565b92915050565b600154600160a81b900460ff1681565b600154600160a01b900460ff1681565b6103d4610645565b61040f5760405162461bcd60e51b81526004018080602001828103825260398152602001806106da6039913960400191505060405180910390fd5b8115610449576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b1790526104479061038d565b505b600080546001600160a01b038581166001600160a01b0319831617835560405160206024820181815286516044840152865193909416946105169487949093849360649091019290860191908190849084905b838110156104b457818101518382015260200161049c565b50505050905090810190601f1680156104e15780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b179052925061038d915050565b50600054604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6000546001600160a01b031681565b6001546001600160a01b031681565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106105c35780518252601f1990920191602091820191016105a4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610623576040519150601f19603f3d011682016040523d82523d6000602084013e610628565b606091505b5091509150600082141561063d573d60208201fd5b949350505050565b6001546000906001600160a01b03163314801561066b5750600154600160a81b900460ff165b8061069d57503373b1205172aadaad4c67318ea77a34c1f1caa784ee14801561069d5750600154600160a01b900460ff165b90509056fe43457263323044656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b43457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696ea265627a7a723158202add3f7d99a18b1c1f2f9f4eb6791f25e39348d5f0e821930c3af112c683992664736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b0c22d8d350c67420f06f48936654f567c73e8c80000000000000000000000005beb233453d3573490383884bd4b9cba0663218a000000000000000000000000a80f8cc22b4ff9442b7f188d96e9b75d6cfd80f60000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000080000000000000000000000002d8a7e0eb32fdd3fd4c36e045e7e7d634419d601000000000000000000000000cfa81742393b52c493b8d76e55ffe4992a5cffd9000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022477265656e204c65766572616765204c6f636b6572205374616b6564204b6c696d61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000966734b4c494d412d35000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : underlying_ (address): 0xb0C22d8D350C67420f06F48936654f567C73E8C8
Arg [1] : comptroller_ (address): 0x5BeB233453d3573490383884Bd4B9CbA0663218a
Arg [2] : interestRateModel_ (address): 0xa80F8CC22b4Ff9442B7F188D96E9B75d6cFd80F6
Arg [3] : initialExchangeRateMantissa_ (uint256): 1000000000000000000
Arg [4] : name_ (string): Green Leverage Locker Staked Klima
Arg [5] : symbol_ (string): fsKLIMA-5
Arg [6] : decimals_ (uint8): 8
Arg [7] : admin_ (address): 0x2d8a7e0eB32FDd3Fd4c36e045e7e7D634419D601
Arg [8] : implementation_ (address): 0xCFA81742393B52c493b8d76E55FFE4992A5cfFd9
Arg [9] : becomeImplementationData (bytes): 0x00
Arg [10] : reserveFactorMantissa_ (uint256): 50000000000000000
Arg [11] : adminFeeMantissa_ (uint256): 0
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 000000000000000000000000b0c22d8d350c67420f06f48936654f567c73e8c8
Arg [1] : 0000000000000000000000005beb233453d3573490383884bd4b9cba0663218a
Arg [2] : 000000000000000000000000a80f8cc22b4ff9442b7f188d96e9b75d6cfd80f6
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 0000000000000000000000002d8a7e0eb32fdd3fd4c36e045e7e7d634419d601
Arg [8] : 000000000000000000000000cfa81742393b52c493b8d76e55ffe4992a5cffd9
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [10] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [13] : 477265656e204c65766572616765204c6f636b6572205374616b6564204b6c69
Arg [14] : 6d61000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [16] : 66734b4c494d412d350000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
219:5476:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5197:9;:14;5189:81;;;;-1:-1:-1;;;5189:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5348:12;5366:14;;:37;;-1:-1:-1;;;;;5366:14:0;;;;5348:12;;5394:8;;5366:37;5348:12;5394:8;;5348:12;5366:37;1:33:-1;5366:37:0;;45:16:-1;;;-1:-1;5366:37:0;;-1:-1:-1;5366:37:0;;-1:-1:-1;;5366:37:0;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;5347:56:0;;;5463:4;5457:11;5513:14;5510:1;5496:12;5481:47;5549:7;5569:47;;;;5660:14;5646:12;5639:36;5569:47;5599:14;5585:12;5578:36;4822:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4822:139:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4822:139:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4822:139:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4822:139:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;4822:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4822:139:0;;-1:-1:-1;4822:139:0;;-1:-1:-1;;;;;4822:139:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4822:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;698:33:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;698:33:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;581:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;581:37:1;;;:::i;3213:629:0:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3213:629:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;3213:629:0;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3213:629:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3213:629:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;3213:629:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;3213:629:0;;-1:-1:-1;3213:629:0;;-1:-1:-1;;;;;3213:629:0:i;:::-;;11673:29:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11673:29:1;;;:::i;:::-;;;;-1:-1:-1;;;;;11673:29:1;;;;;;;;;;;;;;468:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;468:28:1;;;:::i;4822:139:0:-;4933:14;;4891:12;;4922:32;;-1:-1:-1;;;;;4933:14:0;4949:4;4922:10;:32::i;:::-;4915:39;4822:139;-1:-1:-1;;4822:139:0:o;698:33:1:-;;;-1:-1:-1;;;698:33:1;;;;;:::o;581:37::-;;;-1:-1:-1;;;581:37:1;;;;;:::o;3213:629:0:-;3348:16;:14;:16::i;:::-;3340:86;;;;-1:-1:-1;;;3340:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3441:11;3437:118;;;3493:50;;;22:32:-1;6:49;;3493:50:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;3468:76:0;;:24;:76::i;:::-;;3437:118;3565:25;3593:14;;-1:-1:-1;;;;;3617:32:0;;;-1:-1:-1;;;;;;3617:32:0;;;;;3685:81;;;;;;;;;;;;;;;;;3593:14;;;;;3660:107;;3741:24;;3685:81;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3685:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3685:81:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;3685:81:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;3685:81:0;-1:-1:-1;3660:24:0;;-1:-1:-1;;3660:107:0:i;:::-;-1:-1:-1;3820:14:0;;3783:52;;;-1:-1:-1;;;;;3783:52:0;;;;;3820:14;;;3783:52;;;;;;;;;;;;;;;;3213:629;;;;:::o;11673:29:1:-;;;-1:-1:-1;;;;;11673:29:1;;:::o;468:28::-;;;-1:-1:-1;;;;;468:28:1;;:::o;4193:335:0:-;4266:12;4291;4305:23;4332:6;-1:-1:-1;;;;;4332:19:0;4352:4;4332:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;4332:25:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;4290:67:0;;;;4405:1;4396:7;4393:14;4390:2;;;4456:14;4449:4;4437:10;4433:21;4426:45;4390:2;4511:10;4193:335;-1:-1:-1;;;;4193:335:0:o;829:202:1:-;928:5;;878:4;;-1:-1:-1;;;;;928:5:1;914:10;:19;:37;;;;-1:-1:-1;937:14:1;;-1:-1:-1;;;937:14:1;;;;914:37;913:111;;;-1:-1:-1;969:10:1;355:42;969:32;:54;;;;-1:-1:-1;1005:18:1;;-1:-1:-1;;;1005:18:1;;;;969:54;894:130;;829:202;:::o
Swarm Source
bzzr://2add3f7d99a18b1c1f2f9f4eb6791f25e39348d5f0e821930c3af112c6839926
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.