TriePay

Verified contract

Active on Ethereum with 81 txns
Deployed by via 0xef87d75e at 14972751
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Native
Value $0
ERC-20
Value $7.4
ERC-20
Value $0
ERC-20
--
0x86cbc713d3a2a1cf43a3ea8e55d9873db33107b89251c0c75f7288d8ad6ecdee
0x1242ef9549bfaf54f3eb66f94f2d6ae9000679a185b5576f4fd985e5a1cd2fdf
0x49432918e7180a25b6bf12e908c3813bf73160ff3e3a3983de656669ba417e93
0x41a0b3e9a10d48f4451bac473ed0921d83b2c1a3cb74c694454ce0b3d92061cb
0xeafa41447ef85b1ad8618a71339b339358ac2ea79b8910eca5937551199de235
0x001e8bcd4239a48bc14f38d5542e91d622aee0de472566d73f2e91ce349c9b5f
0xe3f52e47b8bfd0df1f0d1b0914b4c301760d3dbce0c16e1fe234188d7411fc88
0xb3cf6d3bfcaf4e5a40d0f28c055136b7638c9c1ec05ae7a5dc35e68cecd43649
0xdeaebc2629739722a31a77aee4bacc3c6ed54b36e7c459516fde3ea06bf307d0
0xc6c2b9200a902ac4362df9098fac86b581c409e3af82a7ab0728744398ee2101

Functions
Getter at block 21397176
FEE_DIVISOR(view returns (uint256)
1000
NATIVE_CURRENCY(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
chainId(view returns (uint256)
1
factory(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
feeRate(view returns (uint256)
5
getRouterTokens(view returns (address[])
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xdAC17F958D2ee523a2206206994597C13D831ec7, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x6B175474E89094C44Da98b954EedeAC495271d0F, 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984]
getSupportedTokens(view returns (address[])
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xdAC17F958D2ee523a2206206994597C13D831ec7, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x6B175474E89094C44Da98b954EedeAC495271d0F, 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE, 0x4Fabb145d64652a948d72533023f6E7A623C7C53, 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599, 0x514910771AF9Ca656af840dff83E8264EcF986CA]
owner(view returns (address)
0x573d222c5af04e5142c70fa74a5084faea1970ab
router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
getBalancesAndAmounts(address userstruct TriePayPayment pview returns (address[] tokensuint256[] balancesuint256[] amounts)
routerPath(address tokenAddressaddress merchantTokenAddressview returns (address[] path)
State-modifying
addRouterTokens(address[] tokens
addSupportedTokens(address[] tokens
payWithEth(struct TriePayPayment ppayable 
payWithToken(address tokenAddressstruct TriePayPayment p
removeRouterTokens(address[] tokens
removeSupportedTokens(address[] tokens
renounceOwnership(
tokenFallback(address _fromuint256 _valuebytes _data
transferOwnership(address newOwner
withdrawEth(address receiveruint256 amount
withdrawToken(address receiveraddress tokenAddressuint256 amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PaymentCompleted(address indexed merchantbytes32 indexed orderIduint256 quantityuint256 unitPriceuint256 receivableaddress merchantTokenAddress
Constructor
constructor(uint256 _feeRateuint256 _chainIdaddress _routerAddressaddress[] _supportedTokensaddress[] _routerTokens
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.