SpankBank

Verified contract

Active on Ethereum with 5,488 txns
Deployed by via 0xc6129543 at 6276045
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xee1824d10c9b0153cb7c11df754abb45f7043a7af6c379ede33e31f0847fe8c3
0xfc6877358d3d501146b0f78eb0f9a56e1001125c5def64021cde01937bbd41b3
0xf6e6f37d04e9fb8e58418ebf2931573e8b72b5f9df493b66ee5e131469613ca5
0x62995124bbf76d83748a488e7abbac2e880f42d791edc417b2206fbf31559ff0
0x15fc4a174dc2929319029ea88a68aad31efa840c4c2a67f7de695e5d65412866
0x62229bab8b4376d9fda429032f9c534d04801511a0a734e35bc63a6a4852ed02
0xe88ec54a492d3e30eccf948250df64f9fa2c3c853cfec73bc10fbfe6d19fde14
0x80e9b3c41cf1e4d6b07e7f3b214bd526c7fc68b3e7361f1738a11cb46eeb8140
0xba0522de860627816bb79923b312384ea408fec623eea61052aa9747a5ecb59a
0x6f9b7033c4c3316d16be57669e1fa11ba7eb0a20ef4779bca2e4ea8ee23bcafa

Functions
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 stakerAddressuint256 periodview returns (bool)
getSpankPoints(address stakerAddressuint256 periodview returns (uint256)
getStakerFromDelegateKey(address delegateAddressview returns (address)
getVote(address stakerAddressuint256 periodview returns (bool)
periods(uint256view returns (uint256 bootyFeesuint256 totalSpankPointsuint256 bootyMintedbool mintingCompleteuint256 startTimeuint256 endTimeuint256 closingVotes)
pointsTable(uint256view returns (uint256)
stakerByDelegateKey(addressview returns (address)
stakers(addressview returns (uint256 spankStakeduint256 startingPerioduint256 endingPeriodaddress delegateKeyaddress bootyBase)
State-modifying
checkIn(uint256 updatedEndingPeriod
claimBooty(uint256 claimPeriod
mintBooty(
receiveApproval(address fromuint256 amountaddress tokenContractbytes extraDatareturns (bool success)
sendFees(uint256 bootyAmount
splitStake(address newAddressaddress newDelegateKeyaddress newBootyBaseuint256 spankAmount
stake(uint256 spankAmountuint256 stakePeriodsaddress delegateKeyaddress bootyBase
updateBootyBase(address newBootyBase
updateDelegateKey(address newDelegateKey
updatePeriod(
voteToClose(
withdrawStake(
Events
CheckInEvent(address stakeruint256 perioduint256 spankPointsuint256 stakerEndingPeriod
ClaimBootyEvent(address stakeruint256 perioduint256 bootyOwed
MintBootyEvent(uint256 targetBootySupplyuint256 totalBootySupply
ReceiveApprovalEvent(address fromaddress tokenContract
SendFeesEvent(address senderuint256 bootyAmount
SpankBankCreated(uint256 periodLengthuint256 maxPeriodsaddress spankAddressuint256 initialBootySupplystring bootyTokenNameuint8 bootyDecimalUnitsstring bootySymbol
SplitStakeEvent(address stakeraddress newAddressaddress newDelegateKeyaddress newBootyBaseuint256 spankAmount
StakeEvent(address stakeruint256 perioduint256 spankPointsuint256 spankAmountuint256 stakePeriodsaddress delegateKeyaddress bootyBase
UpdateBootyBaseEvent(address stakeraddress newBootyBase
UpdateDelegateKeyEvent(address stakeraddress newDelegateKey
VoteToCloseEvent(address stakeruint256 period
WithdrawStakeEvent(address stakeruint256 totalSpankToWithdraw
Constructor
constructor(uint256 _periodLengthuint256 _maxPeriodsaddress spankAddressuint256 initialBootySupplystring bootyTokenNameuint8 bootyDecimalUnitsstring bootySymbol
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.