BondingTax

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xec37bd06 at 23815503
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "BondingTax"

No transactions found for "BondingTax"


Functions
Getter at block 23912799
ADMIN_ROLE(view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
assetToken(view returns (address)
0x0000000000000000000000000000000000000000
bondingRouter(view returns (address)
0x0000000000000000000000000000000000000000
maxSwapThreshold(view returns (uint256)
0
minSwapThreshold(view returns (uint256)
0
router(view returns (address)
0x0000000000000000000000000000000000000000
taxToken(view returns (address)
0x0000000000000000000000000000000000000000
treasury(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
initialize(address defaultAdmin_address assetToken_address taxToken_address router_address bondingRouter_address treasury_uint256 minSwapThreshold_uint256 maxSwapThreshold_
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
swapForAsset(returns (booluint256)
updateSwapParams(address router_address bondingRouter_address assetToken_uint16 slippage_
updateSwapThresholds(uint256 minSwapThreshold_uint256 maxSwapThreshold_
updateTreasury(address treasury_
withdraw(address token
Events
Initialized(uint64 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SwapExecuted(uint256 taxTokenAmountuint256 assetTokenAmount
SwapFailed(uint256 taxTokenAmount
SwapParamsUpdated(address oldRouteraddress newRouteraddress oldBondingRouteraddress newBondingRouteraddress oldAssetaddress newAsset
SwapThresholdUpdated(uint256 oldMinThresholduint256 newMinThresholduint256 oldMaxThresholduint256 newMaxThreshold
TreasuryUpdated(address oldTreasuryaddress newTreasury
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
InvalidInitialization(
NotInitializing(
SafeERC20FailedOperation(address token