Address Details
contract
0x38A69B46f72FB8b3Afd57404f117a5f6EF08ADA2
- Contract Name
- AddMint
- Creator
- 0x7d6740–c9cfce at 0x7e92b4–98ffde
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 0 Transactions
- Transfers
- 0 Transfers
- Gas Used
- Fetching gas used...
- Last Balance Update
- 8926509
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- AddMint
- Optimization enabled
- true
- Compiler version
- v0.8.10+commit.fc410830
- Optimization runs
- 200
- EVM Version
- london
- Verified at
- 2022-09-30T05:02:24.153798Z
contracts/AddMint.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IStarToken { function _mint(address _account, uint256 _amount) external; } contract AddMint { IStarToken public iToken; function testImint(uint256 _amount) public { iToken._mint(address(this), _amount); } }
Contract ABI
[{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IStarToken"}],"name":"iToken","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"testImint","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b50610129806100206000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063408cfe241460375780636bcf1279146065575b600080fd5b6000546049906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6074607036600460db565b6076565b005b600054604051634e6ec24760e01b8152306004820152602481018390526001600160a01b0390911690634e6ec24790604401600060405180830381600087803b15801560c157600080fd5b505af115801560d4573d6000803e3d6000fd5b5050505050565b60006020828403121560ec57600080fd5b503591905056fea2646970667358221220c13c3fe366e0248b1b8b95f748252f561d5378604b79ee1e81b2e07fb95e14e064736f6c634300080a0033
Deployed ByteCode
0x6080604052348015600f57600080fd5b506004361060325760003560e01c8063408cfe241460375780636bcf1279146065575b600080fd5b6000546049906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6074607036600460db565b6076565b005b600054604051634e6ec24760e01b8152306004820152602481018390526001600160a01b0390911690634e6ec24790604401600060405180830381600087803b15801560c157600080fd5b505af115801560d4573d6000803e3d6000fd5b5050505050565b60006020828403121560ec57600080fd5b503591905056fea2646970667358221220c13c3fe366e0248b1b8b95f748252f561d5378604b79ee1e81b2e07fb95e14e064736f6c634300080a0033