PaymentModuleV1
Verified contract
Active on
Ethereum with 3 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x53b6…bd9c
0xfbfe…1834
0x4e8e…7d54
Balances ($0.00)
No balances found for "PaymentModuleV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18366007 | a year ago | | | 0 | 0.00038359448 | |
| 18366006 | a year ago | | | 0 | 0.00094415882 | |
| 18186622 | a year ago | | | 0 | 0.0026803830 |
ABI
ABI objects
Getter at block 21158129
BASIS_POINTS() view returns (uint256)
10000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FLOKI() view returns (address)
0xcf0c122c6b73ff809c693db761e7baebe62b6a2e
PAYMENT_ADMIN_ROLE() view returns (bytes32)
0x4a76dea3a6231aa5446f85ecde36fb499385f0f3539e800a138fb9855200db67
USDT() view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
burnAddress() view returns (address)
0x000000000000000000000000000000000000dead
burnBasisPoints() view returns (uint256)
2500
convertNativeFeeToUsd() view returns (bool)
true
feeCollectedLastBlock() view returns (uint256)
21105390
flokiBurnedLastBlock() view returns (uint256)
21105390
isV2Router() view returns (bool)
true
lpTokenProcessor() view returns (address)
0x53b67d1172a3d90889d21c1351667ba8024abd9c
mainRouter() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
nativeWrappedToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
priceOracle() view returns (address)
0x4e8e826e6d64f711a383fa2e99e42f92a0a67d54
pricingModule() view returns (address)
0xfbfeef15c5a1d7415bdb48bcc2dd30e8bbb81834
referrerBasisPoints() view returns (uint256)
2500
referrerShareLastBlock() view returns (uint256)
20830450
routerForFloki() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
treasury() view returns (address)
0xf5d492ffbec47db69333a6812bec227b6f670a86
v3PoolFeeForFlokiNative() view returns (uint24)
3000
v3PoolFeeForUsdNative() view returns (uint24)
3000
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events adminWithdraw(address tokenAddress, uint256 amount)
grantRole(bytes32 role, address account)
notifyFeeCollected(address _vault, uint256 _amount)
notifyFlokiBurned(address _vault, uint256 _usdAmount, uint256 _flokiAmount)
notifyReferrerSharePaid(address _vault, address _referrer, uint256 _amount)
processPayment(struct IPaymentModuleProcessPaymentParams params) payable
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setConvertNativeFeeToUsd(bool _convertNativeFeeToUsd)
setFloki(address _floki)
setLPTokenProcessor(address newProcessor)
setPriceOracleManager(address priceOracleAddress)
setPricingModule(address newModule)
setRouter(address newRouter, bool v2Router)
setTreasury(address newTreasury)
setUsdToken(address newUsdToken)
setV3PoolFeeForFloki(uint24 newFee)
setV3PoolFeeForUsd(uint24 newFee)
FeeCollected(uint256 indexed previousBlock, address indexed vault, uint256 usdAmount)
FlokiBurned(uint256 indexed previousBlock, address indexed vault, uint256 usdAmount, uint256 flokiAmount)
LPTokenProcessorUpdated(address indexed oldProcessor, address indexed newProcessor)
PriceOracleManagerUpdated(address indexed oldOracle, address indexed newOracle)
PricingModuleUpdated(address indexed oldModule, address indexed newModule)
ReferrerSharePaid(uint256 indexed previousBlock, address indexed vault, address referrer, uint256 usdAmount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
RouterUpdated(address indexed oldRouter, address indexed newRouter, bool isV3Router)
SlippageUpdated(uint256 indexed oldSlippage, uint256 indexed newSlippage)
TreasuryAddressUpdated(address indexed oldTreasury, address indexed newTreasury)
UsdTokenUpdated(address indexed oldUsd, address indexed newUsd)
V3PoolFeeForFlokiUpdated(uint24 indexed oldFee, uint24 indexed newFee)
V3PoolFeeForUsdUpdated(uint24 indexed oldFee, uint24 indexed newFee)
constructor(address flokiAddress, address lpTokenProcessorAddress, address pricingModuleAddress, address treasuryAddress, address routerAddress, bool v2Router, address priceOracleAddress, address usdAddress)
receive()
This contract contains no error objects.