Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Partner Shar... | 465148 | 51 days ago | IN | 0 ETH | 0.00000238 | ||||
Set Partner Shar... | 335411 | 100 days ago | IN | 0 ETH | 0.00000238 | ||||
Set Partner Shar... | 335370 | 100 days ago | IN | 0 ETH | 0.0000024 | ||||
Set Partner Shar... | 335337 | 100 days ago | IN | 0 ETH | 0.00000238 | ||||
Set Partner Shar... | 311988 | 107 days ago | IN | 0 ETH | 0.00000238 | ||||
Set Partner Shar... | 282239 | 115 days ago | IN | 0 ETH | 0.00000238 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xC2142383...389697E35 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
FeeConfiguration
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity >=0.8.9; contract FeeConfiguration { // Partner -> PartnerShare mapping(address => uint256) private _partnerShares; address public owner; ///Events/// event SetPartnerShare(address indexed partnerAddress, uint256 partnerShare); event OwnerChanged(address indexed previousOwner, address indexed newOwner); constructor (address _owner) public { owner = _owner; } function setPartnerShare(address partnerAddress, uint256 partnerShare) external onlyOwner { _partnerShares[partnerAddress] = partnerShare; emit SetPartnerShare(partnerAddress, partnerShare); } function getPartnerShare(address partnerAddress) external view returns (uint256) { return _partnerShares[partnerAddress]; } function changeOwner(address _newOwner) external onlyOwner { owner = _newOwner; emit OwnerChanged(msg.sender, owner); } modifier onlyOwner() { require(msg.sender == owner, "!ownerAddress"); _; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"partnerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"partnerShare","type":"uint256"}],"name":"SetPartnerShare","type":"event"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"partnerAddress","type":"address"}],"name":"getPartnerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"partnerAddress","type":"address"},{"internalType":"uint256","name":"partnerShare","type":"uint256"}],"name":"setPartnerShare","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806383b7e2a9146100515780638da5cb5b14610066578063a24e188b14610096578063a6f9dae1146100cd575b600080fd5b61006461005f366004610232565b6100e0565b005b600154610079906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100bf6100a436600461025c565b6001600160a01b031660009081526020819052604090205490565b60405190815260200161008d565b6100646100db36600461025c565b610180565b6001546001600160a01b0316331461012f5760405162461bcd60e51b815260206004820152600d60248201526c216f776e65724164647265737360981b60448201526064015b60405180910390fd5b6001600160a01b0382166000818152602081815260409182902084905590518381527f1be00cd4139fa70b91dc3c2014846ae5daedfa75b2ca16971e8c0a75493d1b75910160405180910390a25050565b6001546001600160a01b031633146101ca5760405162461bcd60e51b815260206004820152600d60248201526c216f776e65724164647265737360981b6044820152606401610126565b600180546001600160a01b0319166001600160a01b03831690811790915560405133907fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c90600090a350565b80356001600160a01b038116811461022d57600080fd5b919050565b6000806040838503121561024557600080fd5b61024e83610216565b946020939093013593505050565b60006020828403121561026e57600080fd5b61027782610216565b939250505056fea2646970667358221220e03da1e4f403b33be2a04496636fb6554e30ed1382a4174d34f9383e7a2fcae564736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.