Skip to content

Commit

Permalink
Complete, verifiable and irreversible dismantlement of Monster Collec…
Browse files Browse the repository at this point in the history
…tion.

Rest In Peace.
  • Loading branch information
Akamig committed Jun 18, 2024
1 parent 48e1f30 commit 693f85b
Show file tree
Hide file tree
Showing 65 changed files with 1 addition and 1,026 deletions.
157 changes: 0 additions & 157 deletions src/api.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,6 @@ query ValidateSnapshot($raw: String!) {
}
}

query CollectionSheet {
stateQuery {
monsterCollectionSheet {
orderedList {
level
requiredGold
rewards {
itemId
quantity
}
}
}
}
}

query GetAvatarAddress($address: Address!) {
stateQuery {
agent(address: $address) {
Expand All @@ -126,27 +111,6 @@ query GetAvatarAddress($address: Address!) {
}
}

query CollectionSheetWithState($address: Address!) {
stateQuery {
monsterCollectionSheet {
orderedList {
level
requiredGold
rewards {
itemId
quantity
}
}
}
agent(address: $address) {
gold
}
monsterCollectionState(agentAddress: $address) {
level
}
}
}

query MinerAddress {
minerAddress
}
Expand All @@ -165,23 +129,6 @@ query GetNextTxNonce($address: Address!) {
}
}

query StateQueryMonsterCollection($agentAddress: Address!) {
stateQuery {
agent(address: $agentAddress) {
gold
}

monsterCollectionState(agentAddress: $agentAddress) {
expiredBlockIndex
level
rewardLevel
receivedBlockIndex
startedBlockIndex
claimableBlockIndex
}
}
}

mutation Transfer(
$recipient: Address!
$amount: String!
Expand Down Expand Up @@ -238,92 +185,6 @@ subscription Tip {
}
}

query UserStaking($address: Address!) {
stateQuery {
stakeState(address: $address) {
deposit
startedBlockIndex
receivedBlockIndex
cancellableBlockIndex
claimableBlockIndex
stakeRewards {
orderedList {
level
requiredGold
rewards {
itemId
decimalRate
type
currencyTicker
}
bonusRewards {
itemId
count
}
}
}
}
}
}

query LatestStakingSheet {
stateQuery {
latestStakeRewards {
orderedList {
level
requiredGold
rewards {
itemId
decimalRate
type
currencyTicker
}
bonusRewards {
itemId
count
}
}
}
}
}

query StakingSheet {
stateQuery {
stakeRewards {
orderedList {
level
requiredGold
rewards {
itemId
decimalRate
type
currencyTicker
}
bonusRewards {
itemId
count
}
}
}
}
}

query V1CollectionState($address: Address!) {
stateQuery {
monsterCollectionSheet {
orderedList {
level
requiredGold
}
}
monsterCollectionState(agentAddress: $address) {
startedBlockIndex
claimableBlockIndex
level
}
}
}

query GenesisHash {
nodeStatus {
genesis {
Expand Down Expand Up @@ -354,24 +215,6 @@ query transferAsset(
}
}

query Stake($publicKey: String!, $amount: BigInt) {
actionTxQuery(publicKey: $publicKey) {
stake(amount: $amount)
}
}

query ClaimStakeReward($publicKey: String!, $avatarAddress: Address) {
actionTxQuery(publicKey: $publicKey) {
claimStakeReward(avatarAddress: $avatarAddress)
}
}

query MigrateMonsterCollection($publicKey: String!, $avatarAddress: Address) {
actionTxQuery(publicKey: $publicKey) {
migrateMonsterCollection(avatarAddress: $avatarAddress)
}
}

query CheckContracted($agentAddress: Address!) {
stateQuery {
pledge(agentAddress: $agentAddress) {
Expand Down
42 changes: 0 additions & 42 deletions src/renderer/components/core/Layout/UserInfo/ClaimButton.tsx

This file was deleted.

42 changes: 0 additions & 42 deletions src/renderer/components/core/Layout/UserInfo/MigrateButton.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/renderer/components/core/Layout/UserInfo/StakeStatus.tsx

This file was deleted.

Loading

0 comments on commit 693f85b

Please sign in to comment.