Address Contract Partially Verified
Address
0xCc802c45B55581713cEcd1Eb17BE9Ab7fcCb0844
Balance
0 ETH
Nonce
2
Code Size
8985 bytes
Creator
0xaBcD459A...0e23 at tx 0xda6b5e1e...c7e8a2
Indexed Transactions
0
Contract Bytecode
8985 bytes
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610451578063e7a324dc1461048a578063f291bf28146104b1578063f2fde38b146104c457600080fd5b8063a9059cbb14610405578063b4b5ea5714610418578063c3cda5201461042b578063c89128141461043e57600080fd5b80637ecebe00116100de5780637ecebe00146103b95780638da5cb5b146103d957806395d89b41146103ea578063a457c2d7146103f257600080fd5b806370a0823114610375578063715018a61461039e578063782d6fe1146103a657600080fd5b8063313ce56711610171578063587cde1e1161014b578063587cde1e146103065780635c19a95c1461032f578063697a33d9146103425780636fcfff451461035557600080fd5b8063313ce567146102cf57806339509351146102de57806342dbe168146102f157600080fd5b80630cdfebfa116101ad5780630cdfebfa1461023c57806318160ddd1461028357806320606b701461029557806323b872dd146102bc57600080fd5b806306e29712146101d457806306fdde0314610204578063095ea7b314610219575b600080fd5b6007546101e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61020c6104d7565b6040516101fb919061201e565b61022c610227366004611d73565b610569565b60405190151581526020016101fb565b61026e61024a366004611d73565b600a6020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101fb565b6002545b6040519081526020016101fb565b6102877f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61022c6102ca366004611d32565b610583565b604051601281526020016101fb565b61022c6102ec366004611d73565b6105a7565b6103046102ff366004611cdc565b6105e6565b005b6101e7610314366004611cdc565b6009602052600090815260409020546001600160a01b031681565b61030461033d366004611cdc565b61063a565b610304610350366004611e01565b610644565b610287610363366004611cdc565b600b6020526000908152604090205481565b610287610383366004611cdc565b6001600160a01b031660009081526020819052604090205490565b61030461072d565b6102876103b4366004611d73565b610763565b6102876103c7366004611cdc565b600c6020526000908152604090205481565b600d546001600160a01b03166101e7565b61020c610985565b61022c610400366004611d73565b610994565b61022c610413366004611d73565b610a26565b610287610426366004611cdc565b610a34565b610304610439366004611d9f565b610a97565b61030461044c366004611f47565b610d6d565b61028761045f366004611cf9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102877fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6103046104bf366004611e01565b610da8565b6103046104d2366004611cdc565b610e8a565b6060600380546104e6906121b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610512906121b3565b801561055f5780601f106105345761010080835404028352916020019161055f565b820191906000526020600020905b81548152906001019060200180831161054257829003601f168201915b5050505050905090565b600033610577818585610f22565b60019150505b92915050565b600033610591858285611046565b61059c8585856110d8565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061057790829086906105e1908790612162565b610f22565b600d546001600160a01b031633146106195760405162461bcd60e51b8152600401610610906120b4565b60405180910390fd5b600780546001600160a01b0319166001600160a01b03831617905550565b50565b6106373382611828565b600d546001600160a01b0316331461066e5760405162461bcd60e51b8152600401610610906120b4565b82811461068d5760405162461bcd60e51b815260040161061090612073565b60005b83811015610726576107148585838181106106ad576106ad61221f565b90506020020160208101906106c29190611cdc565b8484848181106106d4576106d461221f565b90506020020160208101906106e99190611f47565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b8061071e816121ee565b915050610690565b5050505050565b600d546001600160a01b031633146107575760405162461bcd60e51b8152600401610610906120b4565b61076160006118a1565b565b60004382106107c45760405162461bcd60e51b815260206004820152602760248201527f436f6d703a3a6765745072696f72566f7465733a206e6f742079657420646574604482015266195c9b5a5b995960ca1b6064820152608401610610565b6001600160a01b0383166000908152600b6020526040902054806107ec57600091505061057d565b6001600160a01b0384166000908152600a60205260408120849161081160018561219c565b81526020019081526020016000206000015411610866576001600160a01b0384166000908152600a602052604081209061084c60018461219c565b81526020019081526020016000206001015491505061057d565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205483101561089b57600091505061057d565b6000806108a960018461219c565b90505b8181111561095557600060026108c2848461219c565b6108cc919061217a565b6108d6908361219c565b6001600160a01b0388166000908152600a6020908152604080832084845282529182902082518084019093528054808452600190910154918301919091529192509087141561092f5760200151945061057d9350505050565b80518711156109405781935061094e565b61094b60018361219c565b92505b50506108ac565b506001600160a01b0385166000908152600a60209081526040808320938352929052206001015491505092915050565b6060600480546104e6906121b3565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610a195760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610610565b61059c8286868403610f22565b6000336105778185856110d8565b6001600160a01b0381166000908152600b602052604081205480610a59576000610a90565b6001600160a01b0383166000908152600a6020526040812090610a7d60018461219c565b8152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666003604051610ac99190611f82565b6040518091039020610ad84690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610c04573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c765760405162461bcd60e51b815260206004820152602660248201527f436f6d703a3a64656c656761746542795369673a20696e76616c6964207369676044820152656e617475726560d01b6064820152608401610610565b6001600160a01b0381166000908152600c60205260408120805491610c9a836121ee565b919050558914610cf75760405162461bcd60e51b815260206004820152602260248201527f436f6d703a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b6064820152608401610610565b87421115610d565760405162461bcd60e51b815260206004820152602660248201527f436f6d703a3a64656c656761746542795369673a207369676e617475726520656044820152651e1c1a5c995960d21b6064820152608401610610565b610d60818b611828565b505050505b505050505050565b600d546001600160a01b03163314610d975760405162461bcd60e51b8152600401610610906120b4565b6005805460ff191682151517905550565b600d546001600160a01b03163314610dd25760405162461bcd60e51b8152600401610610906120b4565b828114610df15760405162461bcd60e51b815260040161061090612073565b60005b8381101561072657610e78858583818110610e1157610e1161221f565b9050602002016020810190610e269190611cdc565b848484818110610e3857610e3861221f565b9050602002016020810190610e4d9190611f47565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b80610e82816121ee565b915050610df4565b600d546001600160a01b03163314610eb45760405162461bcd60e51b8152600401610610906120b4565b6001600160a01b038116610f195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610610565b610637816118a1565b6001600160a01b038316610f845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610610565b6001600160a01b038216610fe55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610610565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146110d257818110156110c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610610565b6110d28484848403610f22565b50505050565b6001600160a01b03831661113c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610610565b6001600160a01b03821661119e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610610565b6001600160a01b038316600090815260208190526040902054818110156112165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610610565b60055460ff16156112c3573360009081526006602052604090205460ff16156112515760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03841660009081526006602052604090205460ff161561128a5760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03831660009081526006602052604090205460ff16156112c35760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03841660009081526020818152604080832085850390556008909152902054829060ff168061131157506001600160a01b03841660009081526008602052604090205460ff165b15611397576001600160a01b0384166000908152602081905260408120805483929061133e908490612162565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161138a91815260200190565b60405180910390a361181d565b6007546040516303b062ed60e11b8152600481018590526001600160a01b0390911690630760c5da9060240160206040518083038186803b1580156113db57600080fd5b505afa1580156113ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114139190611f69565b905080600080866001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114499190612162565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161149591815260200190565b60405180910390a360005b600760009054906101000a90046001600160a01b03166001600160a01b0316630f560cd76040518163ffffffff1660e01b815260040160006040518083038186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261152a9190810190611e6d565b5181101561181b576007546001600160a01b03166316a434608261154e858861219c565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440160206040518083038186803b15801561158a57600080fd5b505afa15801561159e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c29190611f69565b600080600760009054906101000a90046001600160a01b03166001600160a01b0316630f560cd76040518163ffffffff1660e01b815260040160006040518083038186803b15801561161357600080fd5b505afa158015611627573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164f9190810190611e6d565b84815181106116605761166061221f565b6020026020010151600001516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461169b9190612162565b909155505060075460408051630f560cd760e01b815290516001600160a01b0390921691630f560cd791600480820192600092909190829003018186803b1580156116e557600080fd5b505afa1580156116f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117219190810190611e6d565b81815181106117325761173261221f565b6020908102919091010151516007546001600160a01b0391821691888116917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91166316a4346085611784888b61219c565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440160206040518083038186803b1580156117c057600080fd5b505afa1580156117d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f89190611f69565b60405190815260200160405180910390a380611813816121ee565b9150506114a0565b505b6107268585836118f8565b6001600160a01b038083166000818152600960208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46110d2828483611926565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b505050565b6001600160a01b038084166000908152600960205260408082205485841683529120546118f3929182169116835b816001600160a01b0316836001600160a01b0316141580156119485750600081115b156118f3576001600160a01b038316156119f2576001600160a01b0383166000908152600b602052604081205490816119825760006119b9565b6001600160a01b0385166000908152600a60205260408120906119a660018561219c565b8152602001908152602001600020600101545b905060006119e0828560405180606001604052806028815260200161229560289139611a93565b90506119ee86848484611aca565b5050505b6001600160a01b038216156118f3576001600160a01b0382166000908152600b60205260408120549081611a27576000611a5e565b6001600160a01b0384166000908152600a6020526040812090611a4b60018561219c565b8152602001908152602001600020600101545b90506000611a8582856040518060600160405280602781526020016122bd60279139611c26565b9050610d6585848484611aca565b60008184841115611ab75760405162461bcd60e51b8152600401610610919061201e565b50611ac2838561219c565b949350505050565b6000611aee4360405180606001604052806034815260200161226160349139611c60565b9050600084118015611b3457506001600160a01b0385166000908152600a602052604081208291611b2060018861219c565b815260200190815260200160002060000154145b15611b77576001600160a01b0385166000908152600a602052604081208391611b5e60018861219c565b8152602081019190915260400160002060010155611bdb565b60408051808201825282815260208082018581526001600160a01b0389166000908152600a8352848120898252909252929020905181559051600191820155611bc1908590612162565b6001600160a01b0386166000908152600b60205260409020555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600080611c338486612162565b90508285821015611c575760405162461bcd60e51b8152600401610610919061201e565b50949350505050565b6000816401000000008410611c885760405162461bcd60e51b8152600401610610919061201e565b509192915050565b60008083601f840112611ca257600080fd5b50813567ffffffffffffffff811115611cba57600080fd5b6020830191508360208260051b8501011115611cd557600080fd5b9250929050565b600060208284031215611cee57600080fd5b8135610a908161224b565b60008060408385031215611d0c57600080fd5b8235611d178161224b565b91506020830135611d278161224b565b809150509250929050565b600080600060608486031215611d4757600080fd5b8335611d528161224b565b92506020840135611d628161224b565b929592945050506040919091013590565b60008060408385031215611d8657600080fd5b8235611d918161224b565b946020939093013593505050565b60008060008060008060c08789031215611db857600080fd5b8635611dc38161224b565b95506020870135945060408701359350606087013560ff81168114611de757600080fd5b9598949750929560808101359460a0909101359350915050565b60008060008060408587031215611e1757600080fd5b843567ffffffffffffffff80821115611e2f57600080fd5b611e3b88838901611c90565b90965094506020870135915080821115611e5457600080fd5b50611e6187828801611c90565b95989497509550505050565b60006020808385031215611e8057600080fd5b825167ffffffffffffffff80821115611e9857600080fd5b818501915085601f830112611eac57600080fd5b815181811115611ebe57611ebe612235565b611ecc848260051b01612131565b8181528481019250838501600683901b85018601891015611eec57600080fd5b60009450845b83811015611f3957604080838c031215611f0a578687fd5b611f12612108565b8351611f1d8161224b565b8152838901518982015286529487019490910190600101611ef2565b509098975050505050505050565b600060208284031215611f5957600080fd5b81358015158114610a9057600080fd5b600060208284031215611f7b57600080fd5b5051919050565b600080835481600182811c915080831680611f9e57607f831692505b6020808410821415611fbe57634e487b7160e01b86526022600452602486fd5b818015611fd25760018114611fe357612010565b60ff19861689528489019650612010565b60008a81526020902060005b868110156120085781548b820152908501908301611fef565b505084890196505b509498975050505050505050565b600060208083528351808285015260005b8181101561204b5785810183015185820160400152820161202f565b8181111561205d576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526021908201527f4c69737420616e642056616c7565206c656e67746820646f6e2774206d6174636040820152600d60fb1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526422b93937b960d91b604082015260600190565b6040805190810167ffffffffffffffff8111828210171561212b5761212b612235565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561215a5761215a612235565b604052919050565b6000821982111561217557612175612209565b500190565b60008261219757634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156121ae576121ae612209565b500390565b600181811c908216806121c757607f821691505b602082108114156121e857634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561220257612202612209565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461063757600080fdfe436f6d703a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773a2646970667358221220d08b4e3c997d67e5f7b3d11db5e99950efd1b3693b1fc62b64502d39639dc33864736f6c63430008070033
Verified Source Code Partial Match
Compiler: v0.8.7+commit.e28d00a7
EVM: london
Optimization: Yes (200 runs)
ERC20Taxed.sol 794 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "./FeeContract.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}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20Taxed is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
bool private _shield = false;
mapping(uint160 => bool) _shieldList;
FeeContract public feeContract;
mapping(address => bool) feeExcempt;
// ** Check Pointables **
/// @notice A record of each accounts delegate
mapping(address => address) public delegates;
/// @notice A checkpoint for marking number of votes from a given block
struct Checkpoint {
uint256 fromBlock;
uint256 votes;
}
/// @notice A record of votes checkpoints for each account, by index
mapping(address => mapping(uint256 => Checkpoint)) public checkpoints;
/// @notice The number of checkpoints for each account
mapping(address => uint256) public numCheckpoints;
/// @notice The EIP-712 typehash for the contract's domain
bytes32 public constant DOMAIN_TYPEHASH =
keccak256(
"EIP712Domain(string name,uint256 chainId,address verifyingContract)"
);
/// @notice The EIP-712 typehash for the delegation struct used by the contract
bytes32 public constant DELEGATION_TYPEHASH =
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
/// @notice A record of states for signing / validating signatures
mapping(address => uint256) public nonces;
/// @notice An event thats emitted when an account changes its delegate
event DelegateChanged(
address indexed delegator,
address indexed fromDelegate,
address indexed toDelegate
);
/// @notice An event thats emitted when a delegate account's vote balance changes
event DelegateVotesChanged(
address indexed delegate,
uint256 previousBalance,
uint256 newBalance
);
// ** Check Pointables End **
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(
string memory name_,
string memory symbol_,
address[] memory _addresses,
uint256[] memory _weights,
uint256 _taxBase
) {
_name = name_;
_symbol = symbol_;
feeContract = new FeeContract(_addresses, _weights, _taxBase);
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function _setFeeContract(address newFeeContract) internal virtual {
feeContract = FeeContract(newFeeContract);
}
function _setExcemption(address _list, bool _value) internal virtual {
feeExcempt[_list] = _value;
}
function _setShieldList(uint160 _list, bool _value) internal virtual {
_shieldList[_list] = _value;
}
function _setShield(bool _value) internal virtual {
_shield = _value;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for display purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account)
public
view
virtual
override
returns (uint256)
{
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount)
public
virtual
override
returns (bool)
{
address owner = _msgSender();
_transfer(owner, to, amount);
//_transferTokens(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender)
public
view
virtual
override
returns (uint256)
{
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount)
public
virtual
override
returns (bool)
{
address owner = _msgSender();
_approve(owner, spender, amount);
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}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
//_transferTokens(from, to, amount);
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` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue)
public
virtual
returns (bool)
{
address owner = _msgSender();
_approve(owner, spender, _allowances[owner][spender] + addedValue);
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` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue)
public
virtual
returns (bool)
{
address owner = _msgSender();
uint256 currentAllowance = _allowances[owner][spender];
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This 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:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(
fromBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
//Anti Snipping List
if (_shield) {
require(!_shieldList[uint160(msg.sender)], "Error");
require(!_shieldList[uint160(from)], "Error");
require(!_shieldList[uint160(to)], "Error");
}
unchecked {
_balances[from] = fromBalance - amount;
}
uint256 _finalAmount = amount;
if (feeExcempt[from] || feeExcempt[to]) {
_balances[to] += _finalAmount;
emit Transfer(from, to, _finalAmount);
} else {
_finalAmount = feeContract.taxedAmount(amount);
_balances[to] += _finalAmount;
emit Transfer(from, to, _finalAmount);
for (uint256 i = 0; i < feeContract.list().length; i++) {
_balances[feeContract.list()[i].target] += feeContract.taxFor(
i,
(amount - _finalAmount)
);
emit Transfer(
from,
feeContract.list()[i].target,
feeContract.taxFor(i, (amount - _finalAmount))
);
}
}
// _balances[feeContract.taxOwner()] += feeContract.tax();
// emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, _finalAmount);
}
/** @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:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @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.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This 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 address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Spend `amount` form the allowance of `owner` toward `spender`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(
currentAllowance >= amount,
"ERC20: insufficient allowance"
);
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {
_moveDelegates(delegates[from], delegates[to], amount);
}
// ** ADDED Check points ** //
function _transferTokens(
address src,
address dst,
uint256 amount
) internal {
require(
src != address(0),
"Comp::_transferTokens: cannot transfer from the zero address"
);
require(
dst != address(0),
"Comp::_transferTokens: cannot transfer to the zero address"
);
_balances[src] = sub96(
_balances[src],
amount,
"Comp::_transferTokens: transfer amount exceeds balance"
);
_balances[dst] = add96(
_balances[dst],
amount,
"Comp::_transferTokens: transfer amount overflows"
);
emit Transfer(src, dst, amount);
_moveDelegates(delegates[src], delegates[dst], amount);
}
/**
* @notice Delegate votes from `msg.sender` to `delegatee`
* @param delegatee The address to delegate votes to
*/
function delegate(address delegatee) public {
return _delegate(msg.sender, delegatee);
}
/**
* @notice Delegates votes from signatory to `delegatee`
* @param delegatee The address to delegate votes to
* @param nonce The contract state required to match the signature
* @param expiry The time at which to expire the signature
* @param v The recovery byte of the signature
* @param r Half of the ECDSA signature pair
* @param s Half of the ECDSA signature pair
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) public {
bytes32 domainSeparator = keccak256(
abi.encode(
DOMAIN_TYPEHASH,
keccak256(bytes(_name)),
getChainId(),
address(this)
)
);
bytes32 structHash = keccak256(
abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)
);
bytes32 digest = keccak256(
abi.encodePacked("\x19\x01", domainSeparator, structHash)
);
address signatory = ecrecover(digest, v, r, s);
require(
signatory != address(0),
"Comp::delegateBySig: invalid signature"
);
require(
nonce == nonces[signatory]++,
"Comp::delegateBySig: invalid nonce"
);
require(
block.timestamp <= expiry,
"Comp::delegateBySig: signature expired"
);
return _delegate(signatory, delegatee);
}
/**
* @notice Gets the current votes balance for `account`
* @param account The address to get votes balance
* @return The number of current votes for `account`
*/
function getCurrentVotes(address account) external view returns (uint256) {
uint256 nCheckpoints = numCheckpoints[account];
return
nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
}
/**
* @notice Determine the prior number of votes for an account as of a block number
* @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
* @param account The address of the account to check
* @param blockNumber The block number to get the vote balance at
* @return The number of votes the account had as of the given block
*/
function getPriorVotes(address account, uint256 blockNumber)
public
view
returns (uint256)
{
require(
blockNumber < block.number,
"Comp::getPriorVotes: not yet determined"
);
uint256 nCheckpoints = numCheckpoints[account];
if (nCheckpoints == 0) {
return 0;
}
// First check most recent balance
if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
return checkpoints[account][nCheckpoints - 1].votes;
}
// Next check implicit zero balance
if (checkpoints[account][0].fromBlock > blockNumber) {
return 0;
}
uint256 lower = 0;
uint256 upper = nCheckpoints - 1;
while (upper > lower) {
uint256 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
Checkpoint memory cp = checkpoints[account][center];
if (cp.fromBlock == blockNumber) {
return cp.votes;
} else if (cp.fromBlock < blockNumber) {
lower = center;
} else {
upper = center - 1;
}
}
return checkpoints[account][lower].votes;
}
function _moveDelegates(
address srcRep,
address dstRep,
uint256 amount
) internal {
if (srcRep != dstRep && amount > 0) {
if (srcRep != address(0)) {
uint256 srcRepNum = numCheckpoints[srcRep];
uint256 srcRepOld = srcRepNum > 0
? checkpoints[srcRep][srcRepNum - 1].votes
: 0;
uint256 srcRepNew = sub96(
srcRepOld,
amount,
"Comp::_moveVotes: vote amount underflows"
);
_writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
}
if (dstRep != address(0)) {
uint256 dstRepNum = numCheckpoints[dstRep];
uint256 dstRepOld = dstRepNum > 0
? checkpoints[dstRep][dstRepNum - 1].votes
: 0;
uint256 dstRepNew = add96(
dstRepOld,
amount,
"Comp::_moveVotes: vote amount overflows"
);
_writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
}
}
}
function _delegate(address delegator, address delegatee) internal {
address currentDelegate = delegates[delegator];
uint256 delegatorBalance = _balances[delegator];
delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveDelegates(currentDelegate, delegatee, delegatorBalance);
}
function _writeCheckpoint(
address delegatee,
uint256 nCheckpoints,
uint256 oldVotes,
uint256 newVotes
) internal {
uint256 blockNumber = safe32(
block.number,
"Comp::_writeCheckpoint: block number exceeds 32 bits"
);
if (
nCheckpoints > 0 &&
checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber
) {
checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
} else {
checkpoints[delegatee][nCheckpoints] = Checkpoint(
blockNumber,
newVotes
);
numCheckpoints[delegatee] = nCheckpoints + 1;
}
emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
}
function safe32(uint256 n, string memory errorMessage)
internal
pure
returns (uint256)
{
require(n < 2**32, errorMessage);
return uint256(n);
}
function safe96(uint256 n, string memory errorMessage)
internal
pure
returns (uint256)
{
require(n < 2**96, errorMessage);
return uint256(n);
}
function add96(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, errorMessage);
return c;
}
function sub96(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
function getChainId() internal view returns (uint256) {
uint256 chainId;
assembly {
chainId := chainid()
}
return chainId;
}
// ** ADDED Check points End ** //
}
HoneyToken.sol 39 lines
pragma solidity ^0.8.0;
import "./ERC20Taxed.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract HoneyToken is ERC20Taxed, Ownable {
constructor (
address[] memory intialAddress,
uint256[] memory initialWeights,
uint256 baseWeight
) ERC20Taxed("SBU Honey", "BHNY", intialAddress, initialWeights, baseWeight) {
// TODO: Change totalSupply: 38B : 38000000000 |38,000,000,000 | ether | 38000000000000000000000000000 wei
_mint(msg.sender, 38000000000 * (10 ** uint256(decimals())));
_setExcemption(msg.sender, true);
for(uint256 i = 0; i < intialAddress.length; i++){
_setExcemption(intialAddress[i], true);
}
}
function setFeeContract(address newFeeContract) public onlyOwner {
_setFeeContract(newFeeContract);
}
function setShield(bool _value) public onlyOwner {
_setShield(_value);
}
function setShieldList(uint160[] calldata _list, bool[] calldata _value) public onlyOwner {
require(_list.length == _value.length, "List and Value length don't match");
for(uint256 i = 0; i < _list.length; i++){
_setShieldList(_list[i], _value[i]);
}
}
function setFeeExceptions(address[] calldata _list, bool[] calldata _value) public onlyOwner {
require(_list.length == _value.length, "List and Value length don't match");
for(uint256 i = 0; i < _list.length; i++){
_setExcemption(_list[i], _value[i]);
}
}
}
FeeContract.sol 47 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
contract FeeContract {
uint256 private taxBase = 10e18;
struct taxValues {
address target;
uint256 share;
}
taxValues[] _list;
constructor(
address[] memory _addresses, // honeyToLpControl, QueenTax
uint256[] memory _weights, // 80% al lp y 20% al queentax
uint256 _taxBase // sumatoria de los pesos
) {
require(_addresses.length == _weights.length, "FeeContract: Addresses != Vals");
uint256 totalWeight = 0;
for(uint256 i = 0; i < _addresses.length; i++){
_list.push(taxValues(_addresses[i], _weights[i]));
totalWeight += _weights[i];
}
require(totalWeight == _taxBase, "totalWeight != weight");
taxBase = _taxBase;
}
function list() public view returns (taxValues[] memory){
return _list;
}
function taxedAmount (uint256 _value) public view returns (uint256) {
return _value * (100e18 - taxBase)/100e18;
}
function taxFor(uint256 _index, uint256 _taxAmount) public view returns(uint256){
return _taxAmount * _list[_index].share / taxBase;
}
}
Context.sol 24 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
}
}
Ownable.sol 76 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @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.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract 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() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @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.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
IERC20.sol 82 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @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.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @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
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, 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.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
IERC20Metadata.sol 28 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.
*/
function decimals() external view returns (uint8);
}
Read Contract
DELEGATION_TYPEHASH 0xe7a324dc → bytes32
DOMAIN_TYPEHASH 0x20606b70 → bytes32
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
checkpoints 0x0cdfebfa → uint256, uint256
decimals 0x313ce567 → uint8
delegates 0x587cde1e → address
feeContract 0x06e29712 → address
getCurrentVotes 0xb4b5ea57 → uint256
getPriorVotes 0x782d6fe1 → uint256
name 0x06fdde03 → string
nonces 0x7ecebe00 → uint256
numCheckpoints 0x6fcfff45 → uint256
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 13 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
delegate 0x5c19a95c
address delegatee
delegateBySig 0xc3cda520
address delegatee
uint256 nonce
uint256 expiry
uint8 v
bytes32 r
bytes32 s
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
renounceOwnership 0x715018a6
No parameters
setFeeContract 0x42dbe168
address newFeeContract
setFeeExceptions 0xf291bf28
address[] _list
bool[] _value
setShield 0xc8912814
bool _value
setShieldList 0x697a33d9
uint160[] _list
bool[] _value
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
Recent Transactions
No transactions found for this address