Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types/interfaces/contracts/types.ts>HostFnWeights

Package publishing for deno.land/x/polkadot
Go to Latest
interface HostFnWeights
implements Struct
import { type HostFnWeights } from "https://deno.land/x/polkadot@0.2.17/types/interfaces/contracts/types.ts";

Properties

readonly
caller: Weight
readonly
address: Weight
readonly
gasLeft: Weight
readonly
balance: Weight
readonly
valueTransferred: Weight
readonly
minimumBalance: Weight
readonly
tombstoneDeposit: Weight
readonly
rentAllowance: Weight
readonly
blockNumber: Weight
readonly
now: Weight
readonly
weightToFee: Weight
readonly
gas: Weight
readonly
input: Weight
readonly
inputPerByte: Weight
readonly
return: Weight
readonly
returnPerByte: Weight
readonly
terminate: Weight
readonly
terminatePerCodeByte: Weight
readonly
restoreTo: Weight
readonly
restoreToPerCallerCodeByte: Weight
readonly
restoreToPerTombstoneCodeByte: Weight
readonly
restoreToPerDelta: Weight
readonly
random: Weight
readonly
depositEvent: Weight
readonly
depositEventPerTopic: Weight
readonly
depositEventPerByte: Weight
readonly
setRentAllowance: Weight
readonly
setStorage: Weight
readonly
setStoragePerByte: Weight
readonly
clearStorage: Weight
readonly
getStorage: Weight
readonly
getStoragePerByte: Weight
readonly
transfer: Weight
readonly
call: Weight
readonly
callPerCodeByte: Weight
readonly
callTransferSurcharge: Weight
readonly
callPerInputByte: Weight
readonly
callPerOutputByte: Weight
readonly
instantiate: Weight
readonly
instantiatePerCodeByte: Weight
readonly
instantiatePerInputByte: Weight
readonly
instantiatePerOutputByte: Weight
readonly
instantiatePerSaltByte: Weight
readonly
hashSha2256: Weight
readonly
hashSha2256PerByte: Weight
readonly
hashKeccak256: Weight
readonly
hashKeccak256PerByte: Weight
readonly
hashBlake2256: Weight
readonly
hashBlake2256PerByte: Weight
readonly
hashBlake2128: Weight
readonly
hashBlake2128PerByte: Weight
readonly
rentParams: Weight