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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OptaToken | OptaToken.sol | 0x3fe2ef1dfb1595195768627d16751d552586dce8 | 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.24+commit.e67f0147 | bzzr://8955b8b8691c20c5cd094495c8b5705abd5405beacad82a46a098a3baf7898e8 | {
"func_code_index": [
1621,
1718
]
} | 60,161 | |||
OptaToken | OptaToken.sol | 0x3fe2ef1dfb1595195768627d16751d552586dce8 | Solidity | OptaToken | contract OptaToken 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 cu... | //name this contract whatever you'd like | LineComment | OptaToken | function OptaToken(
) {
balances[msg.sender] = 100000000000000000; // Give the creator all initial tokens (100000 for example)
totalSupply = 100000000000000000; // Update total supply (100000 for example)
name = "Opta Token"; // ... | //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.24+commit.e67f0147 | bzzr://8955b8b8691c20c5cd094495c8b5705abd5405beacad82a46a098a3baf7898e8 | {
"func_code_index": [
1164,
1733
]
} | 60,162 | |
OptaToken | OptaToken.sol | 0x3fe2ef1dfb1595195768627d16751d552586dce8 | Solidity | OptaToken | contract OptaToken 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 cu... | //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 ... | /* Approves and then calls the receiving contract */ | Comment | v0.4.24+commit.e67f0147 | bzzr://8955b8b8691c20c5cd094495c8b5705abd5405beacad82a46a098a3baf7898e8 | {
"func_code_index": [
1795,
2601
]
} | 60,163 | |
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Ownable | contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() {
owner = msg.sender;
}
/**... | /**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/ | NatSpecMultiLine | Ownable | function Ownable() {
owner = msg.sender;
}
| /**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/ | NatSpecMultiLine | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
257,
310
]
} | 60,164 |
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Ownable | contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() {
owner = msg.sender;
}
/**... | /**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/ | NatSpecMultiLine | transferOwnership | function transferOwnership(address newOwner) onlyOwner public {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = 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.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
633,
809
]
} | 60,165 |
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Pausable | contract Pausable is Ownable {
event Pause();
event Unpause();
bool public paused = false;
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*/
modifier whenNotPaused() {
require(!paused);
_;
}
/**
* @dev Modifier to make a function ... | /**
* @title Pausable
* @dev Base contract which allows children to implement an emergency stop mechanism.
*/ | NatSpecMultiLine | pause | function pause() onlyOwner whenNotPaused public {
paused = true;
Pause();
}
| /**
* @dev called by the owner to pause, triggers stopped state
*/ | NatSpecMultiLine | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
513,
604
]
} | 60,166 |
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Pausable | contract Pausable is Ownable {
event Pause();
event Unpause();
bool public paused = false;
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*/
modifier whenNotPaused() {
require(!paused);
_;
}
/**
* @dev Modifier to make a function ... | /**
* @title Pausable
* @dev Base contract which allows children to implement an emergency stop mechanism.
*/ | NatSpecMultiLine | unpause | function unpause() onlyOwner whenPaused public {
paused = false;
Unpause();
}
| /**
* @dev called by the owner to unpause, returns to normal state
*/ | NatSpecMultiLine | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
688,
781
]
} | 60,167 |
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Token | contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to the base contract since public ... | 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.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
629,
704
]
} | 60,168 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Token | contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to the base contract since public ... | 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.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
941,
1016
]
} | 60,169 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Token | contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to the base contract since public ... | 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.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
1339,
1433
]
} | 60,170 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Token | contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to the base contract since public ... | approve | function approve(address _spender, uint256 _value) returns (bool success);
| /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
/// @param _spender The address of the account able to transfer the tokens
/// @param _value The amount of tokens to be approved for transfer
/// @return Whether the approval was successful or not | NatSpecSingleLine | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
1723,
1802
]
} | 60,171 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | Token | contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to the base contract since public ... | 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.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
2010,
2105
]
} | 60,172 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | APDTToken | contract APDTToken is StandardToken, Pausable {
string public constant name = "APDT Token";
string public constant symbol = "APDT";
uint8 public constant decimals = 6;
uint256 public constant totalSupply = 210000000000000000;
// Holds the amount and date of a given balance lock.
struct... | APDTToken | function APDTToken()
Pausable() {
balances[msg.sender] = totalSupply;
Transfer(0x0, msg.sender, totalSupply);
}
| /** @dev Constructor for the contract.
*/ | NatSpecMultiLine | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
755,
903
]
} | 60,173 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | APDTToken | contract APDTToken is StandardToken, Pausable {
string public constant name = "APDT Token";
string public constant symbol = "APDT";
uint8 public constant decimals = 6;
uint256 public constant totalSupply = 210000000000000000;
// Holds the amount and date of a given balance lock.
struct... | lockBalance | function lockBalance(address addr, uint256 _value,uint256 lockingDays) onlyOwner {
// Check if the lock on previously locked tokens is still active.
if (balanceLocks[addr].unlockDate > now) { // 未到可转账日期
// Only allow confirming the lock or adding to it.
require(_value >= balanceLocks[addr]... | //设置锁仓 | LineComment | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
1177,
1961
]
} | 60,174 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | APDTToken | contract APDTToken is StandardToken, Pausable {
string public constant name = "APDT Token";
string public constant symbol = "APDT";
uint8 public constant decimals = 6;
uint256 public constant totalSupply = 210000000000000000;
// Holds the amount and date of a given balance lock.
struct... | availableBalance | function availableBalance(address _owner) constant returns(uint256) {
if (balanceLocks[_owner].unlockDate < now) {
return balances[_owner];
} else {
assert(balances[_owner] >= balanceLocks[_owner].amount);
return balances[_owner] - balanceLocks[_owner].amount;
}
}
| // 返回用户当前可用余额 | LineComment | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
2131,
2471
]
} | 60,175 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | APDTToken | contract APDTToken is StandardToken, Pausable {
string public constant name = "APDT Token";
string public constant symbol = "APDT";
uint8 public constant decimals = 6;
uint256 public constant totalSupply = 210000000000000000;
// Holds the amount and date of a given balance lock.
struct... | transfer | function transfer(address _to, uint256 _value) whenNotPaused returns (bool success) {
require(availableBalance(msg.sender) >= _value);
return super.transfer(_to, _value);
}
| // | LineComment | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
2823,
3023
]
} | 60,176 | ||
APDTToken | APDTToken.sol | 0x0af747ae064bf2489740ccd44d26750bc85e2ad0 | Solidity | APDTToken | contract APDTToken is StandardToken, Pausable {
string public constant name = "APDT Token";
string public constant symbol = "APDT";
uint8 public constant decimals = 6;
uint256 public constant totalSupply = 210000000000000000;
// Holds the amount and date of a given balance lock.
struct... | transferFrom | function transferFrom(address _from, address _to, uint256 _value) whenNotPaused
returns (bool success) {
require(availableBalance(_from) >= _value);
return super.transferFrom(_from, _to, _value);
}
| /** @dev Send `_value` token to `_to` from `_from` on the condition
* that there are enough unlocked tokens in the `_from` account.
* @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 suc... | NatSpecMultiLine | v0.4.11+commit.68ef5810 | MIT | bzzr://03948e38ed78eebf2ed5559c6ffec973c873aa926c6ac850a409ac8b74310658 | {
"func_code_index": [
3402,
3636
]
} | 60,177 | ||
Coin | Coin.sol | 0x03ab458634910aad20ef5f1c8ee96f1d6ac54919 | Solidity | Coin | contract Coin {
// --- Auth ---
mapping (address => uint256) public authorizedAccounts;
function addAuthorization(address account) external isAuthorized {
authorizedAccounts[account] = 1;
emit AddAuthorization(account);
}
function removeAuthorization(address account) external ... | addition | function addition(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x + y) >= x, "Coin/add-overflow");
}
| // --- Math --- | LineComment | v0.6.7+commit.b8d736ae | None | ipfs://3e93c3b808fefa5dd934c8f51f6b8e1d53606b8a616f42dbc2790344b1c77c30 | {
"func_code_index": [
1310,
1454
]
} | 60,178 | ||
Coin | Coin.sol | 0x03ab458634910aad20ef5f1c8ee96f1d6ac54919 | Solidity | Coin | contract Coin {
// --- Auth ---
mapping (address => uint256) public authorizedAccounts;
function addAuthorization(address account) external isAuthorized {
authorizedAccounts[account] = 1;
emit AddAuthorization(account);
}
function removeAuthorization(address account) external ... | transfer | function transfer(address dst, uint256 amount) external returns (bool) {
return transferFrom(msg.sender, dst, amount);
}
| // --- Token --- | LineComment | v0.6.7+commit.b8d736ae | None | ipfs://3e93c3b808fefa5dd934c8f51f6b8e1d53606b8a616f42dbc2790344b1c77c30 | {
"func_code_index": [
2580,
2719
]
} | 60,179 | ||
Coin | Coin.sol | 0x03ab458634910aad20ef5f1c8ee96f1d6ac54919 | Solidity | Coin | contract Coin {
// --- Auth ---
mapping (address => uint256) public authorizedAccounts;
function addAuthorization(address account) external isAuthorized {
authorizedAccounts[account] = 1;
emit AddAuthorization(account);
}
function removeAuthorization(address account) external ... | push | function push(address usr, uint256 amount) external {
transferFrom(msg.sender, usr, amount);
}
| // --- Alias --- | LineComment | v0.6.7+commit.b8d736ae | None | ipfs://3e93c3b808fefa5dd934c8f51f6b8e1d53606b8a616f42dbc2790344b1c77c30 | {
"func_code_index": [
4534,
4647
]
} | 60,180 | ||
Coin | Coin.sol | 0x03ab458634910aad20ef5f1c8ee96f1d6ac54919 | Solidity | Coin | contract Coin {
// --- Auth ---
mapping (address => uint256) public authorizedAccounts;
function addAuthorization(address account) external isAuthorized {
authorizedAccounts[account] = 1;
emit AddAuthorization(account);
}
function removeAuthorization(address account) external ... | permit | function permit(
address holder,
address spender,
uint256 nonce,
uint256 expiry,
bool allowed,
uint8 v,
bytes32 r,
bytes32 s
) external
{
bytes32 digest =
keccak256(abi.encodePacked(
"\x19\x01",
DOMAIN_SEPARATOR,
keccak256(ab... | // --- Approve by signature --- | LineComment | v0.6.7+commit.b8d736ae | None | ipfs://3e93c3b808fefa5dd934c8f51f6b8e1d53606b8a616f42dbc2790344b1c77c30 | {
"func_code_index": [
4921,
6007
]
} | 60,181 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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);
/**... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | totalSupply | function totalSupply() external view returns (uint256);
| /**
* @dev Returns the amount of tokens in existence.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
94,
154
]
} | 60,182 |
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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);
/**... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | balanceOf | function balanceOf(address account) external view returns (uint256);
| /**
* @dev Returns the amount of tokens owned by `account`.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
237,
310
]
} | 60,183 |
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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);
/**... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
534,
616
]
} | 60,184 |
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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);
/**... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
895,
983
]
} | 60,185 |
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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);
/**... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
1647,
1726
]
} | 60,186 |
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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);
/**... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
2039,
2141
]
} | 60,187 |
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | Context | contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal view returns (addres... | _msgSender | function _msgSender() internal view returns (address payable) {
return msg.sender;
}
| // solhint-disable-previous-line no-empty-blocks | LineComment | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
265,
368
]
} | 60,188 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
251,
437
]
} | 60,189 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
707,
848
]
} | 60,190 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.
*
* _Available since v2.4.0._
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
1180,
1377
]
} | 60,191 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
1623,
2099
]
} | 60,192 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
2562,
2699
]
} | 60,193 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | div | function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
3224,
3574
]
} | 60,194 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
4026,
4161
]
} | 60,195 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | 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 (uint256... | 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
4675,
4846
]
} | 60,196 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | totalSupply | function totalSupply() public view returns (uint256) {
return _totalSupply;
}
| /**
* @dev See {IERC20-totalSupply}.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
299,
395
]
} | 60,197 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | balanceOf | function balanceOf(address account) public view returns (uint256) {
return _balances[account];
}
| /**
* @dev See {IERC20-balanceOf}.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
453,
568
]
} | 60,198 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | transfer | function transfer(address recipient, uint256 amount) public 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
776,
939
]
} | 60,199 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | allowance | function allowance(address owner, address spender) public view returns (uint256) {
return _allowances[owner][spender];
}
| /**
* @dev See {IERC20-allowance}.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
997,
1136
]
} | 60,200 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | approve | function approve(address spender, uint256 amount) public returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
| /**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
1278,
1435
]
} | 60,201 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | transferFrom | function transferFrom(address sender, address recipient, uint256 amount) public 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
1902,
2211
]
} | 60,202 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | increaseAllowance | function increaseAllowance(address spender, uint256 addedValue) public 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
2615,
2830
]
} | 60,203 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | decreaseAllowance | function decreaseAllowance(address spender, uint256 subtractedValue) public 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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
3328,
3594
]
} | 60,204 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | _transfer | function _transfer(address sender, address recipient, uint256 amount) internal {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exc... | /**
* @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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
4079,
4555
]
} | 60,205 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | _mint | function _mint(address account, uint256 amount) internal {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
| /** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements
*
* - `to` cannot be the zero address.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
4831,
5144
]
} | 60,206 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | _burn | function _burn(address account, uint256 amount) internal {
require(account != address(0), "ERC20: burn from the zero address");
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amo... | /**
* @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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
5471,
5824
]
} | 60,207 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | _approve | function _approve(address owner, address spender, uint256 amount) internal {
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, amount);
}
| /**
* @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.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
6259,
6602
]
} | 60,208 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20 | contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSup... | _burnFrom | function _burnFrom(address account, uint256 amount) internal {
_burn(account, amount);
_approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
}
| /**
* @dev Destroys `amount` tokens from `account`.`amount` is then deducted
* from the caller's allowance.
*
* See {_burn} and {_approve}.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
6783,
7020
]
} | 60,209 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20Burnable | contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public {
_burn(_msgSender(), amount);
}
/**
* @dev See {ERC20-_burnFrom}.
*/
function burnFrom(a... | burn | function burn(uint256 amount) public {
_burn(_msgSender(), amount);
}
| /**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
152,
240
]
} | 60,210 | ||
ArcirisToken | ArcirisToken.sol | 0x977691ef90cb28694c8c88b40a77dede6d365e1e | Solidity | ERC20Burnable | contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public {
_burn(_msgSender(), amount);
}
/**
* @dev See {ERC20-_burnFrom}.
*/
function burnFrom(a... | burnFrom | function burnFrom(address account, uint256 amount) public {
_burnFrom(account, amount);
}
| /**
* @dev See {ERC20-_burnFrom}.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | None | bzzr://5ae7ce645ddb79f000268d13fb3550c27bcc795e9cacffc55476832cbf7c93b5 | {
"func_code_index": [
297,
405
]
} | 60,211 | ||
SACoin | SACoin.sol | 0x343811cdb5228304dd895d3621511a2d331c9a47 | Solidity | SACoin | contract SACoin {
/* Public variables of the token */
string public standard = 'Token 0.1';
string public name;
string public symbol;
uint8 public decimals;
uint256 public initialSupply;
uint256 public totalSupply;
/* This creates an array with all balances */
mapping (add... | SACoin | function SACoin() {
initialSupply = 50000000;
name ="sacoin";
decimals = 0;
symbol = "S";
balanceOf[msg.sender] = initialSupply; // Give the creator all initial tokens
totalSupply = initialSupply; // Update total supply
... | /* Initializes contract with initial supply tokens to the creator of the contract */ | Comment | v0.4.24+commit.e67f0147 | bzzr://a25ac3c3fb07dbf5bb83e2a625a849b9cef0b84c0b11831eb30f4b1ddc238956 | {
"func_code_index": [
525,
898
]
} | 60,212 | |||
SACoin | SACoin.sol | 0x343811cdb5228304dd895d3621511a2d331c9a47 | Solidity | SACoin | contract SACoin {
/* Public variables of the token */
string public standard = 'Token 0.1';
string public name;
string public symbol;
uint8 public decimals;
uint256 public initialSupply;
uint256 public totalSupply;
/* This creates an array with all balances */
mapping (add... | transfer | function transfer(address _to, uint256 _value) {
if (balanceOf[msg.sender] < _value) throw; // Check if the sender has enough
if (balanceOf[_to] + _value < balanceOf[_to]) throw; // Check for overflows
balanceOf[msg.sender] -= _value; // Subtract from the sender
balance... | /* Send coins */ | Comment | v0.4.24+commit.e67f0147 | bzzr://a25ac3c3fb07dbf5bb83e2a625a849b9cef0b84c0b11831eb30f4b1ddc238956 | {
"func_code_index": [
923,
1357
]
} | 60,213 | |||
SACoin | SACoin.sol | 0x343811cdb5228304dd895d3621511a2d331c9a47 | Solidity | SACoin | contract SACoin {
/* Public variables of the token */
string public standard = 'Token 0.1';
string public name;
string public symbol;
uint8 public decimals;
uint256 public initialSupply;
uint256 public totalSupply;
/* This creates an array with all balances */
mapping (add... | function () {
throw; // Prevents accidental sending of ether
}
| /* This unnamed function is called whenever someone tries to send ether to it */ | Comment | v0.4.24+commit.e67f0147 | bzzr://a25ac3c3fb07dbf5bb83e2a625a849b9cef0b84c0b11831eb30f4b1ddc238956 | {
"func_code_index": [
1468,
1553
]
} | 60,214 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | Context | contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor() internal {}
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal view returns (address payab... | /*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
... | Comment | _msgSender | function _msgSender() internal view returns (address payable) {
return msg.sender;
}
| // solhint-disable-previous-line no-empty-blocks | LineComment | v0.5.0+commit.1d4f565a | {
"func_code_index": [
258,
358
]
} | 60,215 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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() public {
address msgSender ... | /**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to... | NatSpecMultiLine | owner | function owner() public view returns (address) {
return _owner;
}
| /**
* @dev Returns the address of the current owner.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
499,
580
]
} | 60,216 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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() public {
address msgSender ... | /**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to... | NatSpecMultiLine | isOwner | function isOwner() public view returns (bool) {
return _msgSender() == _owner;
}
| /**
* @dev Returns true if the caller is the current owner.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
850,
946
]
} | 60,217 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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() public {
address msgSender ... | /**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to... | NatSpecMultiLine | renounceOwnership | function renounceOwnership() public 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.5.0+commit.1d4f565a | {
"func_code_index": [
1284,
1425
]
} | 60,218 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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() public {
address msgSender ... | /**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to... | NatSpecMultiLine | transferOwnership | function transferOwnership(address newOwner) public onlyOwner {
_transferOwnership(newOwner);
}
| /**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1570,
1681
]
} | 60,219 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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() public {
address msgSender ... | /**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to... | NatSpecMultiLine | _transferOwnership | function _transferOwnership(address newOwner) internal {
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`).
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1778,
2041
]
} | 60,220 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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);
/**
* @de... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | totalSupply | function totalSupply() external view returns (uint256);
| /**
* @dev Returns the amount of tokens in existence.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
90,
149
]
} | 60,221 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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);
/**
* @de... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | balanceOf | function balanceOf(address account) external view returns (uint256);
| /**
* @dev Returns the amount of tokens owned by `account`.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
228,
300
]
} | 60,222 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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);
/**
* @de... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | {
"func_code_index": [
516,
613
]
} | 60,223 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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);
/**
* @de... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | {
"func_code_index": [
884,
995
]
} | 60,224 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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);
/**
* @de... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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
* tra... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1644,
1722
]
} | 60,225 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | 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);
/**
* @de... | /**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/ | NatSpecMultiLine | 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.5.0+commit.1d4f565a | {
"func_code_index": [
2025,
2156
]
} | 60,226 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | balanceOf | function balanceOf(address owner) external view returns (uint256 balance);
| /**
* @dev Returns the number of tokens in ``owner``'s account.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
779,
857
]
} | 60,227 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | ownerOf | function ownerOf(uint256 tokenId) external view returns (address owner);
| /**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
995,
1071
]
} | 60,228 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | safeTransferFrom | function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
| /**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist ... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1768,
1880
]
} | 60,229 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | transferFrom | function transferFrom(
address from,
address to,
uint256 tokenId
) external;
| /**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller i... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
2391,
2499
]
} | 60,230 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | approve | function approve(address to, uint256 tokenId) external;
| /**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be a... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
2958,
3017
]
} | 60,231 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | getApproved | function getApproved(uint256 tokenId)
external
view
returns (address operator);
| /**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
3163,
3270
]
} | 60,232 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | setApprovalForAll | function setApprovalForAll(address operator, bool _approved) external;
| /**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
3586,
3660
]
} | 60,233 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | isApprovedForAll | function isApprovedForAll(address owner, address operator)
external
view
returns (bool);
| /**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
3805,
3921
]
} | 60,234 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | safeTransferFrom | function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
| /**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
4484,
4625
]
} | 60,235 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC721 | interface IERC721 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token... | /**
* @dev Required interface of an ERC721 compliant contract.
*/ | NatSpecMultiLine | supportsInterface | function supportsInterface(bytes4 interfaceId) external view returns (bool);
| /**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
4972,
5052
]
} | 60,236 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155 | interface IERC1155 {
// Events
/**
* @dev Either TransferSingle or TransferBatch MUST emit when tokens are transferred, including zero amount transfers as well as minting or burning
* Operator MUST be msg.sender
* When minting/creating tokens, the `_from` field MUST be set to `0x0`
* ... | safeTransferFrom | function safeTransferFrom(
address _from,
address _to,
uint256 _id,
uint256 _amount,
bytes calldata _data
) external;
| /**
* @notice Transfers amount of an _id from the _from address to the _to address specified
* @dev MUST emit TransferSingle event on success
* Caller must be approved to manage the _from account's tokens (see isApprovedForAll)
* MUST throw if `_to` is the zero address
* MUST throw if balance of sender for token `... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
3311,
3476
]
} | 60,237 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155 | interface IERC1155 {
// Events
/**
* @dev Either TransferSingle or TransferBatch MUST emit when tokens are transferred, including zero amount transfers as well as minting or burning
* Operator MUST be msg.sender
* When minting/creating tokens, the `_from` field MUST be set to `0x0`
* ... | safeBatchTransferFrom | function safeBatchTransferFrom(
address _from,
address _to,
uint256[] calldata _ids,
uint256[] calldata _amounts,
bytes calldata _data
) external;
| /**
* @notice Send multiple types of Tokens from the _from address to the _to address (with safety call)
* @dev MUST emit TransferBatch event on success
* Caller must be approved to manage the _from account's tokens (see isApprovedForAll)
* MUST throw if `_to` is the zero address
* MUST throw if length of `_ids` i... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
4686,
4880
]
} | 60,238 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155 | interface IERC1155 {
// Events
/**
* @dev Either TransferSingle or TransferBatch MUST emit when tokens are transferred, including zero amount transfers as well as minting or burning
* Operator MUST be msg.sender
* When minting/creating tokens, the `_from` field MUST be set to `0x0`
* ... | balanceOf | function balanceOf(address _owner, uint256 _id)
external
view
returns (uint256);
| /**
* @notice Get the balance of an account's Tokens
* @param _owner The address of the token holder
* @param _id ID of the Token
* @return The _owner's balance of the Token type requested
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
5115,
5223
]
} | 60,239 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155 | interface IERC1155 {
// Events
/**
* @dev Either TransferSingle or TransferBatch MUST emit when tokens are transferred, including zero amount transfers as well as minting or burning
* Operator MUST be msg.sender
* When minting/creating tokens, the `_from` field MUST be set to `0x0`
* ... | balanceOfBatch | function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids)
external
view
returns (uint256[] memory);
| /**
* @notice Get the balance of multiple account/token pairs
* @param _owners The addresses of the token holders
* @param _ids ID of the Tokens
* @return The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair)
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
5513,
5659
]
} | 60,240 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155 | interface IERC1155 {
// Events
/**
* @dev Either TransferSingle or TransferBatch MUST emit when tokens are transferred, including zero amount transfers as well as minting or burning
* Operator MUST be msg.sender
* When minting/creating tokens, the `_from` field MUST be set to `0x0`
* ... | setApprovalForAll | function setApprovalForAll(address _operator, bool _approved) external;
| /**
* @notice Enable or disable approval for a third party ("operator") to manage all of caller's tokens
* @dev MUST emit the ApprovalForAll event on success
* @param _operator Address to add to the set of authorized operators
* @param _approved True if the operator is approved, false to revoke approval
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
6000,
6075
]
} | 60,241 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155 | interface IERC1155 {
// Events
/**
* @dev Either TransferSingle or TransferBatch MUST emit when tokens are transferred, including zero amount transfers as well as minting or burning
* Operator MUST be msg.sender
* When minting/creating tokens, the `_from` field MUST be set to `0x0`
* ... | isApprovedForAll | function isApprovedForAll(address _owner, address _operator)
external
view
returns (bool);
| /**
* @notice Queries the approval status of an operator for a given owner
* @param _owner The owner of the Tokens
* @param _operator Address of authorized operator
* @return True if the operator is approved, false if not
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
6346,
6464
]
} | 60,242 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | IERC1155Metadata | interface IERC1155Metadata {
/***********************************|
| Metadata Public Function s |
|__________________________________*/
/**
* @notice A distinct Uniform Resource Identifier (URI) for a given token.
* @dev URIs are defined in RFC 3986.
* URIs are assumed to be ... | uri | function uri(uint256 _id) external view returns (string memory);
| /**
* @notice A distinct Uniform Resource Identifier (URI) for a given token.
* @dev URIs are defined in RFC 3986.
* URIs are assumed to be deterministically generated based on token ID
* Token IDs are assumed to be represented in their hex format in URIs
* @return URI string
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
480,
548
]
} | 60,243 | ||||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | SafeMath | library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
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.
... | /**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/ | 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-solidity/pull/522
if (a == 0) {
return 0;
}
... | /**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
102,
553
]
} | 60,244 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | SafeMath | library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
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.
... | /**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/ | NatSpecMultiLine | div | function div(uint256 a, uint256 b) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, "SafeMath#div: DIVISION_BY_ZERO");
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
| /**
* @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
679,
1013
]
} | 60,245 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | SafeMath | library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
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.
... | /**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/ | NatSpecMultiLine | sub | function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath#sub: UNDERFLOW");
uint256 c = a - b;
return c;
}
| /**
* @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1142,
1318
]
} | 60,246 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | SafeMath | library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
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.
... | /**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/ | NatSpecMultiLine | add | function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath#add: OVERFLOW");
return c;
}
| /**
* @dev Adds two unsigned integers, reverts on overflow.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1397,
1572
]
} | 60,247 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | SafeMath | library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
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.
... | /**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/ | NatSpecMultiLine | mod | function mod(uint256 a, uint256 b) internal pure returns (uint256) {
require(b != 0, "SafeMath#mod: DIVISION_BY_ZERO");
return a % b;
}
| /**
* @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
* reverts when dividing by zero.
*/ | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
1723,
1882
]
} | 60,248 | ||
BondlySwap | BondlySwap.sol | 0xc337efd5a45f43623b40c86166ee800f0f906e2f | Solidity | Address | library Address {
/**
* Returns whether the target address is a contract
* @dev This function will return false if invoked during the constructor of a contract,
* as the code is not actually created until after the constructor finishes.
* @param account address of the account to check
* @re... | /**
* Utility library of inline functions on addresses
*/ | NatSpecMultiLine | isContract | function isContract(address account) internal view returns (bool) {
bytes32 codehash;
bytes32 accountHash =
0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// XXX Currently there is no better way to check if there is a contract in an address
// than to check the size of the... | /**
* Returns whether the target address is a contract
* @dev This function will return false if invoked during the constructor of a contract,
* as the code is not actually created until after the constructor finishes.
* @param account address of the account to check
* @return whether the target address is a contr... | NatSpecMultiLine | v0.5.0+commit.1d4f565a | {
"func_code_index": [
374,
1114
]
} | 60,249 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | totalSupply | function totalSupply() external view returns (uint256);
| /**
* @dev Returns the amount of tokens in existence.
*/ | NatSpecMultiLine | v0.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
96,
156
]
} | 60,250 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | decimals | function decimals() external view returns (uint8);
| /**
* @dev Returns the token decimals.
*/ | NatSpecMultiLine | v0.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
220,
275
]
} | 60,251 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | symbol | function symbol() external view returns (string memory);
| /**
* @dev Returns the token symbol.
*/ | NatSpecMultiLine | v0.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
337,
398
]
} | 60,252 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | name | function name() external view returns (string memory);
| /**
* @dev Returns the token name.
*/ | NatSpecMultiLine | v0.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
458,
517
]
} | 60,253 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | balanceOf | function balanceOf(address account) external view returns (uint256);
| /**
* @dev Returns the amount of tokens owned by `account`.
*/ | NatSpecMultiLine | v0.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
726,
799
]
} | 60,254 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | 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.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
1025,
1125
]
} | 60,255 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | 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.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
1406,
1522
]
} | 60,256 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | 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.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
2188,
2267
]
} | 60,257 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | Solidity | IBEP20 | interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token sym... | 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.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
2582,
2718
]
} | 60,258 | ||
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | 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 (uint2... | /**
* @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.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
253,
441
]
} | 60,259 |
BEP20Token | BEP20Token.sol | 0x19084e9c70ba084298cabd65835220b3d5fa864b | 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 (uint2... | /**
* @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.5.16+commit.9c3226ce | GNU LGPLv3 | bzzr://d3ef1be10e73049b47bffabaa83228bc94e0348ed36e2c7659345a0fd82dbe75 | {
"func_code_index": [
713,
854
]
} | 60,260 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.