SpankBank
Verified contract
Active on
Ethereum with 5,488 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6b01…f9e5
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
XLAB | ERC-20 | 50 | $0.000002 |
$0 | |
SPANK | ERC-20 | 71.436947M | -- | -- | |
BOOTY | ERC-20 | 9.010784K | -- | -- | |
XCEL | ERC-20 | 50 | -- | -- | |
DMTS | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20576337 | 3 months ago | | | 0 | 0.000057708209 | |
| 20576335 | 3 months ago | | | 0 | 0.00015812997 | |
| 20150269 | 5 months ago | | | 0 | 0.00036518850 | |
| 19407617 | 8 months ago | | | 0 | 0.0043584560 | |
| 19407588 | 8 months ago | | | 0 | 0.0081387322 | |
| 19274050 | 9 months ago | | | 0 | 0.018644201 | |
| 17139796 | 2 years ago | | | 0 | 0.0052208502 | |
| 16914796 | 2 years ago | | | 0 | 0.0027963002 | |
| 16423969 | 2 years ago | | | 0 | 0.0010720166 | |
| 16399595 | 2 years ago | | | 0 | 0.0041533586 |
ABI
ABI objects
Getter at block 21168661
bootyToken() view returns (address)
0x6b01c3170ae1efebee1a3159172cb3f7a5ecf9e5
currentPeriod() view returns (uint256)
72
isClosed() view returns (bool)
true
maxPeriods() view returns (uint256)
12
periodLength() view returns (uint256)
2592069
spankToken() view returns (address)
0x42d6622dece394b54999fbd73d108123806f6a18
totalSpankStaked() view returns (uint256)
70187179588957993239641924
Read-only
getDidClaimBooty(address stakerAddress, uint256 period) view returns (bool)
getSpankPoints(address stakerAddress, uint256 period) view returns (uint256)
getStakerFromDelegateKey(address delegateAddress) view returns (address)
getVote(address stakerAddress, uint256 period) view returns (bool)
periods(uint256) view returns (uint256 bootyFees, uint256 totalSpankPoints, uint256 bootyMinted, bool mintingComplete, uint256 startTime, uint256 endTime, uint256 closingVotes)
pointsTable(uint256) view returns (uint256)
stakerByDelegateKey(address) view returns (address)
stakers(address) view returns (uint256 spankStaked, uint256 startingPeriod, uint256 endingPeriod, address delegateKey, address bootyBase)
State-modifying
Events checkIn(uint256 updatedEndingPeriod)
claimBooty(uint256 claimPeriod)
mintBooty()
receiveApproval(address from, uint256 amount, address tokenContract, bytes extraData) returns (bool success)
sendFees(uint256 bootyAmount)
splitStake(address newAddress, address newDelegateKey, address newBootyBase, uint256 spankAmount)
stake(uint256 spankAmount, uint256 stakePeriods, address delegateKey, address bootyBase)
updateBootyBase(address newBootyBase)
updateDelegateKey(address newDelegateKey)
updatePeriod()
voteToClose()
withdrawStake()
CheckInEvent(address staker, uint256 period, uint256 spankPoints, uint256 stakerEndingPeriod)
ClaimBootyEvent(address staker, uint256 period, uint256 bootyOwed)
MintBootyEvent(uint256 targetBootySupply, uint256 totalBootySupply)
ReceiveApprovalEvent(address from, address tokenContract)
SendFeesEvent(address sender, uint256 bootyAmount)
SpankBankCreated(uint256 periodLength, uint256 maxPeriods, address spankAddress, uint256 initialBootySupply, string bootyTokenName, uint8 bootyDecimalUnits, string bootySymbol)
SplitStakeEvent(address staker, address newAddress, address newDelegateKey, address newBootyBase, uint256 spankAmount)
StakeEvent(address staker, uint256 period, uint256 spankPoints, uint256 spankAmount, uint256 stakePeriods, address delegateKey, address bootyBase)
UpdateBootyBaseEvent(address staker, address newBootyBase)
UpdateDelegateKeyEvent(address staker, address newDelegateKey)
VoteToCloseEvent(address staker, uint256 period)
WithdrawStakeEvent(address staker, uint256 totalSpankToWithdraw)
constructor(uint256 _periodLength, uint256 _maxPeriods, address spankAddress, uint256 initialBootySupply, string bootyTokenName, uint8 bootyDecimalUnits, string bootySymbol)
This contract contains no fallback and receive objects.
This contract contains no error objects.