contract_name
stringlengths
1
61
file_path
stringlengths
5
50.4k
contract_address
stringlengths
42
42
language
stringclasses
1 value
class_name
stringlengths
1
61
class_code
stringlengths
4
330k
class_documentation
stringlengths
0
29.1k
class_documentation_type
stringclasses
6 values
func_name
stringlengths
0
62
func_code
stringlengths
1
303k
func_documentation
stringlengths
2
14.9k
func_documentation_type
stringclasses
4 values
compiler_version
stringlengths
15
42
license_type
stringclasses
14 values
swarm_source
stringlengths
0
71
meta
dict
__index_level_0__
int64
0
60.4k
eFaisaa
eFaisaa.sol
0x26d22c7d714824abb0589329e58662a725c08904
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
transferFrom
function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}
/// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not
NatSpecSingleLine
v0.4.19+commit.c4cbbb05
bzzr://888146985cb6087bf08cbaf11eaae836e750b3c3d84f05be4405c9ff3d0cc502
{ "func_code_index": [ 946, 1042 ] }
18,400
eFaisaa
eFaisaa.sol
0x26d22c7d714824abb0589329e58662a725c08904
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
approve
function approve(address _spender, uint256 _value) returns (bool success) {}
/// @notice `msg.sender` approves `_addr` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of wei to be approved for transfer /// @return Whether the approval was successful or not
NatSpecSingleLine
v0.4.19+commit.c4cbbb05
bzzr://888146985cb6087bf08cbaf11eaae836e750b3c3d84f05be4405c9ff3d0cc502
{ "func_code_index": [ 1326, 1407 ] }
18,401
eFaisaa
eFaisaa.sol
0x26d22c7d714824abb0589329e58662a725c08904
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
allowance
function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}
/// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent
NatSpecSingleLine
v0.4.19+commit.c4cbbb05
bzzr://888146985cb6087bf08cbaf11eaae836e750b3c3d84f05be4405c9ff3d0cc502
{ "func_code_index": [ 1615, 1712 ] }
18,402
eFaisaa
eFaisaa.sol
0x26d22c7d714824abb0589329e58662a725c08904
Solidity
eFaisaa
contract eFaisaa is StandardToken { function () { //if ether is sent to this address, send it back. throw; } /* Public variables of the token */ /* NOTE: The following variables are OPTIONAL vanities. One does not have to include them. They allow one to customi...
//name this contract whatever you'd like
LineComment
eFaisaa
function eFaisaa( ) { balances[msg.sender] = 10000000000; // Give the creator all initial tokens (100000 for example) totalSupply = 10000000000; // Update total supply (100000 for example) name = "eFaisaa"; // Set the name for di...
//human 0.1 standard. Just an arbitrary versioning scheme. // // CHANGE THESE VALUES FOR YOUR TOKEN // //make sure this function name matches the contract name above. So if you're token is called TutorialToken, make sure the //contract name above is also TutorialToken instead of ERC20Token
LineComment
v0.4.19+commit.c4cbbb05
bzzr://888146985cb6087bf08cbaf11eaae836e750b3c3d84f05be4405c9ff3d0cc502
{ "func_code_index": [ 1156, 1705 ] }
18,403
eFaisaa
eFaisaa.sol
0x26d22c7d714824abb0589329e58662a725c08904
Solidity
eFaisaa
contract eFaisaa is StandardToken { function () { //if ether is sent to this address, send it back. throw; } /* Public variables of the token */ /* NOTE: The following variables are OPTIONAL vanities. One does not have to include them. They allow one to customi...
//name this contract whatever you'd like
LineComment
approveAndCall
function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); //call the receiveApproval function on the contract you want to be notified. This crafts the function signature manually s...
/* Approves and then calls the receiving contract */
Comment
v0.4.19+commit.c4cbbb05
bzzr://888146985cb6087bf08cbaf11eaae836e750b3c3d84f05be4405c9ff3d0cc502
{ "func_code_index": [ 1766, 2571 ] }
18,404
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
symbol
function symbol() public view returns (string memory) { return _symbol; }
/** * @dev Returns the symbol of the token, usually a shorter version of the * name. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 1685, 1777 ] }
18,405
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
decimals
function decimals() public view returns (uint8) { return _decimals; }
/** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 2410, 2498 ] }
18,406
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
totalSupply
function totalSupply() public override view returns (uint256) { return _totalSupply; }
/** * @dev See {IERC20-totalSupply}. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 2558, 2663 ] }
18,407
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
balanceOf
function balanceOf(address account) public override view returns (uint256) { return _balances[account]; }
// function balanceOf(address account) public override returns (uint256) { // return _balances[account]; // }
LineComment
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 2850, 2974 ] }
18,408
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
addLiquidityToUniswapPxWETHPair
function addLiquidityToUniswapPxWETHPair() public { require(liquidityGenerationOngoing() == false, "Liquidity generation onging"); require(LPGenerationCompleted == false, "Liquidity generation already finished"); totalETHContributed = address(this).balance; IUniswapV2Pair pair = IUniswapV2Pair(token...
// Sends all avaibile balances and creates LP tokens // Possible ways this could break addressed // 1) Multiple calls and resetting amounts - addressed with boolean // 2) Failed WETH wrapping/unwrapping addressed with checks // 3) Failure to create LP tokens, addressed with checks // 4) Unacceptable division errors . A...
LineComment
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 5122, 6488 ] }
18,409
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
addLiquidity
function addLiquidity(bool IreadParticipationAgreementInReadSectionAndIagreeFalseOrTrue) public payable { require(liquidityGenerationOngoing(), "Liquidity Generation Event over"); require(IreadParticipationAgreementInReadSectionAndIagreeFalseOrTrue, "No agreement provided"); ethContributed[msg.sender] +=...
// Possible ways this could break addressed // 1) No ageement to terms - added require // 2) Adding liquidity after generaion is over - added require // 3) Overflow from uint - impossible there isnt that much ETH aviable // 4) Depositing 0 - not an issue it will just add 0 to tally
LineComment
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 6854, 7488 ] }
18,410
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
claimLPTokens
function claimLPTokens() public { require(LPGenerationCompleted, "Event not over yet"); require(ethContributed[msg.sender] > 0 , "Nothing to claim, move along"); IUniswapV2Pair pair = IUniswapV2Pair(tokenUniswapPair); uint256 amountLPToTransfer = ethContributed[msg.sender].mul(LPperETHUnit).div(1e18...
// Possible ways this could break addressed // 1) Accessing before event is over and resetting eth contributed -- added require // 2) No uniswap pair - impossible at this moment because of the LPGenerationCompleted bool // 3) LP per unit is 0 - impossible checked at generation function
LineComment
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 7798, 8343 ] }
18,411
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
transfer
function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; }
/** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 8553, 8733 ] }
18,412
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
allowance
function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; }
/** * @dev See {IERC20-allowance}. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 8791, 8947 ] }
18,413
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
approve
function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; }
/** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 9089, 9263 ] }
18,414
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
transferFrom
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; }
/** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amou...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 9732, 10058 ] }
18,415
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
increaseAllowance
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; }
/** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` c...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 10468, 10691 ] }
18,416
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
decreaseAllowance
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(),spender,_allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; }
/** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` c...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 11189, 11461 ] }
18,417
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
_transfer
function _transfer(address _from, address _to, uint256 _value) private { require(_from != address(0), "ERC20: transfer from the zero address"); require(_to != address(0), "ERC20: transfer to the zero address"); require(_value > 0, "Transfer amount must be greater than zero"); if (_deductFee[_from] |...
/** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. *...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 12903, 13625 ] }
18,418
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
_burn
function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address disallowed"); _balances[account] = _balance.sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amou...
/** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 13959, 14311 ] }
18,419
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
_approve
function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amoun...
/** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 14751, 15102 ] }
18,420
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
_setupDecimals
function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; }
/** * @dev Sets {decimals} to a value other than the default one of 18. * * This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 15420, 15515 ] }
18,421
MarioToken
NewERC20.sol
0xbff658ee300cfc7ffd5d182208bce73831925bab
Solidity
NewERC20
contract NewERC20 is Context, INewERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping (address => bool) private _deductFee; mapping(address => mapping(address => uint256)) private _allowances; event LiquidityAddit...
_beforeTokenTransfer
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
/** * @dev Hook that is called before any transfer of tokens. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://2212624da6dbe73978749c2cf96d1867a765a893de13db500f299d5dbf1255a7
{ "func_code_index": [ 16071, 16168 ] }
18,422
Me_Encanta_El_Mariachi
Me_Encanta_El_Mariachi.sol
0x717507dbee7aef850a9fccca479b8cc5f9305c67
Solidity
Me_Encanta_El_Mariachi
contract Me_Encanta_El_Mariachi is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; mapping (address => bool) private _isSniper; bool private _swapping; uint256 private _launchTime; address ...
enableTrading
function enableTrading() external onlyOwner { tradingActive = true; _launchTime = block.timestamp; }
// once enabled, can never be turned off
LineComment
v0.8.11+commit.d7f03943
MIT
ipfs://c899995e9be22e9dd8cd82da396632f1c513e52e40877f69fb0b271188975eaa
{ "func_code_index": [ 4331, 4459 ] }
18,423
Me_Encanta_El_Mariachi
Me_Encanta_El_Mariachi.sol
0x717507dbee7aef850a9fccca479b8cc5f9305c67
Solidity
Me_Encanta_El_Mariachi
contract Me_Encanta_El_Mariachi is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; mapping (address => bool) private _isSniper; bool private _swapping; uint256 private _launchTime; address ...
removeLimits
function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; }
// remove limits after token is stable
LineComment
v0.8.11+commit.d7f03943
MIT
ipfs://c899995e9be22e9dd8cd82da396632f1c513e52e40877f69fb0b271188975eaa
{ "func_code_index": [ 4510, 4636 ] }
18,424
Me_Encanta_El_Mariachi
Me_Encanta_El_Mariachi.sol
0x717507dbee7aef850a9fccca479b8cc5f9305c67
Solidity
Me_Encanta_El_Mariachi
contract Me_Encanta_El_Mariachi is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; mapping (address => bool) private _isSniper; bool private _swapping; uint256 private _launchTime; address ...
disableTransferDelay
function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; }
// disable Transfer delay - cannot be reenabled
LineComment
v0.8.11+commit.d7f03943
MIT
ipfs://c899995e9be22e9dd8cd82da396632f1c513e52e40877f69fb0b271188975eaa
{ "func_code_index": [ 4696, 4836 ] }
18,425
Me_Encanta_El_Mariachi
Me_Encanta_El_Mariachi.sol
0x717507dbee7aef850a9fccca479b8cc5f9305c67
Solidity
Me_Encanta_El_Mariachi
contract Me_Encanta_El_Mariachi is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; mapping (address => bool) private _isSniper; bool private _swapping; uint256 private _launchTime; address ...
updateSwapTokensAtAmount
function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapToke...
// change the minimum amount of tokens to sell from fees
LineComment
v0.8.11+commit.d7f03943
MIT
ipfs://c899995e9be22e9dd8cd82da396632f1c513e52e40877f69fb0b271188975eaa
{ "func_code_index": [ 4906, 5293 ] }
18,426
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
IERC20
interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /**...
totalSupply
function totalSupply() external view returns (uint256);
/** * @dev Returns the amount of tokens in existence. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 94, 154 ] }
18,427
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
IERC20
interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /**...
balanceOf
function balanceOf(address account) external view returns (uint256);
/** * @dev Returns the amount of tokens owned by `account`. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 237, 310 ] }
18,428
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
IERC20
interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /**...
transfer
function transfer(address recipient, uint256 amount) external returns (bool);
/** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 534, 616 ] }
18,429
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
IERC20
interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /**...
allowance
function allowance(address owner, address spender) external view returns (uint256);
/** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 895, 983 ] }
18,430
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
IERC20
interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /**...
approve
function approve(address spender, uint256 amount) external returns (bool);
/** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate ...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 1647, 1726 ] }
18,431
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
IERC20
interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /**...
transferFrom
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 2039, 2141 ] }
18,432
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
add
function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; }
/** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 259, 445 ] }
18,433
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
sub
function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); }
/** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 723, 864 ] }
18,434
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
sub
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; }
/** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 1162, 1359 ] }
18,435
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
mul
function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; ...
/** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 1613, 2089 ] }
18,436
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
div
function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); }
/** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to reve...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 2560, 2697 ] }
18,437
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
div
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; }
/** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an in...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 3188, 3471 ] }
18,438
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
mod
function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); }
/** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consumi...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 3931, 4066 ] }
18,439
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
mod
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; }
/** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcod...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 4546, 4717 ] }
18,440
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Address
library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will ...
isContract
function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codeha...
/** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: ...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 606, 1230 ] }
18,441
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Address
library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will ...
sendValue
function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address...
/** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `tr...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 2160, 2562 ] }
18,442
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Address
library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will ...
functionCall
function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); }
/** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw ...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 3318, 3496 ] }
18,443
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Address
library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will ...
functionCall
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); }
/** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 3721, 3922 ] }
18,444
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Address
library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will ...
functionCallWithValue
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); }
/** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ *...
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 4292, 4523 ] }
18,445
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Address
library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will ...
functionCallWithValue
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); }
/** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 4774, 5095 ] }
18,446
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Ownable
contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSend...
owner
function owner() public view returns (address) { return _owner; }
/** * @dev Returns the address of the current owner. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 497, 581 ] }
18,447
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Ownable
contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSend...
renounceOwnership
function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); }
/** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 1139, 1292 ] }
18,448
CardDoge
CardDoge.sol
0x8fa76a3b1f6593d224696c1dc719b81b6caa68a1
Solidity
Ownable
contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSend...
transferOwnership
function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; }
/** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */
NatSpecMultiLine
v0.6.12+commit.27d51765
MIT
ipfs://9444205ac10d3a53d769f93f31d809bf45607ce23fb061e45accf12f335513ad
{ "func_code_index": [ 1442, 1691 ] }
18,449
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
ZTKDIGITALTOKEN
function ZTKDIGITALTOKEN() public { symbol = "ZTKD"; name = "ZTKDIGITALTOKEN"; decimals = 18; _totalSupply = 5000000000000000000000000000; balances[0xb6d8f913834B34BC5c997C63C597956E42dA405a] = _totalSupply; Transfer(address(0), 0xb6d8f913834B34BC5c997C63C597956E42dA405a, _totalSupply); }...
// ------------------------------------------------------------------------ // Constructor // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 462, 815 ] }
18,450
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
totalSupply
function totalSupply() public constant returns (uint) { return _totalSupply - balances[address(0)]; }
// ------------------------------------------------------------------------ // Total supply // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 1003, 1124 ] }
18,451
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
balanceOf
function balanceOf(address tokenOwner) public constant returns (uint balance) { return balances[tokenOwner]; }
// ------------------------------------------------------------------------ // Get the token balance for account tokenOwner // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 1344, 1473 ] }
18,452
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
transfer
function transfer(address to, uint tokens) public returns (bool success) { balances[msg.sender] = safeSub(balances[msg.sender], tokens); balances[to] = safeAdd(balances[to], tokens); Transfer(msg.sender, to, tokens); return true; }
// ------------------------------------------------------------------------ // Transfer the balance from token owner's account to to account // - Owner's account must have sufficient balance to transfer // - 0 value transfers are allowed // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 1817, 2094 ] }
18,453
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
approve
function approve(address spender, uint tokens) public returns (bool success) { allowed[msg.sender][spender] = tokens; Approval(msg.sender, spender, tokens); return true; }
// ------------------------------------------------------------------------ // Token owner can approve for spender to transferFrom(...) tokens // from the token owner's account // // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md // recommends that there are no checks for the approval double...
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 2602, 2810 ] }
18,454
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
transferFrom
function transferFrom(address from, address to, uint tokens) public returns (bool success) { balances[from] = safeSub(balances[from], tokens); allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens); balances[to] = safeAdd(balances[to], tokens); Transfer(from, to, tokens); return...
// ------------------------------------------------------------------------ // Transfer tokens from the from account to the to account // // The calling account must already have sufficient tokens approve(...)-d // for spending from the from account and // - From account must have sufficient balance to transfer // - S...
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 3341, 3699 ] }
18,455
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
allowance
function allowance(address tokenOwner, address spender) public constant returns (uint remaining) { return allowed[tokenOwner][spender]; }
// ------------------------------------------------------------------------ // Returns the amount of tokens approved by the owner that can be // transferred to the spender's account // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 3982, 4138 ] }
18,456
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
approveAndCall
function approveAndCall(address spender, uint tokens, bytes data) public returns (bool success) { allowed[msg.sender][spender] = tokens; Approval(msg.sender, spender, tokens); ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, this, data); return true; }
// ------------------------------------------------------------------------ // Token owner can approve for spender to transferFrom(...) tokens // from the token owner's account. The spender contract function // receiveApproval(...) is then executed // --------------------------------------------------------------------...
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 4493, 4810 ] }
18,457
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
function () public payable { revert(); }
// ------------------------------------------------------------------------ // Don't accept ETH // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 5002, 5061 ] }
18,458
ZTKDIGITALTOKEN
ZTKDIGITALTOKEN.sol
0x6b775965ff81583429ee39f4f6a5fb6889ab61eb
Solidity
ZTKDIGITALTOKEN
contract ZTKDIGITALTOKEN is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; // ---------------------------------...
// ---------------------------------------------------------------------------- // ERC20 Token, with the addition of symbol, name and decimals and assisted // token transfers // ----------------------------------------------------------------------------
LineComment
transferAnyERC20Token
function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) { return ERC20Interface(tokenAddress).transfer(owner, tokens); }
// ------------------------------------------------------------------------ // Owner can transfer out any accidentally sent ERC20 tokens // ------------------------------------------------------------------------
LineComment
v0.4.20+commit.3155dd80
bzzr://136c46b3006d30d1a6f547fea5cd3276c6dfadfa12ec6b158abc27f79dca4e2b
{ "func_code_index": [ 5294, 5483 ] }
18,459
MTRAX
contracts\MTRAX.sol
0xdcc0ccf18186bb5f364cae12d74ffb5aec32e7d0
Solidity
MTRAX
contract MTRAX is ERC20 { string public constant name = "MTRAX"; string public constant symbol = "MTRAX"; uint8 public constant decimals = 18; uint256 public constant initialSupply = 10000000000 * (10 ** uint256(decimals)); constructor() public { super._mint(msg.sender, initia...
renounceOwnership
function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); }
/** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */
NatSpecMultiLine
v0.5.8+commit.23d335f2
None
bzzr://8a8f1aaa80c003212a0abdbe431ff1bb0a21db8bc4fd0620489ce4990dca16a6
{ "func_code_index": [ 953, 1082 ] }
18,460
MTRAX
contracts\MTRAX.sol
0xdcc0ccf18186bb5f364cae12d74ffb5aec32e7d0
Solidity
MTRAX
contract MTRAX is ERC20 { string public constant name = "MTRAX"; string public constant symbol = "MTRAX"; uint8 public constant decimals = 18; uint256 public constant initialSupply = 10000000000 * (10 ** uint256(decimals)); constructor() public { super._mint(msg.sender, initia...
transferOwnership
function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); }
/** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */
NatSpecMultiLine
v0.5.8+commit.23d335f2
None
bzzr://8a8f1aaa80c003212a0abdbe431ff1bb0a21db8bc4fd0620489ce4990dca16a6
{ "func_code_index": [ 1247, 1363 ] }
18,461
MTRAX
contracts\MTRAX.sol
0xdcc0ccf18186bb5f364cae12d74ffb5aec32e7d0
Solidity
MTRAX
contract MTRAX is ERC20 { string public constant name = "MTRAX"; string public constant symbol = "MTRAX"; uint8 public constant decimals = 18; uint256 public constant initialSupply = 10000000000 * (10 ** uint256(decimals)); constructor() public { super._mint(msg.sender, initia...
_transferOwnership
function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0), "Already owner"); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; }
/** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */
NatSpecMultiLine
v0.5.8+commit.23d335f2
None
bzzr://8a8f1aaa80c003212a0abdbe431ff1bb0a21db8bc4fd0620489ce4990dca16a6
{ "func_code_index": [ 1501, 1712 ] }
18,462
MTRAX
contracts\MTRAX.sol
0xdcc0ccf18186bb5f364cae12d74ffb5aec32e7d0
Solidity
MTRAX
contract MTRAX is ERC20 { string public constant name = "MTRAX"; string public constant symbol = "MTRAX"; uint8 public constant decimals = 18; uint256 public constant initialSupply = 10000000000 * (10 ** uint256(decimals)); constructor() public { super._mint(msg.sender, initia...
pause
function pause() public onlyOwner whenNotPaused { paused = true; emit Pause(); }
/** * @dev called by the owner to pause, triggers stopped state */
NatSpecMultiLine
v0.5.8+commit.23d335f2
None
bzzr://8a8f1aaa80c003212a0abdbe431ff1bb0a21db8bc4fd0620489ce4990dca16a6
{ "func_code_index": [ 2293, 2401 ] }
18,463
MTRAX
contracts\MTRAX.sol
0xdcc0ccf18186bb5f364cae12d74ffb5aec32e7d0
Solidity
MTRAX
contract MTRAX is ERC20 { string public constant name = "MTRAX"; string public constant symbol = "MTRAX"; uint8 public constant decimals = 18; uint256 public constant initialSupply = 10000000000 * (10 ** uint256(decimals)); constructor() public { super._mint(msg.sender, initia...
unpause
function unpause() public onlyOwner whenPaused { paused = false; emit Unpause(); }
/** * @dev called by the owner to unpause, returns to normal state */
NatSpecMultiLine
v0.5.8+commit.23d335f2
None
bzzr://8a8f1aaa80c003212a0abdbe431ff1bb0a21db8bc4fd0620489ce4990dca16a6
{ "func_code_index": [ 2489, 2599 ] }
18,464
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
totalSupply
function totalSupply() constant returns (uint256 supply) {}
/// @return total amount of tokens
NatSpecSingleLine
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 60, 124 ] }
18,465
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
balanceOf
function balanceOf(address _owner) constant returns (uint256 balance) {}
/// @param _owner The address from which the balance will be retrieved /// @return The balance
NatSpecSingleLine
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 232, 309 ] }
18,466
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
transfer
function transfer(address _to, uint256 _value) returns (bool success) {}
/// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not
NatSpecSingleLine
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 546, 623 ] }
18,467
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
transferFrom
function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}
/// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not
NatSpecSingleLine
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 946, 1042 ] }
18,468
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
approve
function approve(address _spender, uint256 _value) returns (bool success) {}
/// @notice `msg.sender` approves `_addr` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of wei to be approved for transfer /// @return Whether the approval was successful or not
NatSpecSingleLine
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 1326, 1407 ] }
18,469
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Token
contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// ...
allowance
function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}
/// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent
NatSpecSingleLine
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 1615, 1712 ] }
18,470
Worldcoin1
Worldcoin1.sol
0xcfaa1833c92a0d6082a804496f4086fb73b74bee
Solidity
Worldcoin1
contract Worldcoin1 is StandardToken { function () { //if ether is sent to this address, send it back. throw; } /* Public variables of the token */ string public name; uint8 public decimals; string public symbol; ...
approveAndCall
function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); if(!_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extr...
/* Approves and then calls the receiving contract */
Comment
v0.4.23+commit.124ca40d
bzzr://ceec029c87f8e34200f8d962cb4126ab78d320d1d888c16370928ad18a1e7360
{ "func_code_index": [ 975, 1359 ] }
18,471
DispatcherEntrance
DispatcherEntrance.sol
0xecd103a57a806ac83cc05d4c873ab92b319a6638
Solidity
DSAuth
contract DSAuth is DSAuthEvents { DSAuthority public authority; address public owner; address public newOwner; constructor() public { owner = msg.sender; emit LogSetOwner(msg.sender); } // Warning: you should absolutely sure you want to give up authority...
disableOwnership
function disableOwnership() public onlyOwner { owner = address(0); emit OwnerUpdate(msg.sender, owner); }
// Warning: you should absolutely sure you want to give up authority!!!
LineComment
v0.5.4+commit.9549d8ff
None
bzzr://a35b97b0865718170193cd77c3d973c99574edfbca4fee1b11741b55d228bf06
{ "func_code_index": [ 325, 458 ] }
18,472
DispatcherEntrance
DispatcherEntrance.sol
0xecd103a57a806ac83cc05d4c873ab92b319a6638
Solidity
DSAuth
contract DSAuth is DSAuthEvents { DSAuthority public authority; address public owner; address public newOwner; constructor() public { owner = msg.sender; emit LogSetOwner(msg.sender); } // Warning: you should absolutely sure you want to give up authority...
setAuthority
function setAuthority(DSAuthority authority_) public onlyOwner { authority = authority_; emit LogSetAuthority(address(authority)); }
///[snow] guard is Authority who inherit DSAuth.
NatSpecSingleLine
v0.5.4+commit.9549d8ff
None
bzzr://a35b97b0865718170193cd77c3d973c99574edfbca4fee1b11741b55d228bf06
{ "func_code_index": [ 942, 1125 ] }
18,473
DispatcherEntrance
DispatcherEntrance.sol
0xecd103a57a806ac83cc05d4c873ab92b319a6638
Solidity
IDispatcher
interface IDispatcher { // external function function trigger() external returns (bool); function withdrawProfit() external returns (bool); function drainFunds(uint256 _index) external returns (bool); function refundDispather(address _receiver) external returns (bool); // get function function getRese...
trigger
function trigger() external returns (bool);
// external function
LineComment
v0.5.4+commit.9549d8ff
None
bzzr://a35b97b0865718170193cd77c3d973c99574edfbca4fee1b11741b55d228bf06
{ "func_code_index": [ 50, 95 ] }
18,474
DispatcherEntrance
DispatcherEntrance.sol
0xecd103a57a806ac83cc05d4c873ab92b319a6638
Solidity
IDispatcher
interface IDispatcher { // external function function trigger() external returns (bool); function withdrawProfit() external returns (bool); function drainFunds(uint256 _index) external returns (bool); function refundDispather(address _receiver) external returns (bool); // get function function getRese...
getReserve
function getReserve() external view returns (uint256);
// get function
LineComment
v0.5.4+commit.9549d8ff
None
bzzr://a35b97b0865718170193cd77c3d973c99574edfbca4fee1b11741b55d228bf06
{ "func_code_index": [ 303, 359 ] }
18,475
DispatcherEntrance
DispatcherEntrance.sol
0xecd103a57a806ac83cc05d4c873ab92b319a6638
Solidity
IDispatcher
interface IDispatcher { // external function function trigger() external returns (bool); function withdrawProfit() external returns (bool); function drainFunds(uint256 _index) external returns (bool); function refundDispather(address _receiver) external returns (bool); // get function function getRese...
setAimedPropotion
function setAimedPropotion(uint256[] calldata _thPropotion) external returns (bool);
// Governmence Functions
LineComment
v0.5.4+commit.9549d8ff
None
bzzr://a35b97b0865718170193cd77c3d973c99574edfbca4fee1b11741b55d228bf06
{ "func_code_index": [ 1693, 1779 ] }
18,476
LynxFinanceStake
contracts/CurveRewards.sol
0x2beb9e18e3ee68cecb5842cc71a80890e0b39c9e
Solidity
LynxFinanceStake
contract LynxFinanceStake is LPTokenWrapper, IRewardDistributionRecipient { // Token to be rewarded IERC20 public yfi = IERC20(address(0)); uint256 public constant DURATION = 15 days; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint...
stake
function stake(uint256 amount) public updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); }
// stake visibility is public as overriding LPTokenWrapper's stake() function
LineComment
v0.5.16+commit.9c3226ce
GNU GPLv3
bzzr://2a027e5264faaa011d04dc850bbc16811f06ee264a133c16190d1f77c06ac527
{ "func_code_index": [ 2113, 2309 ] }
18,477
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
VTN
function VTN( uint256 initialSupply, string tokenName, string tokenSymbol ) public { totalSupply = initialSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount balanceOf[msg.sender] = totalSupply; // Give the creator all initial tokens name = tok...
/** * Constructor function * * Initializes contract with initial supply tokens to the creator of the contract */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 834, 1372 ] }
18,478
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
_transfer
function _transfer(address _from, address _to, uint _value) internal { // Prevent transfer to 0x0 address. Use burn() instead require(_to != 0x0); // Check if the sender has enough require(balanceOf[_from] >= _value); // Check for overflows require(balanceOf[_to] + _value > balanceOf[_to])...
/** * Internal transfer, only can be called by this contract */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 1456, 2298 ] }
18,479
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
transfer
function transfer(address _to, uint256 _value) public { _transfer(msg.sender, _to, _value); }
/** * Transfer tokens * * Send `_value` tokens to `_to` from your account * * @param _to The address of the recipient * @param _value the amount to send */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 2504, 2616 ] }
18,480
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
transferFrom
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_value <= allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; }
/** * Transfer tokens from other address * * Send `_value` tokens to `_to` on behalf of `_from` * * @param _from The address of the sender * @param _to The address of the recipient * @param _value the amount to send */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 2891, 3192 ] }
18,481
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
approve
function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; return true; }
/** * Set allowance for other address * * Allows `_spender` to spend no more than `_value` tokens on your behalf * * @param _spender The address authorized to spend * @param _value the max amount they can spend */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 3456, 3632 ] }
18,482
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
approveAndCall
function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } }
/** * Set allowance for other address and notify * * Allows `_spender` to spend no more than `_value` tokens on your behalf, and then ping the contract about it * * @param _spender The address authorized to spend * @param _value the max amount they can spend * @param _extraData some extra information to s...
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 4026, 4378 ] }
18,483
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
burn
function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); // Check if the sender has enough balanceOf[msg.sender] -= _value; // Subtract from the sender totalSupply -= _value; // Updates totalSupply Burn(msg.sender, _val...
/** * Destroy tokens * * Remove `_value` tokens from the system irreversibly * * @param _value the amount of money to burn */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 4548, 4922 ] }
18,484
VTN
VTN.sol
0x4d9612a17cf1d56156ca553a73d82a1b3ef4a557
Solidity
VTN
contract VTN { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => u...
burnFrom
function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); // Check if the targeted balance is enough require(_value <= allowance[_from][msg.sender]); // Check allowance balanceOf[_from] -= _value; // Sub...
/** * Destroy tokens from other account * * Remove `_value` tokens from the system irreversibly on behalf of `_from`. * * @param _from the address of the sender * @param _value the amount of money to burn */
NatSpecMultiLine
v0.4.16+commit.d7661dd9
None
bzzr://697e75274d74f4c2206db4b1d846b62af843dd225b481b5f5f4c30bb3ff5d8b8
{ "func_code_index": [ 5180, 5791 ] }
18,485
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
IERC20
interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipi...
balanceOf
function balanceOf(address account) external view returns (uint256);
/** * @dev Returns the amount of tokens owned by `account`. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 165, 238 ] }
18,486
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
IERC20
interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipi...
transfer
function transfer(address recipient, uint256 amount) external returns (bool);
/** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 462, 544 ] }
18,487
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
IERC20
interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipi...
allowance
function allowance(address owner, address spender) external view returns (uint256);
/** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 823, 911 ] }
18,488
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
IERC20
interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipi...
approve
function approve(address spender, uint256 amount) external returns (bool);
/** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate ...
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 1575, 1654 ] }
18,489
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
IERC20
interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipi...
transferFrom
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 1967, 2069 ] }
18,490
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
add
function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; }
/** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 259, 445 ] }
18,491
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
sub
function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); }
/** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 723, 864 ] }
18,492
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
sub
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; }
/** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 1162, 1359 ] }
18,493
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
mul
function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; ...
/** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 1613, 2089 ] }
18,494
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
div
function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); }
/** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to reve...
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 2560, 2697 ] }
18,495
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
div
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; }
/** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an in...
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 3188, 3471 ] }
18,496
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
mod
function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); }
/** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consumi...
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 3931, 4066 ] }
18,497
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
SafeMath
library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns ...
/** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming la...
NatSpecMultiLine
mod
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; }
/** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcod...
NatSpecMultiLine
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 4546, 4717 ] }
18,498
Jester
Jester.sol
0xdcec3bbf1375aaa23b3d22ee64897da75e5987cc
Solidity
Context
abstract contract Context { //function _msgSender() internal view virtual returns (address payable) { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mut...
_msgSender
function _msgSender() internal view virtual returns (address) { return msg.sender; }
//function _msgSender() internal view virtual returns (address payable) {
LineComment
v0.8.9+commit.e5eed63a
None
ipfs://212149d1a75db9f0e026b4e94af14163ec0109bd10feb819b74c433e2671d93e
{ "func_code_index": [ 108, 211 ] }
18,499