ETH Price: $2,518.12 (+1.09%)

Contract

0x22C91cDd1E00cD4d7D029f0dB94020Fce3C486e3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040112824822020-11-18 14:29:481439 days ago1605709788IN
 Create: TENSFeeApproverPermanent
0 ETH0.0092164459.00000145

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TENSFeeApproverPermanent

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-11-18
*/

// SPDX-License-Identifier: reeeeeeeeeeee
pragma solidity ^0.6.0;

contract TENSFeeApproverPermanent {
    address public tokenETHPair;
    constructor() public {
            tokenETHPair = 0xB1b537B7272BA1EDa0086e2f480AdCA72c0B511C;
    }

    function calculateAmountsAfterFee(
        address sender,
        address recipient,
        uint256 amount
        ) public  returns (uint256 transferToAmount, uint256 transferToFeeDistributorAmount, uint256 burnAmt)
        {

            // Will block all buys and liquidity removals
            if(sender == tokenETHPair || recipient == tokenETHPair) {
                // This is how a legend dies
                require(false, "TENS is depricated.");
            }

            // No fees 
            // school is out
            transferToAmount = amount;
        
        }


}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateAmountsAfterFee","outputs":[{"internalType":"uint256","name":"transferToAmount","type":"uint256"},{"internalType":"uint256","name":"transferToFeeDistributorAmount","type":"uint256"},{"internalType":"uint256","name":"burnAmt","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenETHPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b03191673b1b537b7272ba1eda0086e2f480adca72c0b511c179055610179806100466000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630484c7281461003b578063301a58011461005f575b600080fd5b6100436100b3565b604080516001600160a01b039092168252519081900360200190f35b6100956004803603606081101561007557600080fd5b506001600160a01b038135811691602081013590911690604001356100c2565b60408051938452602084019290925282820152519081900360600190f35b6000546001600160a01b031681565b60008054819081906001600160a01b03878116911614806100f057506000546001600160a01b038681169116145b15610138576040805162461bcd60e51b81526020600482015260136024820152722a22a7299034b9903232b83934b1b0ba32b21760691b604482015290519081900360640190fd5b92959094509192505056fea2646970667358221220f0142bc2bc77de84d285259fbb1ca6197a2cb31ddefe76a0e45d7f904f5f57cf64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80630484c7281461003b578063301a58011461005f575b600080fd5b6100436100b3565b604080516001600160a01b039092168252519081900360200190f35b6100956004803603606081101561007557600080fd5b506001600160a01b038135811691602081013590911690604001356100c2565b60408051938452602084019290925282820152519081900360600190f35b6000546001600160a01b031681565b60008054819081906001600160a01b03878116911614806100f057506000546001600160a01b038681169116145b15610138576040805162461bcd60e51b81526020600482015260136024820152722a22a7299034b9903232b83934b1b0ba32b21760691b604482015290519081900360640190fd5b92959094509192505056fea2646970667358221220f0142bc2bc77de84d285259fbb1ca6197a2cb31ddefe76a0e45d7f904f5f57cf64736f6c634300060c0033

Deployed Bytecode Sourcemap

70:791:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111:27;;;:::i;:::-;;;;-1:-1:-1;;;;;111:27:0;;;;;;;;;;;;;;254:600;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;254:600:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;111:27;;;-1:-1:-1;;;;;111:27:0;;:::o;254:600::-;394:24;575:12;;394:24;;;;-1:-1:-1;;;;;565:22:0;;;575:12;;565:22;;:51;;-1:-1:-1;604:12:0;;-1:-1:-1;;;;;591:25:0;;;604:12;;591:25;565:51;562:174;;;683:37;;;-1:-1:-1;;;683:37:0;;;;;;;;;;;;-1:-1:-1;;;683:37:0;;;;;;;;;;;;;;;826:6;;254:600;;-1:-1:-1;254:600:0;;-1:-1:-1;;254:600:0:o

Swarm Source

ipfs://f0142bc2bc77de84d285259fbb1ca6197a2cb31ddefe76a0e45d7f904f5f57cf

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.