SubscriptionModuleImpl
Verified contract
Active on
Ethereum with 2 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x7c5a…f098
Balances ($0.00)
No balances found for "SubscriptionModuleImpl"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 4017734 | 7 years ago | | | 0 | 0.0011926400 | |
| 4008509 | 7 years ago | | | 0 | 0.00035591573 |
ABI
ABI objects
Getter at block 21176230
VERSION() pure returns (string)
0.2.0
depositCounter() pure returns (uint256)
0
getXRateProviderLength() pure returns (uint256)
1
isSuspended() pure returns (bool)
false
newOwner() pure returns (address)
0x6dd5a9f47cfbc44c04a0a4452f0ba792ebfbcc9a
owner() pure returns (address)
0x6dd5a9f47cfbc44c04a0a4452f0ba792ebfbcc9a
san() pure returns (address)
0x7c5a0ce9267ed19b22f8cae653f198e3e8daf098
subscriptionCounter() pure returns (uint256)
0
suspendedUntil() pure returns (uint256)
0
Read-only
deposits(uint256) pure returns (uint256 value, address owner, uint256 createdOn, uint256 lockTime, bytes descriptor)
providerRegistry(address) pure returns (bool)
state(uint256 subOrOfferId) pure returns (string state)
stateCode(uint256 subOrOfferId) pure returns (uint256 stateCode)
subscriptionDetails(uint256 subId) pure returns (address transferFrom, address transferTo, uint256 pricePerHour, uint32 initialXrate_n, uint32 initialXrate_d, uint16 xrateProviderId, uint256 chargePeriod, uint256 startOn, bytes descriptor)
subscriptionStatus(uint256 subId) pure returns (uint256 depositAmount, uint256 expireOn, uint256 execCounter, uint256 paidUntil, uint256 onHoldSince)
subscriptions(uint256) pure returns (address transferFrom, address transferTo, uint256 pricePerHour, uint32 initialXrate_n, uint32 initialXrate_d, uint16 xrateProviderId, uint256 paidUntil, uint256 chargePeriod, uint256 depositAmount, uint256 startOn, uint256 expireOn, uint256 execCounter, bytes descriptor, uint256 onHoldSince)
xrateProviders(uint256) pure returns (address)
State-modifying
Events acceptOwnership()
attachToken(address token)
cancelSubscription(uint256 subId)
cancelSubscription(uint256 subId, uint256 gasReserve)
cancelSubscriptionOffer(uint256 offerId) returns (bool)
claimDeposit(uint256 _depositId)
claimSubscriptionDeposit(uint256 subId)
createDeposit(uint256 _value, uint256 _lockTime, bytes _descriptor) returns (uint256 depositId)
createSubscription(uint256 _offerId, uint256 _expireOn, uint256 _startOn) returns (uint256 newSubId)
createSubscriptionOffer(uint256 _pricePerHour, uint16 _xrateProviderId, uint256 _chargePeriod, uint256 _expireOn, uint256 _offerLimit, uint256 _depositAmount, uint256 _startOn, bytes _descriptor) returns (uint256 subId)
disableServiceProvider(address addr, bytes moreInfo)
enableServiceProvider(address addr, bytes moreInfo)
executeSubscription(uint256 subId) returns (bool)
holdSubscription(uint256 subId) returns (bool success)
holdSubscriptionOffer(uint256 offerId) returns (bool success)
max(uint256 a, uint256 b) returns (uint256)
min(uint256 a, uint256 b) returns (uint256)
paymentFrom(uint256 _value, bytes _paymentData, address _from, address _to) returns (bool success)
paymentTo(uint256 _value, bytes _paymentData, address _to) returns (bool success)
postponeDueDate(uint256 subId, uint256 newDueDate) returns (bool success)
registerXRateProvider(address addr) returns (uint16 xrateProviderId)
returnSubscriptionDesposit(uint256 subId)
suspend(uint256 suspendTimeSec)
transferOwnership(address _newOwner)
unholdSubscription(uint256 subId) returns (bool success)
unholdSubscriptionOffer(uint256 offerId) returns (bool success)
updateSubscriptionOffer(uint256 _offerId, uint256 _offerLimit)
DepositReturned(uint256 depositId, address returnedTo)
NewDeposit(uint256 depositId, uint256 value, uint256 lockTime, address sender)
NewSubscription(address customer, address service, uint256 offerId, uint256 subId)
NewXRateProvider(address addr, uint16 xRateProviderId, address sender)
OfferCanceled(uint256 offerId, address sender)
OfferOnHold(uint256 offerId, bool onHold, address sender)
OwnershipTransferred(address indexed _from, address indexed _to)
Payment(address _from, address _to, uint256 _value, uint256 _fee, address sender, uint8 status, uint256 subId)
ServiceProviderDisabled(address addr, bytes moreInfo)
ServiceProviderEnabled(address addr, bytes moreInfo)
SubCanceled(uint256 subId, address sender)
SubModuleSuspended(uint256 suspendUntil)
SubOnHold(uint256 offerId, bool onHold, address sender)
SubscriptionDepositReturned(uint256 subId, uint256 amount, address returnedTo, address sender)
constructor()
fallback()
This contract contains no error objects.