Verified contractPartial
GiftCoin
Address0xe223b6d46985bbff84b228ba7d514bafa3fec444
- Balance
0 ETH
- Transactions
67
- Compiler
solc 0.4.24
- Same code
Only this contract
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 10,610,557
- Creation transaction
- 0x9e79cd4405…da5392427e
Read15
- name() → (string)
- totalSupply() → (uint256)
- getNonce(address) → (uint256)
- decimals() → (uint8)
- recoverPreSigned(bytes,bytes4,address,uint256,bytes,uint256) → (address)
- balanceOf(address) → (uint256)
- getPreSignedHash(bytes4,address,uint256,bytes,uint256) → (bytes32)
- owner() → (address)
- symbol() → (string)
- standardSigs(bytes4) → (bytes4)
- getSignHash(bytes32) → (bytes32)
- ecrecoverFromSig(bytes32,bytes) → (address)
- allowance(address,address) → (uint256)
- getRevokeHash(bytes) → (bytes32)
- recoverRevokeHash(bytes,bytes) → (address)
Write16
- approve(address,uint256) → (bool)
- transferFrom(address,address,uint256) → (bool)
- decreaseApproval(address,uint256) → (bool)
- approvePreSigned(bytes,address,uint256,bytes,uint256) → (bool)
- approveAndCallPreSigned(bytes,address,uint256,bytes,uint256) → (bool)
- decreaseApprovalPreSigned(bytes,address,uint256,bytes,uint256) → (bool)
- transfer(address,uint256) → (bool)
- increaseApprovalPreSigned(bytes,address,uint256,bytes,uint256) → (bool)
- updateStandard(bytes4,bytes4) → (bool)
- approveAndCall(address,uint256,bytes) → (bool)
- revokeSignaturePreSigned(bytes,bytes) → (bool)
- revokeSignature(bytes) → (bool)
- token_escape(address)
- transferPreSigned(bytes,address,uint256,bytes,uint256) → (bool)
- increaseApproval(address,uint256) → (bool)
- transferOwnership(address)
Events4
- Transfer(address,address,uint256)
- Approval(address,address,uint256)
- SignatureRedeemed(bytes,address)
- OwnershipTransferred(address,address)
ABI as JSON
[
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getNonce",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"outputs": [
{
"name": "nonce",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "decimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "recoverPreSigned",
"type": "function",
"inputs": [
{
"name": "_sig",
"type": "bytes"
},
{
"name": "_function",
"type": "bytes4"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "recovered",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "decreaseApproval",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "approvePreSigned",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getPreSignedHash",
"type": "function",
"inputs": [
{
"name": "_function",
"type": "bytes4"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "txHash",
"type": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "approveAndCallPreSigned",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "decreaseApprovalPreSigned",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "standardSigs",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bytes4"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transfer",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getSignHash",
"type": "function",
"inputs": [
{
"name": "_hash",
"type": "bytes32"
}
],
"outputs": [
{
"name": "signHash",
"type": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "increaseApprovalPreSigned",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "updateStandard",
"type": "function",
"inputs": [
{
"name": "_standardSig",
"type": "bytes4"
},
{
"name": "_ourSig",
"type": "bytes4"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "approveAndCall",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "revokeSignaturePreSigned",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_sigToRevoke",
"type": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "revokeSignature",
"type": "function",
"inputs": [
{
"name": "_sigToRevoke",
"type": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "token_escape",
"type": "function",
"inputs": [
{
"name": "_tokenContract",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "ecrecoverFromSig",
"type": "function",
"inputs": [
{
"name": "hash",
"type": "bytes32"
},
{
"name": "sig",
"type": "bytes"
}
],
"outputs": [
{
"name": "recoveredAddress",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "transferPreSigned",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
},
{
"name": "_nonce",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "increaseApproval",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "allowance",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_spender",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getRevokeHash",
"type": "function",
"inputs": [
{
"name": "_sigToRevoke",
"type": "bytes"
}
],
"outputs": [
{
"name": "txHash",
"type": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "recoverRevokeHash",
"type": "function",
"inputs": [
{
"name": "_signature",
"type": "bytes"
},
{
"name": "_sigToRevoke",
"type": "bytes"
}
],
"outputs": [
{
"name": "from",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "constructor",
"inputs": [],
"payable": false,
"stateMutability": "nonpayable"
},
{
"type": "fallback",
"payable": false,
"stateMutability": "nonpayable"
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true
},
{
"name": "to",
"type": "address",
"indexed": true
},
{
"name": "tokens",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true
},
{
"name": "spender",
"type": "address",
"indexed": true
},
{
"name": "tokens",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "SignatureRedeemed",
"type": "event",
"inputs": [
{
"name": "_sig",
"type": "bytes",
"indexed": false
},
{
"name": "from",
"type": "address",
"indexed": true
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true
},
{
"name": "newOwner",
"type": "address",
"indexed": true
}
],
"anonymous": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.