SpritzPayV1

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x2f16008d at 15673345
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot

No balances found for "SpritzPayV1"

No transactions found for "SpritzPayV1"


Functions
Getter at block 21159825
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
acceptedPaymentTokens(view returns (address[])
[]
paused(view returns (bool)
false
paymentRecipient(view returns (address)
0x0000000000000000000000000000000000000000
swapTarget(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addPaymentToken(address newToken
grantRole(bytes32 roleaddress account
initialize(address _adminaddress _paymentRecipientaddress _swapTargetaddress _wrappedNativeaddress[] _acceptedTokens
pause(
payWithSwap(address[] pathuint256 sourceTokenAmountMaxuint256 paymentTokenAmountbytes32 paymentReferenceuint256 deadlinepayable 
payWithToken(address paymentTokenAddressuint256 paymentTokenAmountbytes32 paymentReference
removePaymentToken(address newToken
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setPaymentRecipient(address newPaymentRecipient
unpause(
Events
Initialized(uint8 version
Paused(address account
Payment(address toaddress indexed fromaddress indexed sourceTokenuint256 sourceTokenAmountaddress paymentTokenuint256 paymentTokenAmountbytes32 indexed paymentReference
PaymentRecipientChanged(address recipientaddress sender
PaymentTokenAdded(address token
PaymentTokenRemoved(address token
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
FailedRefund(address tokenAddressuint256 amount
FailedSwap(address sourceTokenAddressuint256 sourceTokenAmountaddress paymentTokenAddressuint256 paymentTokenAmount
FailedTokenTransfer(address tokenAddressaddress touint256 amount
NonAcceptedToken(address token
SetZeroAddress(