Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Liquid staking
Overview
Max Total Supply
10,000,000,000 SWELL
Holders
45,223 ( 0.033%)
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$263,375,800.00
Circulating Supply Market Cap
$47,984,463.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.00000000000042088 SWELLValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
SwellToken
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011// SPDX-License-Identifier: UNLICENSEDpragma solidity 0.8.23;import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";/// SWELL ERC20 contractcontract SwellToken is ERC20 {constructor(address _receiver, uint256 _totalSupply) ERC20("Swell Governance Token", "SWELL") {_mint(_receiver, _totalSupply);}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)pragma solidity ^0.8.0;import "./IERC20.sol";import "./extensions/IERC20Metadata.sol";import "../../utils/Context.sol";/*** @dev Implementation of the {IERC20} interface.** This implementation is agnostic to the way tokens are created. This means* that a supply mechanism has to be added in a derived contract using {_mint}.* For a generic mechanism see {ERC20PresetMinterPauser}.** TIP: For a detailed writeup see our guide* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How* to implement supply mechanisms].** We have followed general OpenZeppelin Contracts guidelines: functions revert* instead returning `false` on failure. This behavior is nonetheless* conventional and does not conflict with the expectations of ERC20* applications.** Additionally, an {Approval} event is emitted on calls to {transferFrom}.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/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 Moves `amount` tokens from the caller's account to `recipient`.** Returns a boolean value indicating whether the operation succeeded.** Emits a {Transfer} event.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)pragma solidity ^0.8.0;import "../IERC20.sol";/*** @dev Interface for the optional metadata functions from the ERC20 standard.** _Available since v4.1._*/interface IERC20Metadata is IERC20 {/*** @dev Returns the name of the token.*/function name() external view returns (string memory);/*** @dev Returns the symbol of the token.*/function symbol() external view returns (string memory);/*** @dev Returns the decimals places of the token.*/
123456789101112131415161718192021222324// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)pragma solidity ^0.8.0;/*** @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 meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}}
1234567891011121314151617181920212223242526{"remappings": ["forge-std/=lib/forge-std/src/","ds-test/=lib/forge-std/lib/ds-test/src/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts-v5/=lib/openzeppelin-contracts-v5/contracts/"],"optimizer": {"enabled": true,"runs": 200},"metadata": {"useLiteralContent": false,"bytecodeHash": "ipfs","appendCBOR": true},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060405162000c1b38038062000c1b8339810160408190526200003391620001ae565b6040518060400160405280601681526020017f5377656c6c20476f7665726e616e636520546f6b656e000000000000000000008152506040518060400160405280600581526020016414d5d1531360da1b815250816003908162000098919062000284565b506004620000a7828262000284565b505050620000bc8282620000c460201b60201c565b505062000376565b6001600160a01b0382166200011f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f82825462000132919062000350565b90915550506001600160a01b0382165f90815260208190526040812080548392906200016090849062000350565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b5f8060408385031215620001c0575f80fd5b82516001600160a01b0381168114620001d7575f80fd5b6020939093015192949293505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200021057607f821691505b6020821081036200022f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001a957805f5260205f20601f840160051c810160208510156200025c5750805b601f840160051c820191505b818110156200027d575f815560010162000268565b5050505050565b81516001600160401b03811115620002a057620002a0620001e7565b620002b881620002b18454620001fb565b8462000235565b602080601f831160018114620002ee575f8415620002d65750858301515b5f19600386901b1c1916600185901b17855562000348565b5f85815260208120601f198616915b828110156200031e57888601518255948401946001909101908401620002fd565b50858210156200033c57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b808201808211156200037057634e487b7160e01b5f52601160045260245ffd5b92915050565b61089780620003845f395ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c8063395093511161006e578063395093511461011f57806370a082311461013257806395d89b411461015a578063a457c2d714610162578063a9059cbb14610175578063dd62ed3e14610188575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd146100fd578063313ce56714610110575b5f80fd5b6100b26101c0565b6040516100bf91906106f1565b60405180910390f35b6100db6100d6366004610758565b610250565b60405190151581526020016100bf565b6002545b6040519081526020016100bf565b6100db61010b366004610780565b610266565b604051601281526020016100bf565b6100db61012d366004610758565b610313565b6100ef6101403660046107b9565b6001600160a01b03165f9081526020819052604090205490565b6100b261034e565b6100db610170366004610758565b61035d565b6100db610183366004610758565b6103f5565b6100ef6101963660046107d9565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101cf9061080a565b80601f01602080910402602001604051908101604052809291908181526020018280546101fb9061080a565b80156102465780601f1061021d57610100808354040283529160200191610246565b820191905f5260205f20905b81548152906001019060200180831161022957829003601f168201915b5050505050905090565b5f61025c338484610401565b5060015b92915050565b5f610272848484610524565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156102fb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103088533858403610401565b506001949350505050565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161025c918590610349908690610842565b610401565b6060600480546101cf9061080a565b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156103de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016102f2565b6103eb3385858403610401565b5060019392505050565b5f61025c338484610524565b6001600160a01b0383166104635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016102f2565b6001600160a01b0382166104c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016102f2565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166105885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016102f2565b6001600160a01b0382166105ea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016102f2565b6001600160a01b0383165f90815260208190526040902054818110156106615760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016102f2565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290610697908490610842565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106e391815260200190565b60405180910390a350505050565b5f602080835283518060208501525f5b8181101561071d57858101830151858201604001528201610701565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610753575f80fd5b919050565b5f8060408385031215610769575f80fd5b6107728361073d565b946020939093013593505050565b5f805f60608486031215610792575f80fd5b61079b8461073d565b92506107a96020850161073d565b9150604084013590509250925092565b5f602082840312156107c9575f80fd5b6107d28261073d565b9392505050565b5f80604083850312156107ea575f80fd5b6107f38361073d565b91506108016020840161073d565b90509250929050565b600181811c9082168061081e57607f821691505b60208210810361083c57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561026057634e487b7160e01b5f52601160045260245ffdfea2646970667358221220abe7b0e20f9223405898bdb9a6ec33cd5f895210e923833a75cf1ad865c7e31464736f6c63430008170033000000000000000000000000db997927831718f3adda8bade4f58e7d237902d60000000000000000000000000000000000000000204fce5e3e25026110000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100a6575f3560e01c8063395093511161006e578063395093511461011f57806370a082311461013257806395d89b411461015a578063a457c2d714610162578063a9059cbb14610175578063dd62ed3e14610188575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd146100fd578063313ce56714610110575b5f80fd5b6100b26101c0565b6040516100bf91906106f1565b60405180910390f35b6100db6100d6366004610758565b610250565b60405190151581526020016100bf565b6002545b6040519081526020016100bf565b6100db61010b366004610780565b610266565b604051601281526020016100bf565b6100db61012d366004610758565b610313565b6100ef6101403660046107b9565b6001600160a01b03165f9081526020819052604090205490565b6100b261034e565b6100db610170366004610758565b61035d565b6100db610183366004610758565b6103f5565b6100ef6101963660046107d9565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101cf9061080a565b80601f01602080910402602001604051908101604052809291908181526020018280546101fb9061080a565b80156102465780601f1061021d57610100808354040283529160200191610246565b820191905f5260205f20905b81548152906001019060200180831161022957829003601f168201915b5050505050905090565b5f61025c338484610401565b5060015b92915050565b5f610272848484610524565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156102fb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103088533858403610401565b506001949350505050565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161025c918590610349908690610842565b610401565b6060600480546101cf9061080a565b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156103de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016102f2565b6103eb3385858403610401565b5060019392505050565b5f61025c338484610524565b6001600160a01b0383166104635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016102f2565b6001600160a01b0382166104c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016102f2565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166105885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016102f2565b6001600160a01b0382166105ea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016102f2565b6001600160a01b0383165f90815260208190526040902054818110156106615760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016102f2565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290610697908490610842565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106e391815260200190565b60405180910390a350505050565b5f602080835283518060208501525f5b8181101561071d57858101830151858201604001528201610701565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610753575f80fd5b919050565b5f8060408385031215610769575f80fd5b6107728361073d565b946020939093013593505050565b5f805f60608486031215610792575f80fd5b61079b8461073d565b92506107a96020850161073d565b9150604084013590509250925092565b5f602082840312156107c9575f80fd5b6107d28261073d565b9392505050565b5f80604083850312156107ea575f80fd5b6107f38361073d565b91506108016020840161073d565b90509250929050565b600181811c9082168061081e57607f821691505b60208210810361083c57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561026057634e487b7160e01b5f52601160045260245ffdfea2646970667358221220abe7b0e20f9223405898bdb9a6ec33cd5f895210e923833a75cf1ad865c7e31464736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000db997927831718f3adda8bade4f58e7d237902d60000000000000000000000000000000000000000204fce5e3e25026110000000
-----Decoded View---------------
Arg [0] : _receiver (address): 0xDB997927831718f3addA8BADe4f58E7D237902D6
Arg [1] : _totalSupply (uint256): 10000000000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000db997927831718f3adda8bade4f58e7d237902d6
Arg [1] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.