Skip to content

Commit

Permalink
Merge branch 'master' into milad/refactor_send_interceptor_single_input
Browse files Browse the repository at this point in the history
  • Loading branch information
miladz68 authored Sep 25, 2023
2 parents baa6e09 + fb8b046 commit cf93dee
Show file tree
Hide file tree
Showing 16 changed files with 1,155 additions and 115 deletions.
35 changes: 35 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

## Table of Contents

- [coreum/asset/ft/v1/authz.proto](#coreum/asset/ft/v1/authz.proto)
- [MintAuthorization](#coreum.asset.ft.v1.MintAuthorization)

- [coreum/asset/ft/v1/event.proto](#coreum/asset/ft/v1/event.proto)
- [EventFrozenAmountChanged](#coreum.asset.ft.v1.EventFrozenAmountChanged)
- [EventIssued](#coreum.asset.ft.v1.EventIssued)
Expand Down Expand Up @@ -319,6 +322,38 @@



<a name="coreum/asset/ft/v1/authz.proto"></a>
<p align="right"><a href="#top">Top</a></p>

## coreum/asset/ft/v1/authz.proto



<a name="coreum.asset.ft.v1.MintAuthorization"></a>

### MintAuthorization
MintAuthorization allows the grantee to mint up to mint_limit coin from
the granter's account.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `mint_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |





<!-- end messages -->

<!-- end enums -->

<!-- end HasExtensions -->

<!-- end services -->



<a name="coreum/asset/ft/v1/event.proto"></a>
<p align="right"><a href="#top">Top</a></p>

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func NewChain(grpcClient *grpc.ClientConn, rpcClient *rpchttp.HTTP, chainSetting
WithKeyring(newConcurrentSafeKeyring(keyring.NewInMemory(encodingConfig.Codec))).
WithBroadcastMode(flags.BroadcastSync).
WithGRPCClient(grpcClient).
WithRPCClient(rpcClient).
WithClient(rpcClient).
WithAwaitTx(true)

chainCtx := NewChainContext(encodingConfig, clientCtx, chainSettings)
Expand Down
9 changes: 9 additions & 0 deletions integration-tests/contracts/modules/nft.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ type NftIDRequest struct {
ID string `json:"id"`
}

// BurntNftIDRequest is used to query burnt nfts with nft_id.
//
//nolint:tagliatelle
type BurntNftIDRequest struct {
NftID string `json:"nft_id"`
}

// NftIssuerRequest is used to query NFT with issuer.
type NftIssuerRequest struct {
Issuer string `json:"issuer"`
Expand Down Expand Up @@ -77,6 +84,8 @@ const (
NftMethodFrozen NftMethod = "frozen"
NftMethodWhitelisted NftMethod = "whitelisted"
NftMethodWhitelistedAccountsForNft NftMethod = "whitelisted_accounts_for_nft"
NftMethodBurntNft NftMethod = "burnt_nft"
NftMethodBurntNftInClass NftMethod = "burnt_nfts_in_class"
NftMethodBalance NftMethod = "balance"
NftMethodOwner NftMethod = "owner"
NftMethodSupply NftMethod = "supply"
Expand Down
Loading

0 comments on commit cf93dee

Please sign in to comment.