Skip to content

Commit

Permalink
Merge pull request #161 from tonkeeper/auction
Browse files Browse the repository at this point in the history
change interfaces for auction
  • Loading branch information
mr-tron authored Jul 25, 2023
2 parents 006759b + 4eb546e commit b9d89a9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
57 changes: 29 additions & 28 deletions abi/ordering.go
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
package abi
// Code autogenerated. DO NOT EDIT.

// Code autogenerated. DO NOT EDIT.

import (
"context"
"github.com/tonkeeper/tongo"
"context"
"github.com/tonkeeper/tongo"
)


type ContractInterface string

// more wallet-related contract interfaces are defined in wallet.go
const (
Auction ContractInterface = "auction"
Domain ContractInterface = "domain"
NftEditable ContractInterface = "nft_editable"
NftSale ContractInterface = "nft_sale"
NftSaleGetgems ContractInterface = "nft_sale_getgems"
PaymentChannel ContractInterface = "payment_channel"
StakingNft ContractInterface = "staking_nft"
StonfiPool ContractInterface = "stonfi_pool"
StorageContract ContractInterface = "storage_contract"
StorageProvider ContractInterface = "storage_provider"
Subscription ContractInterface = "subscription"
Telemint ContractInterface = "telemint"
Tep62Collection ContractInterface = "tep62_collection"
Tep62Item ContractInterface = "tep62_item"
Tep66 ContractInterface = "tep66"
Tep74 ContractInterface = "tep74"
Tep85 ContractInterface = "tep85"
TfNominator ContractInterface = "tf_nominator"
TonstakePool ContractInterface = "tonstake_pool"
ValidatorController ContractInterface = "validator_controller"
Wallet ContractInterface = "wallet"
WalletV4R2 ContractInterface = "wallet_v4r2"
WhalesNominators ContractInterface = "whales_nominators"
Auction ContractInterface = "auction"
Domain ContractInterface = "domain"
NftEditable ContractInterface = "nft_editable"
NftSale ContractInterface = "nft_sale"
NftSaleGetgems ContractInterface = "nft_sale_getgems"
NftSaleGetgemsAuction ContractInterface = "nft_sale_getgems_auction"
PaymentChannel ContractInterface = "payment_channel"
StakingNft ContractInterface = "staking_nft"
StonfiPool ContractInterface = "stonfi_pool"
StorageContract ContractInterface = "storage_contract"
StorageProvider ContractInterface = "storage_provider"
Subscription ContractInterface = "subscription"
Telemint ContractInterface = "telemint"
Tep62Collection ContractInterface = "tep62_collection"
Tep62Item ContractInterface = "tep62_item"
Tep66 ContractInterface = "tep66"
Tep74 ContractInterface = "tep74"
Tep85 ContractInterface = "tep85"
TfNominator ContractInterface = "tf_nominator"
TonstakePool ContractInterface = "tonstake_pool"
ValidatorController ContractInterface = "validator_controller"
Wallet ContractInterface = "wallet"
WalletV4R2 ContractInterface = "wallet_v4r2"
WhalesNominators ContractInterface = "whales_nominators"
)

type InvokeFn func(ctx context.Context, executor Executor, reqAccountID tongo.AccountID) (string, any, error)
Expand Down Expand Up @@ -181,7 +182,7 @@ var methodInvocationOrder = []MethodDescription{
case "GetSaleData_BasicResult":
return NftSale
case "GetSaleData_GetgemsAuctionResult":
return NftSaleGetgems
return NftSaleGetgemsAuction
case "GetSaleData_GetgemsResult":
return NftSaleGetgems
}
Expand Down
2 changes: 1 addition & 1 deletion abi/schemas/known.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
<int name="royalty_amount">uint64</int>
</output>

<output version="getgems_auction" fixed_length="true" interface="nft_sale_getgems">
<output version="getgems_auction" fixed_length="true" interface="nft_sale_getgems_auction">
<int name="magic" required_value="0x415543">uint64</int>
<int name="end">bool</int>
<int name="end_time">uint32</int>
Expand Down

0 comments on commit b9d89a9

Please sign in to comment.