// Copyright 2020 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

// (Re-)generated by schema tool
// >>>> DO NOT CHANGE THIS FILE! <<<<
// Change the json schema instead

package coreaccounts

import "github.com/iotaledger/wasp/packages/wasmvm/wasmlib/go/wasmlib/wasmtypes"

const (
	ScName        = "accounts"
	ScDescription = "Chain account ledger contract"
	HScName       = wasmtypes.ScHname(0x3c4b5e02)
)

const (
	ParamAgentID                = "a"
	ParamDestroyTokens          = "y"
	ParamForceMinimumBaseTokens = "f"
	ParamForceOpenAccount       = "c"
	ParamFoundrySN              = "s"
	ParamNftID                  = "z"
	ParamSupplyDeltaAbs         = "d"
	ParamTokenScheme            = "t"
)

const (
	ResultAccountNonce     = "n"
	ResultAllAccounts      = "this"
	ResultAssets           = "this"
	ResultBalances         = "this"
	ResultFoundryOutputBin = "b"
	ResultFoundrySN        = "s"
	ResultMapping          = "this"
	ResultNftData          = "e"
	ResultNftIDs           = "i"
)

const (
	FuncDeposit                  = "deposit"
	FuncFoundryCreateNew         = "foundryCreateNew"
	FuncFoundryDestroy           = "foundryDestroy"
	FuncFoundryModifySupply      = "foundryModifySupply"
	FuncHarvest                  = "harvest"
	FuncTransferAllowanceTo      = "transferAllowanceTo"
	FuncWithdraw                 = "withdraw"
	ViewAccountNFTs              = "accountNFTs"
	ViewAccounts                 = "accounts"
	ViewBalance                  = "balance"
	ViewFoundryOutput            = "foundryOutput"
	ViewGetAccountNonce          = "getAccountNonce"
	ViewGetNativeTokenIDRegistry = "getNativeTokenIDRegistry"
	ViewNftData                  = "nftData"
	ViewTotalAssets              = "totalAssets"
)

const (
	HFuncDeposit                  = wasmtypes.ScHname(0xbdc9102d)
	HFuncFoundryCreateNew         = wasmtypes.ScHname(0x41822f5f)
	HFuncFoundryDestroy           = wasmtypes.ScHname(0x85e4c893)
	HFuncFoundryModifySupply      = wasmtypes.ScHname(0x76a5868b)
	HFuncHarvest                  = wasmtypes.ScHname(0x7b40efbd)
	HFuncTransferAllowanceTo      = wasmtypes.ScHname(0x23f4e3a1)
	HFuncWithdraw                 = wasmtypes.ScHname(0x9dcc0f41)
	HViewAccountNFTs              = wasmtypes.ScHname(0x27422359)
	HViewAccounts                 = wasmtypes.ScHname(0x3c4b5e02)
	HViewBalance                  = wasmtypes.ScHname(0x84168cb4)
	HViewFoundryOutput            = wasmtypes.ScHname(0xd9647be3)
	HViewGetAccountNonce          = wasmtypes.ScHname(0x529d7df9)
	HViewGetNativeTokenIDRegistry = wasmtypes.ScHname(0x2ad8a59f)
	HViewNftData                  = wasmtypes.ScHname(0x83c5c4da)
	HViewTotalAssets              = wasmtypes.ScHname(0xfab0f8d2)
)
