/** * This file was automatically generated by @cosmwasm/ts-codegen@0.30.1. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; import { Coin, StdFee } from "@cosmjs/amino"; import { Decimal, Config, QueryOptionsForString, NullableRoyaltyDefault, NullableRoyaltyProtocol, RoyaltyPaymentResponse, ArrayOfRoyaltyProtocol } from "./RoyaltyRegistry.types"; export interface RoyaltyRegistryReadOnlyInterface { contractAddress: string; config: () => Promise; collectionRoyaltyDefault: ({ collection }: { collection: string; }) => Promise; collectionRoyaltyProtocol: ({ collection, protocol }: { collection: string; protocol: string; }) => Promise; royaltyProtocolByCollection: ({ collection, queryOptions }: { collection: string; queryOptions?: QueryOptionsForString; }) => Promise; royaltyPayment: ({ collection, protocol }: { collection: string; protocol?: string; }) => Promise; } export declare class RoyaltyRegistryQueryClient implements RoyaltyRegistryReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); config: () => Promise; collectionRoyaltyDefault: ({ collection }: { collection: string; }) => Promise; collectionRoyaltyProtocol: ({ collection, protocol }: { collection: string; protocol: string; }) => Promise; royaltyProtocolByCollection: ({ collection, queryOptions }: { collection: string; queryOptions?: QueryOptionsForString | undefined; }) => Promise; royaltyPayment: ({ collection, protocol }: { collection: string; protocol?: string | undefined; }) => Promise; } export interface RoyaltyRegistryInterface extends RoyaltyRegistryReadOnlyInterface { contractAddress: string; sender: string; initializeCollectionRoyalty: ({ collection }: { collection: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; setCollectionRoyaltyDefault: ({ collection, recipient, share }: { collection: string; recipient: string; share: Decimal; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateCollectionRoyaltyDefault: ({ collection, decrement, recipient, shareDelta }: { collection: string; decrement?: boolean; recipient?: string; shareDelta?: Decimal; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; setCollectionRoyaltyProtocol: ({ collection, protocol, recipient, share }: { collection: string; protocol: string; recipient: string; share: Decimal; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateCollectionRoyaltyProtocol: ({ collection, decrement, protocol, recipient, shareDelta }: { collection: string; decrement?: boolean; protocol: string; recipient?: string; shareDelta?: Decimal; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; } export declare class RoyaltyRegistryClient extends RoyaltyRegistryQueryClient implements RoyaltyRegistryInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); initializeCollectionRoyalty: ({ collection }: { collection: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; setCollectionRoyaltyDefault: ({ collection, recipient, share }: { collection: string; recipient: string; share: Decimal; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateCollectionRoyaltyDefault: ({ collection, decrement, recipient, shareDelta }: { collection: string; decrement?: boolean | undefined; recipient?: string | undefined; shareDelta?: string | undefined; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; setCollectionRoyaltyProtocol: ({ collection, protocol, recipient, share }: { collection: string; protocol: string; recipient: string; share: Decimal; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateCollectionRoyaltyProtocol: ({ collection, decrement, protocol, recipient, shareDelta }: { collection: string; decrement?: boolean | undefined; protocol: string; recipient?: string | undefined; shareDelta?: string | undefined; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; }