Verified contractPartial
Currency
Address0xa2e3680acaf5d2298697bdc016cf75a929385463
- Balance
0.0001 ETH
- Transactions
13
- Compiler
solc 0.8.17
- Same code
Only this contract
Details
- Compiler
- solc 0.8.17+commit.8df45f5f
- Language
- yul
- Optimization
- No
- EVM version
- london
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 530,996
- Creation transaction
- 0xd69379d4b9…565eb0a8d2
Currency.yul
// Submitted by EthereumHistory (ethereumhistory.com)
//
// 0xa2e3680ACaF5D2298697bdc016cf75a929385463 - 1600 byte Serpent-compiled token.
//
// Implements the pre-ERC-20 "standardized contract API" coin interface:
// sendCoin(uint256,address) -> 0xc86a90fe
// sendCoinFrom(address,uint256,address) -> 0x67eae672
// coinBalance() -> 0xd26c8a8a
// coinBalanceOf(address) -> 0xbbd39ac0
// approve(address) -> 0xdaea85c5
// isApproved(address) -> 0x673448dd
// approveOnce(address,uint256) -> 0x930b7a23
// isApprovedOnceFor(address,address) -> 0x181670e6
// disapprove(address) -> 0x15770d99
// event CoinSent(address,uint256,address) -> a9ba2cff...
//
// Balances and allowances live in hashed storage slots built with Serpent's
// sha3-of-a-memory-array idiom, which is why every accessor repeats the
// 5990590160009052 allocate-and-hash preamble. Transfers are guarded by a
// signed balance check and a 2**120 overflow ceiling.
//
// The contract was written in Serpent, which no verification registry accepts
// as a compiler and which emits no metadata trailer. The deployed runtime is
// therefore reproduced here byte for byte with Yul verbatim, so the published
// source compiles to exactly the 1600 bytes that are on chain.
object "Currency" {
code {
datacopy(0, dataoffset("Currency_deployed"), datasize("Currency_deployed"))
return(0, datasize("Currency_deployed"))
}
object "Currency_deployed" {
code {
verbatim_0i_0o(hex"600061051f537c01000000000000000000000000000000000000000000000000000000006000350463c86a90fe81141561019b57365990590160009052366004823760043560605260243560805250606051606060605990590160009052600081523381602001526000816040015280905020541215156100865760006060511215610089565b60005b156100a957700100000000000000000000000000000000606051126100ac565b60005b1561018e5760605160606060599059016000905260008152338160200152600081604001528090502054036060606059905901600090526000815233816020015260008160400152809050205560605160606060599059016000905260008152608051816020015260008160400152809050205401606060605990590160009052600081526080518160200152600081604001528090502055601c60405990590160009052016060518152608051337fa9ba2cffdaa9586597138c75c9ed44a43a3d45760a05b942dd6db22f58c8690c602084a3506001610160526020610160f35b6000610180526020610180f35b6367eae6728114156103c15736599059016000905236600482376004356101a05260243560605260443560805250608060805990590160009052600081526101a05181602001526001816040015233816060015280905020546101c052606051606060605990590160009052600081526101a0518160200152600081604001528090502054121515610235576060516101c0511215610238565b60005b15610249576000606051121561024c565b60005b1561026c577001000000000000000000000000000000006060511261026f565b60005b156103b457606051608060805990590160009052600081526101a051816020015260018160400152338160600152809050205403608060805990590160009052600081526101a0518160200152600181604001523381606001528090502055606051606060605990590160009052600081526101a051816020015260008160400152809050205403606060605990590160009052600081526101a051816020015260008160400152809050205560605160606060599059016000905260008152608051816020015260008160400152809050205401606060605990590160009052600081526080518160200152600081604001528090502055601c604059905901600090520160605181526080516101a0517fa9ba2cffdaa9586597138c75c9ed44a43a3d45760a05b942dd6db22f58c8690c602084a35060016102e05260206102e0f35b6000610300526020610300f35b63d26c8a8a8114156103fa5760606060599059016000905260008152338160200152600081604001528090502054610320526020610320f35b63bbd39ac081141561044c573659905901600090523660048237600435610360525060606060599059016000905260008152610360518160200152600081604001528090502054610380526020610380f35b63daea85c58114156104ac5736599059016000905236600482376004356103605250700100000000000000000000000000000000608060805990590160009052600081523381602001526001816040015261036051816060015280905020555b63673448dd8114156105075736599059016000905236600482376004356103e05250600060806080599059016000905260008152338160200152600181604001526103e0518160600152809050205413610400526020610400f35b63930b7a2381141561058c573659905901600090523660048237600435610360526024356104405250610440516080608059905901600090526000815233816020015260018160400152610360518160600152809050205401608060805990590160009052600081523381602001526001816040015261036051816060015280905020555b63181670e68114156105ee5736599059016000905236600482376004356104a0526024356103e05250608060805990590160009052600081526104a0518160200152600181604001526103e051816060015280905020546104c05260206104c0f35b6315770d9981141561063e57365990590160009052366004823760043561036052506000608060805990590160009052600081523381602001526001816040015261036051816060015280905020555b50")
}
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "london"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.