SYMBOL INDEX (1714 symbols across 191 files) FILE: benchmark/__tests__/test-collections-performance.ava.js constant COLLECTION_SIZE (line 5) | const COLLECTION_SIZE = 20; FILE: benchmark/__tests__/util.js function formatGas (line 3) | function formatGas(gas) { function gasBreakdown (line 14) | function gasBreakdown(outcome) { function logGasBreakdown (line 22) | function logGasBreakdown(map, t) { function logGasDetail (line 28) | function logGasDetail(r, t) { function logTotalGas (line 55) | function logTotalGas(prefix = '', r, t) { function randomInt (line 66) | function randomInt(max) { FILE: benchmark/src/deploy-contract.js function deploy_contract (line 8) | function deploy_contract() { FILE: benchmark/src/expensive-calc.js class ExpensiveCalc (line 9) | class ExpensiveCalc { method expensive (line 10) | @call({}) FILE: benchmark/src/highlevel-collection.js class HighlevelCollection (line 8) | class HighlevelCollection { method constructor (line 9) | constructor() { method set (line 13) | @call({}) FILE: benchmark/src/highlevel-minimal.js class HighlevelMinimal (line 8) | class HighlevelMinimal { method empty (line 9) | @call({}) FILE: benchmark/src/lookup-map.js class LookupMapContract (line 4) | class LookupMapContract { method constructor (line 5) | constructor() { method addElement (line 9) | @call({}) method removeElement (line 14) | @call({}) method getElement (line 19) | @view({}) FILE: benchmark/src/lookup-set.js class LookupSetContract (line 4) | class LookupSetContract { method constructor (line 5) | constructor() { method addElement (line 9) | @call({}) method removeElement (line 14) | @call({}) method containsElement (line 19) | @view({}) FILE: benchmark/src/lowlevel-api.js function lowlevel_storage_write (line 7) | function lowlevel_storage_write() { function lowlevel_storage_write_many (line 16) | function lowlevel_storage_write_many() { FILE: benchmark/src/lowlevel-minimal.js function empty (line 7) | function empty() {} FILE: benchmark/src/unordered-map.js class UnorderedMapContract (line 4) | class UnorderedMapContract { method constructor (line 5) | constructor() { method addElement (line 9) | @call({}) method removeElement (line 14) | @call({}) method getElement (line 19) | @view({}) method iterate (line 24) | @view({}) FILE: benchmark/src/unordered-set.js class UnorderedSetContract (line 4) | class UnorderedSetContract { method constructor (line 5) | constructor() { method addElement (line 9) | @call({}) method removeElement (line 14) | @call({}) method containsElement (line 19) | @view({}) method iterate (line 24) | @view({}) FILE: benchmark/src/vector.js class VectorContract (line 4) | class VectorContract { method constructor (line 5) | constructor() { method addElement (line 9) | @call({}) method removeElement (line 14) | @call({}) method getElement (line 19) | @view({}) method iterate (line 24) | @view({}) FILE: examples/__tests__/standard-ft/ft-tests.ava.js constant INITIAL_BALANCE (line 4) | const INITIAL_BALANCE = NEAR.parse("10000 N").toJSON(); constant ONE_YOCTO (line 5) | const ONE_YOCTO = "1"; constant STOARAGE_BYTE_COST (line 6) | const STOARAGE_BYTE_COST = 10_000_000_000_000_000_000n; constant ACCOUNT_STORAGE_BALANCE (line 7) | const ACCOUNT_STORAGE_BALANCE = String(STOARAGE_BYTE_COST * 138n); function registerUser (line 65) | async function registerUser(contract, account_id) { FILE: examples/__tests__/standard-nft/test_core.ava.js constant MAX_GAS (line 4) | const MAX_GAS = 300_000_000_000_000n; FILE: examples/__tests__/standard-nft/test_enumeration.ava.js function helper_mint (line 4) | async function helper_mint(nft, nftOwner, id, title, description) { FILE: examples/src/basic-updates/basic-updates-base.js constant POINT_ONE (line 10) | const POINT_ONE = ONE_NEAR / 10000n; class PostedMessage (line 12) | class PostedMessage { method constructor (line 13) | constructor() { method new (line 19) | static new(premium, sender, text) { class GuestBook (line 29) | class GuestBook { method constructor (line 30) | constructor() { method add_message (line 35) | @call({payableFunction: true}) method get_message (line 45) | @view({}) method get_payment (line 50) | @view({}) FILE: examples/src/basic-updates/basic-updates-update.js constant POINT_ONE (line 3) | const POINT_ONE = ONE_NEAR / 10000n; class OldPostedMessage (line 5) | class OldPostedMessage { method constructor (line 6) | constructor() { class OldState (line 14) | class OldState { method constructor (line 15) | constructor() { class PostedMessage (line 21) | class PostedMessage { method constructor (line 22) | constructor() { method new (line 29) | static new(payment, premium, sender, text) { class GuestBook (line 40) | class GuestBook { method constructor (line 41) | constructor() { method migrateState (line 45) | @migrate({}) method add_message (line 70) | @call({payableFunction: true}) method get_message (line 79) | @view({}) FILE: examples/src/clean-state.js class CleanState (line 4) | class CleanState { method clean (line 5) | @call({}) method put (line 10) | @call({}) method get (line 15) | @view({}) FILE: examples/src/counter/counter-lowlevel.js function init (line 4) | function init() { function deserialize (line 13) | function deserialize() { function getCount (line 22) | function getCount() { function increase (line 28) | function increase() { function decrease (line 38) | function decrease() { FILE: examples/src/counter/counter.js class Counter (line 5) | class Counter { method constructor (line 6) | constructor() { method increase (line 10) | @call({}) method decrease (line 16) | @call({}) method getCount (line 28) | @view({}) FILE: examples/src/counter/counter.ts class Counter (line 6) | class Counter { method increase (line 10) | increase({ n = 1 }: { n: number }) { method decrease (line 16) | decrease({ n }: { n: number }) { method getCount (line 29) | getCount(): number { FILE: examples/src/counter/log.ts function log (line 3) | function log(msg: unknown) { FILE: examples/src/cross-contract-calls/cross-contract-call-loop.js constant CONTRACTS (line 3) | const CONTRACTS = [ constant NO_ARGS (line 8) | const NO_ARGS = ""; constant THIRTY_TGAS (line 9) | const THIRTY_TGAS = BigInt("30" + "0".repeat(12)); class LoopXCC (line 12) | class LoopXCC { method constructor (line 13) | constructor() { method incrementCount (line 17) | @call({}) method _incrementCountCallback (line 46) | @call({ privateFunction: true }) method getCount (line 57) | @view({}) FILE: examples/src/cross-contract-calls/cross-contract-call.js class OnCall (line 4) | class OnCall { method constructor (line 5) | constructor() { method init (line 10) | @initialize({}) method set_person_on_call (line 16) | @call({}) method _set_person_on_call_private (line 37) | @call({ privateFunction: true }) method person_on_call (line 50) | @view({}) FILE: examples/src/cross-contract-calls/cross-contract-call.ts class OnCall (line 4) | class OnCall { method init (line 9) | init({ statusMessageContract }) { method set_person_on_call (line 14) | set_person_on_call({ accountId }) { method _set_person_on_call_private (line 35) | _set_person_on_call_private({ accountId }) { method person_on_call (line 48) | person_on_call() { FILE: examples/src/fungible-token/fungible-token-helper.ts class _FungibleTokenHelper (line 3) | @NearBindgen({}) method ft_on_transfer (line 8) | ft_on_transfer({ method get_contract_data (line 24) | get_contract_data() { FILE: examples/src/fungible-token/fungible-token-lockable.js class Account (line 10) | class Account { method constructor (line 11) | constructor(balance, allowances, lockedBalances) { method setAllowance (line 17) | setAllowance(escrowAccountId, allowance) { method getAllowance (line 27) | getAllowance(escrowAccountId) { method setLockedBalance (line 31) | setLockedBalance(escrowAccountId, lockedBalance) { method getLockedBalance (line 41) | getLockedBalance(escrowAccountId) { method totalBalance (line 45) | totalBalance() { class LockableFungibleToken (line 55) | class LockableFungibleToken { method constructor (line 56) | constructor() { method init (line 61) | @initialize({}) method getAccount (line 71) | getAccount(ownerId) { method setAccount (line 83) | setAccount(accountId, account) { method setAllowance (line 87) | @call({}) method lock (line 105) | @call({}) method unlock (line 135) | @call({}) method transferFrom (line 162) | @call({}) method transfer (line 208) | @call({}) method getTotalSupply (line 217) | @view({}) method getTotalBalance (line 222) | @view({}) method getUnlockedBalance (line 227) | @view({}) method getAllowance (line 232) | @view({}) method getLockedBalance (line 237) | @view({}) FILE: examples/src/fungible-token/fungible-token.ts class FungibleToken (line 13) | class FungibleToken { method constructor (line 19) | constructor() { method init (line 27) | init({ owner_id, total_supply }: { owner_id: string; total_supply: str... method internalGetAccountStorageUsage (line 34) | internalGetAccountStorageUsage(accountLength: number): bigint { method internalRegisterAccount (line 45) | internalRegisterAccount({ method internalSendNEAR (line 63) | internalSendNEAR(receivingAccountId: string, amount: bigint) { method internalGetBalance (line 75) | internalGetBalance(accountId: string): string { method internalDeposit (line 83) | internalDeposit(accountId: string, amount: string) { method internalWithdraw (line 91) | internalWithdraw(accountId: string, amount: string) { method internalTransfer (line 105) | internalTransfer( method storage_deposit (line 118) | storage_deposit({ account_id }: { account_id: string }) { method ft_transfer (line 160) | ft_transfer({ method ft_transfer_call (line 178) | ft_transfer_call({ method ft_total_supply (line 220) | ft_total_supply() { method ft_balance_of (line 225) | ft_balance_of({ account_id }: { account_id: string }) { class Assertions (line 231) | class Assertions { method hasAtLeastOneAttachedYocto (line 232) | static hasAtLeastOneAttachedYocto() { method isLeftGreaterThanRight (line 239) | static isLeftGreaterThanRight( FILE: examples/src/fungible-token/my-ft.ts class FTPrefix (line 27) | class FTPrefix implements IntoStorageKey { method into_storage_key (line 28) | into_storage_key(): string { class MyFt (line 34) | class MyFt implements FungibleTokenCore, StorageManagement, FungibleToke... method constructor (line 38) | constructor() { method init (line 44) | init({ method init_with_default_meta (line 61) | init_with_default_meta({ method measure_account_storage_usage (line 86) | measure_account_storage_usage() { method ft_transfer (line 91) | ft_transfer({ method ft_transfer_call (line 104) | ft_transfer_call({ method ft_total_supply (line 119) | ft_total_supply(): Balance { method ft_balance_of (line 124) | ft_balance_of({ account_id }: { account_id: AccountId }): Balance { method storage_deposit (line 129) | storage_deposit( method storage_withdraw (line 142) | storage_withdraw({ amount }: { amount?: bigint }): StorageBalance { method storage_unregister (line 147) | storage_unregister({ force }: { force?: boolean }): boolean { method storage_balance_bounds (line 152) | storage_balance_bounds(): StorageBalanceBounds { method storage_balance_of (line 157) | storage_balance_of({ account_id }: { account_id: AccountId }): Option<... method ft_resolve_transfer (line 162) | ft_resolve_transfer({ FILE: examples/src/nested-collections.ts class Contract (line 4) | class Contract { method constructor (line 8) | constructor() { method add (line 14) | add({ id, text }: { id: string; text: string }) { method get (line 24) | get({ id, accountId }: { id: string; accountId: string }) { method add_to_group (line 35) | add_to_group({ method get_from_group (line 58) | get_from_group({ FILE: examples/src/non-fungible-token/my-nft.ts class StorageKey (line 31) | class StorageKey { } class StorageKeyNonFungibleToken (line 33) | class StorageKeyNonFungibleToken extends StorageKey implements IntoStora... method into_storage_key (line 34) | into_storage_key(): string { class StorageKeyTokenMetadata (line 39) | class StorageKeyTokenMetadata extends StorageKey implements IntoStorageK... method into_storage_key (line 40) | into_storage_key(): string { class StorageKeyTokenEnumeration (line 45) | class StorageKeyTokenEnumeration extends StorageKey implements IntoStora... method into_storage_key (line 46) | into_storage_key(): string { class StorageKeyApproval (line 51) | class StorageKeyApproval extends StorageKey implements IntoStorageKey { method into_storage_key (line 52) | into_storage_key(): string { class MyNFT (line 58) | class MyNFT method constructor (line 68) | constructor() { method nft_total_supply (line 74) | nft_total_supply(): number { method nft_tokens (line 79) | nft_tokens({ method nft_supply_for_owner (line 90) | nft_supply_for_owner({ account_id }: { account_id: string }): number { method nft_tokens_for_owner (line 95) | nft_tokens_for_owner({ method nft_approve (line 108) | nft_approve({ method nft_revoke (line 121) | nft_revoke({ method nft_revoke_all (line 132) | nft_revoke_all({ token_id }: { token_id: string }) { method nft_is_approved (line 137) | nft_is_approved({ method nft_resolve_transfer (line 154) | nft_resolve_transfer({ method nft_metadata (line 174) | nft_metadata(): NFTContractMetadata { method nft_transfer (line 180) | nft_transfer({ method nft_transfer_call (line 195) | nft_transfer_call({ method nft_token (line 218) | nft_token({ token_id }: { token_id: string }): Option { method init (line 223) | init({ method nft_mint (line 243) | nft_mint({ FILE: examples/src/non-fungible-token/non-fungible-token-receiver.js class NftContract (line 4) | class NftContract { method constructor (line 5) | constructor() { method init (line 9) | @initialize({}) method nftOnTransfer (line 14) | @call({}) FILE: examples/src/non-fungible-token/non-fungible-token.js class Token (line 11) | class Token { method constructor (line 12) | constructor(token_id, owner_id) { class NftContract (line 19) | class NftContract { method constructor (line 20) | constructor() { method init (line 25) | @initialize({}) method internalTransfer (line 31) | internalTransfer({ method nftTransfer (line 49) | @call({}) method nftTransferCall (line 61) | @call({}) method _nftResolveTransfer (line 98) | @call({ privateFunction: true }) method nftMint (line 130) | @call({}) method nftToken (line 141) | @view({}) FILE: examples/src/non-fungible-token/test-approval-receiver.ts constant BASE_GAS (line 14) | const BASE_GAS = 20_000_000_000_000n; constant PROMISE_CALL (line 15) | const PROMISE_CALL = 20_000_000_000_000n; constant GAS_FOR_NFT_ON_APPROVE (line 16) | const GAS_FOR_NFT_ON_APPROVE = BASE_GAS + PROMISE_CALL; type ValueReturnInterface (line 18) | interface ValueReturnInterface { class ApprovalReceiver (line 23) | class ApprovalReceiver method constructor (line 28) | constructor() { method nft_on_approve (line 33) | nft_on_approve({ method ok_go (line 69) | ok_go({ msg }: { msg: string }): PromiseOrValue { method init (line 75) | init({ FILE: examples/src/non-fungible-token/test-token-receiver.ts constant BASE_GAS (line 14) | const BASE_GAS = 10_000_000_000_000n; constant PROMISE_CALL (line 15) | const PROMISE_CALL = 10_000_000_000_000n; constant GAS_FOR_NFT_ON_TRANSFER (line 16) | const GAS_FOR_NFT_ON_TRANSFER = BASE_GAS + PROMISE_CALL; type ValueReturnInterface (line 18) | interface ValueReturnInterface { class TokenReceiver (line 23) | class TokenReceiver method constructor (line 28) | constructor() { method init (line 33) | init({ method nft_on_transfer (line 42) | nft_on_transfer({ method ok_go (line 91) | ok_go({ return_it }: { return_it: boolean }): PromiseOrValue { FILE: examples/src/parking-lot.ts class CarSpecs (line 3) | class CarSpecs { method constructor (line 9) | constructor(id: number, color: string, price: number, engine: Engine) { class Engine (line 17) | class Engine { method constructor (line 20) | constructor(hp: number) { method run (line 24) | run(): string { class ParkingLot (line 34) | class ParkingLot { method constructor (line 37) | constructor() { method addCar (line 42) | addCar({ method removeCar (line 64) | removeCar({ name }: { name: string }) { method getCarSpecs (line 70) | getCarSpecs({ name }: { name: string }): CarSpecs { method runCar (line 76) | runCar({ name }: { name: string }) { FILE: examples/src/programmatic-updates/programmatic-update-after.ts class ProgrammaticUpdateAfter (line 4) | class ProgrammaticUpdateAfter { method init (line 8) | init({ manager }: { manager: string }) { method view_greeting (line 14) | view_greeting(): string { function updateContract (line 19) | function updateContract() { FILE: examples/src/programmatic-updates/programmatic-update-before.ts class ProgrammaticUpdateBefore (line 4) | class ProgrammaticUpdateBefore { method init (line 8) | init({ manager }: { manager: string }) { method get_greeting (line 14) | get_greeting(): string { function updateContract (line 19) | function updateContract() { FILE: examples/src/state-migration/state-migration-new.ts type OldMessageFormat (line 4) | type OldMessageFormat = { type NewMessageFormat (line 11) | type NewMessageFormat = { class MigrationDemo (line 19) | class MigrationDemo { method constructor (line 22) | constructor() { method addMessage (line 27) | addMessage({ message }: { method countMessages (line 35) | countMessages(): number { method migrateState (line 41) | migrateState(): Vector { FILE: examples/src/state-migration/state-migration-original.ts type Message (line 4) | type Message = { class MigrationDemo (line 11) | class MigrationDemo { method constructor (line 14) | constructor() { method addMessage (line 19) | addMessage({ message }: { method countMessages (line 27) | countMessages(): number { FILE: examples/src/status-deserialize-class.js class Car (line 12) | class Car { method constructor (line 17) | constructor() { method info (line 22) | info() { class Truck (line 27) | class Truck { method constructor (line 33) | constructor() { method info (line 39) | info() { class StatusDeserializeClass (line 48) | class StatusDeserializeClass { method constructor (line 61) | constructor() { method init_contract (line 85) | @call({}) method is_contract_inited (line 94) | @view({}) method set_record (line 100) | @call({}) method get_record (line 107) | @view({}) method set_truck_info (line 114) | @call({}) method add_truck_load (line 129) | @call({}) method get_truck_info (line 136) | @view({}) method get_user_car_info (line 142) | @view({}) method push_message (line 152) | @call({}) method get_messages (line 159) | @view({}) method set_nested_efficient_recordes (line 165) | @call({}) method set_big_num_and_date (line 202) | @call({}) method get_big_num (line 210) | @view({}) method get_date (line 216) | @view({}) method get_efficient_recordes (line 222) | @view({}) method get_nested_efficient_recordes (line 228) | @view({}) method get_nested_lookup_recordes (line 236) | @view({}) method get_vector_nested_group (line 244) | @view({}) method get_lookup_nested_vec (line 250) | @view({}) method get_is_contains_user (line 256) | @view({}) method set_extra_data (line 262) | @call({}) method get_extra_msg (line 270) | @view({}) method get_extra_number (line 276) | @view({}) method set_extra_record (line 282) | @call({}) method get_extra_record (line 289) | @view({}) method get_subtype_of_efficient_recordes (line 295) | @view({}) method get_subtype_of_nested_efficient_recordes (line 301) | @view({}) method get_subtype_of_nested_lookup_recordes (line 307) | @view({}) FILE: examples/src/status-message/status-message-borsh.js method serializer (line 9) | serializer(statusMessage) { method deserializer (line 12) | deserializer(value) { class StatusMessage (line 16) | class StatusMessage { method constructor (line 17) | constructor() { method set_status (line 21) | @call({}) method get_status (line 28) | @view({}) FILE: examples/src/status-message/status-message-collections.js class StatusMessage (line 11) | class StatusMessage { method constructor (line 12) | constructor() { method set_status (line 17) | @call({}) method get_status (line 25) | @view({}) method has_status (line 31) | @view({}) method get_all_statuses (line 37) | @view({}) FILE: examples/src/status-message/status-message-deserialize-err.js method deserializer (line 4) | deserializer(_value) { class StatusMessage (line 8) | class StatusMessage { method constructor (line 9) | constructor() { method set_status (line 13) | @call({}) method get_status (line 20) | @view({}) FILE: examples/src/status-message/status-message-migrate-add-field.js class OldStatusMessage (line 3) | class OldStatusMessage { method constructor (line 4) | constructor() { class StatusMessage (line 10) | class StatusMessage { method constructor (line 11) | constructor() { method set_status (line 16) | @call({}) method set_new_status (line 23) | @call({}) method get_status (line 30) | @view({}) method get_new_status (line 36) | @view({}) method migrateState (line 43) | @migrate({}) FILE: examples/src/status-message/status-message-serialize-err.js method serializer (line 4) | serializer(_value) { class StatusMessage (line 8) | class StatusMessage { method constructor (line 9) | constructor() { method set_status (line 13) | @call({}) method get_status (line 20) | @view({}) FILE: examples/src/status-message/status-message.js class StatusMessage (line 4) | class StatusMessage { method constructor (line 5) | constructor() { method set_status (line 9) | @call({}) method get_status (line 16) | @view({}) FILE: packages/near-contract-standards/lib/event.js class NearEvent (line 2) | class NearEvent { method internal_to_json_string (line 3) | internal_to_json_string() { method internal_to_json_event_string (line 6) | internal_to_json_event_string() { method emit (line 13) | emit() { FILE: packages/near-contract-standards/lib/fungible_token/core.d.ts type FungibleTokenCore (line 54) | interface FungibleTokenCore { FILE: packages/near-contract-standards/lib/fungible_token/core_impl.d.ts class FungibleToken (line 16) | class FungibleToken implements FungibleTokenCore, StorageManagement, Fun... FILE: packages/near-contract-standards/lib/fungible_token/core_impl.js constant GAS_FOR_RESOLVE_TRANSFER (line 6) | const GAS_FOR_RESOLVE_TRANSFER = 15000000000000n; constant GAS_FOR_FT_TRANSFER_CALL (line 7) | const GAS_FOR_FT_TRANSFER_CALL = 25000000000000n + GAS_FOR_RESOLVE_TRANS... constant ERR_TOTAL_SUPPLY_OVERFLOW (line 8) | const ERR_TOTAL_SUPPLY_OVERFLOW = "Total supply overflow"; class FungibleToken (line 19) | class FungibleToken { method constructor (line 20) | constructor() { method init (line 27) | init(prefix) { method measure_account_storage_usage (line 35) | measure_account_storage_usage() { method internal_unwrap_balance_of (line 42) | internal_unwrap_balance_of(account_id) { method internal_deposit (line 49) | internal_deposit(account_id, amount) { method internal_withdraw (line 56) | internal_withdraw(account_id, amount) { method internal_transfer (line 66) | internal_transfer(sender_id, receiver_id, amount, memo) { method internal_register_account (line 73) | internal_register_account(account_id) { method internal_ft_resolve_transfer (line 83) | internal_ft_resolve_transfer(sender_id, receiver_id, amount) { method ft_transfer (line 134) | ft_transfer({ receiver_id, amount, memo }) { method ft_transfer_call (line 140) | ft_transfer_call({ receiver_id, amount, memo, msg }) { method ft_total_supply (line 155) | ft_total_supply() { method ft_balance_of (line 158) | ft_balance_of({ account_id }) { method internal_storage_unregister (line 165) | internal_storage_unregister(force) { method internal_storage_balance_of (line 185) | internal_storage_balance_of(account_id) { method storage_deposit (line 196) | storage_deposit({ account_id, registration_only, }) { method storage_withdraw (line 226) | storage_withdraw({ amount }) { method storage_unregister (line 241) | storage_unregister({ force }) { method storage_balance_bounds (line 244) | storage_balance_bounds() { method storage_balance_of (line 248) | storage_balance_of({ account_id }) { method ft_resolve_transfer (line 252) | ft_resolve_transfer({ sender_id, receiver_id, amount }) { method reconstruct (line 262) | static reconstruct(data) { FILE: packages/near-contract-standards/lib/fungible_token/events.d.ts type Nep141EventKind (line 20) | type Nep141EventKind = FtMint[] | FtTransfer[] | FtBurn[]; class Nep141Event (line 21) | class Nep141Event extends NearEvent { class FtMint (line 29) | class FtMint { class FtTransfer (line 46) | class FtTransfer { class FtBurn (line 62) | class FtBurn { FILE: packages/near-contract-standards/lib/fungible_token/events.js class Nep141Event (line 19) | class Nep141Event extends NearEvent { method constructor (line 20) | constructor(version, event_kind) { class FtMint (line 29) | class FtMint { method constructor (line 30) | constructor(owner_id, amount, memo) { method emit (line 38) | emit() { method emit_many (line 44) | emit_many(data) { class FtTransfer (line 51) | class FtTransfer { method constructor (line 52) | constructor(old_owner_id, new_owner_id, amount, memo) { method emit (line 61) | emit() { method emit_many (line 67) | emit_many(data) { class FtBurn (line 72) | class FtBurn { method constructor (line 73) | constructor(owner_id, amount, memo) { method emit (line 81) | emit() { method emit_many (line 87) | emit_many(data) { function new_141 (line 91) | function new_141(version, event_kind) { function new_141_v1 (line 94) | function new_141_v1(event_kind) { FILE: packages/near-contract-standards/lib/fungible_token/metadata.d.ts class FungibleTokenMetadata (line 5) | class FungibleTokenMetadata { type FungibleTokenMetadataProvider (line 16) | interface FungibleTokenMetadataProvider { FILE: packages/near-contract-standards/lib/fungible_token/metadata.js constant FT_METADATA_SPEC (line 2) | const FT_METADATA_SPEC = "ft-1.0.0"; class FungibleTokenMetadata (line 6) | class FungibleTokenMetadata { method constructor (line 7) | constructor(spec, name, symbol, icon, referance, referance_hash, decim... method assert_valid (line 16) | assert_valid() { FILE: packages/near-contract-standards/lib/fungible_token/receiver.d.ts type FungibleTokenReceiver (line 31) | interface FungibleTokenReceiver { FILE: packages/near-contract-standards/lib/fungible_token/resolver.d.ts type FungibleTokenResolver (line 42) | interface FungibleTokenResolver { FILE: packages/near-contract-standards/lib/non_fungible_token/approval/approval_receiver.d.ts type NonFungibleTokenApprovalReceiver (line 4) | interface NonFungibleTokenApprovalReceiver { FILE: packages/near-contract-standards/lib/non_fungible_token/approval/index.d.ts type NonFungibleTokenApproval (line 14) | interface NonFungibleTokenApproval { FILE: packages/near-contract-standards/lib/non_fungible_token/core/index.d.ts type NonFungibleTokenCore (line 59) | interface NonFungibleTokenCore { FILE: packages/near-contract-standards/lib/non_fungible_token/core/receiver.d.ts type NonFungibleTokenReceiver (line 43) | interface NonFungibleTokenReceiver { FILE: packages/near-contract-standards/lib/non_fungible_token/core/resolver.d.ts type NonFungibleTokenResolver (line 40) | interface NonFungibleTokenResolver { FILE: packages/near-contract-standards/lib/non_fungible_token/enumeration/index.d.ts type NonFungibleTokenEnumeration (line 4) | interface NonFungibleTokenEnumeration { FILE: packages/near-contract-standards/lib/non_fungible_token/events.d.ts type Nep171EventKind (line 19) | type Nep171EventKind = NftMint[] | NftTransfer[] | NftBurn[] | NftContra... class Nep171Event (line 20) | class Nep171Event extends NearEvent { class NftMint (line 28) | class NftMint { class NftTransfer (line 42) | class NftTransfer { class NftBurn (line 57) | class NftBurn { class NftContractMetadataUpdate (line 71) | class NftContractMetadataUpdate { FILE: packages/near-contract-standards/lib/non_fungible_token/events.js class Nep171Event (line 3) | class Nep171Event extends NearEvent { method constructor (line 4) | constructor(version, event_kind) { class NftMint (line 13) | class NftMint { method constructor (line 14) | constructor(owner_id, token_ids, memo) { method emit (line 21) | emit() { method emit_many (line 26) | static emit_many(data) { class NftTransfer (line 32) | class NftTransfer { method constructor (line 33) | constructor(old_owner_id, new_owner_id, token_ids, authorized_id, memo) { method emit (line 42) | emit() { method emit_many (line 47) | static emit_many(data) { class NftBurn (line 52) | class NftBurn { method constructor (line 53) | constructor(owner_id, token_ids, authorized_id, memo) { method emit (line 61) | emit() { method emit_many (line 66) | static emit_many(data) { class NftContractMetadataUpdate (line 71) | class NftContractMetadataUpdate { method constructor (line 72) | constructor(memo) { method emit (line 77) | emit() { method emit_many (line 82) | static emit_many(data) { function new_171 (line 86) | function new_171(version, event_kind) { function new_171_v1 (line 89) | function new_171_v1(event_kind) { FILE: packages/near-contract-standards/lib/non_fungible_token/impl.d.ts class NonFungibleToken (line 19) | class NonFungibleToken implements NonFungibleTokenCore, NonFungibleToken... type StorageKey (line 96) | type StorageKey = TokensPerOwner | TokenPerOwnerInner; class TokensPerOwner (line 97) | class TokensPerOwner implements IntoStorageKey { class TokenPerOwnerInner (line 102) | class TokenPerOwnerInner implements IntoStorageKey { FILE: packages/near-contract-standards/lib/non_fungible_token/impl.js constant GAS_FOR_RESOLVE_TRANSFER (line 6) | const GAS_FOR_RESOLVE_TRANSFER = 16000000000000n; constant GAS_FOR_NFT_TRANSFER_CALL (line 7) | const GAS_FOR_NFT_TRANSFER_CALL = 30000000000000n + GAS_FOR_RESOLVE_TRAN... constant GAS_FOR_NFT_APPROVE (line 8) | const GAS_FOR_NFT_APPROVE = 21000000000000n; function repeat (line 9) | function repeat(str, n) { function expect_token_found (line 12) | function expect_token_found(option) { function expect_approval (line 18) | function expect_approval(option) { class NonFungibleToken (line 34) | class NonFungibleToken { method constructor (line 35) | constructor() { method nft_total_supply (line 44) | nft_total_supply() { method enum_get_token (line 47) | enum_get_token(owner_id, token_id) { method nft_tokens (line 56) | nft_tokens({ from_index, limit, }) { method nft_supply_for_owner (line 70) | nft_supply_for_owner({ account_id }) { method nft_tokens_for_owner (line 78) | nft_tokens_for_owner({ account_id, from_index, limit, }) { method nft_approve (line 98) | nft_approve({ token_id, account_id, msg, }) { method nft_revoke (line 121) | nft_revoke({ token_id, account_id, }) { method nft_revoke_all (line 146) | nft_revoke_all({ token_id }) { method nft_is_approved (line 161) | nft_is_approved({ token_id, approved_account_id, approval_id, }) { method init (line 180) | init(owner_by_id_prefix, owner_id, token_metadata_prefix, enumeration_... method reconstruct (line 205) | static reconstruct(data) { method measure_min_token_storage_cost (line 223) | measure_min_token_storage_cost() { method internal_transfer_unguarded (line 267) | internal_transfer_unguarded(token_id, from, to) { method internal_transfer (line 293) | internal_transfer(sender_id, receiver_id, token_id, approval_id, memo) { method emit_transfer (line 319) | static emit_transfer(owner_id, receiver_id, token_id, sender_id, memo) { method internal_mint (line 322) | internal_mint(token_id, token_owner_id, token_metadata) { method internal_mint_with_refund (line 327) | internal_mint_with_refund(token_id, token_owner_id, token_metadata, re... method nft_transfer (line 358) | nft_transfer({ receiver_id, token_id, approval_id, memo, }) { method nft_transfer_call (line 363) | nft_transfer_call({ receiver_id, token_id, approval_id, memo, msg, }) { method nft_token (line 378) | nft_token({ token_id }) { method nft_resolve_transfer (line 389) | nft_resolve_transfer({ previous_owner_id, receiver_id, token_id, appro... class TokensPerOwner (line 446) | class TokensPerOwner { method constructor (line 447) | constructor(account_hash) { method into_storage_key (line 450) | into_storage_key() { class TokenPerOwnerInner (line 454) | class TokenPerOwnerInner { method constructor (line 455) | constructor(account_id_hash) { method into_storage_key (line 458) | into_storage_key() { FILE: packages/near-contract-standards/lib/non_fungible_token/metadata.d.ts class NFTContractMetadata (line 5) | class NFTContractMetadata { class TokenMetadata (line 19) | class TokenMetadata { type NonFungibleTokenMetadataProvider (line 48) | interface NonFungibleTokenMetadataProvider { FILE: packages/near-contract-standards/lib/non_fungible_token/metadata.js constant NFT_METADATA_SPEC (line 3) | const NFT_METADATA_SPEC = "nft-1.0.0"; class NFTContractMetadata (line 5) | class NFTContractMetadata { method constructor (line 6) | constructor() { method init (line 15) | init(spec, name, symbol, icon, base_uri, reference, reference_hash) { method assert_valid (line 24) | assert_valid() { method reconstruct (line 31) | static reconstruct(data) { class TokenMetadata (line 38) | class TokenMetadata { method constructor (line 39) | constructor(title, // ex. "Arch Nemesis: Mail Carrier" or "Parcel #5055" method assert_valid (line 65) | assert_valid() { method reconstruct (line 75) | static reconstruct(data) { FILE: packages/near-contract-standards/lib/non_fungible_token/token.d.ts type TokenId (line 4) | type TokenId = string; class Token (line 6) | class Token { FILE: packages/near-contract-standards/lib/non_fungible_token/token.js class Token (line 2) | class Token { method constructor (line 3) | constructor(token_id, owner_id, metadata, approved_account_ids) { FILE: packages/near-contract-standards/lib/non_fungible_token/utils.d.ts type Option (line 11) | type Option = T | null; FILE: packages/near-contract-standards/lib/non_fungible_token/utils.js function refund_storage_deposit (line 2) | function refund_storage_deposit(account_id, storage_released) { function refund_deposit_to_account (line 7) | function refund_deposit_to_account(storage_used, account_id) { function refund_deposit (line 19) | function refund_deposit(storage_used) { function hash_account_id (line 22) | function hash_account_id(account_id) { function assert_at_least_one_yocto (line 26) | function assert_at_least_one_yocto() { function assert_one_yocto (line 30) | function assert_one_yocto() { FILE: packages/near-contract-standards/lib/storage_management/index.d.ts class StorageBalance (line 3) | class StorageBalance { class StorageBalanceBounds (line 8) | class StorageBalanceBounds { type StorageManagement (line 13) | interface StorageManagement { FILE: packages/near-contract-standards/lib/storage_management/index.js class StorageBalance (line 1) | class StorageBalance { method constructor (line 2) | constructor(total, available) { class StorageBalanceBounds (line 7) | class StorageBalanceBounds { method constructor (line 8) | constructor(min, max) { FILE: packages/near-contract-standards/src/event.ts method internal_to_json_string (line 5) | private internal_to_json_string(): string { method internal_to_json_event_string (line 9) | private internal_to_json_event_string(): string { method emit (line 17) | emit(): void { FILE: packages/near-contract-standards/src/fungible_token/core.ts type FungibleTokenCore (line 55) | interface FungibleTokenCore { FILE: packages/near-contract-standards/src/fungible_token/core_impl.ts constant GAS_FOR_RESOLVE_TRANSFER (line 23) | const GAS_FOR_RESOLVE_TRANSFER: Gas = 15_000_000_000_000n; constant GAS_FOR_FT_TRANSFER_CALL (line 24) | const GAS_FOR_FT_TRANSFER_CALL: Gas = 25_000_000_000_000n + GAS_FOR_RESO... constant ERR_TOTAL_SUPPLY_OVERFLOW (line 25) | const ERR_TOTAL_SUPPLY_OVERFLOW: string = "Total supply overflow"; class FungibleToken (line 37) | class FungibleToken implements FungibleTokenCore, StorageManagement, Fun... method constructor (line 47) | constructor() { method init (line 53) | init(prefix: IntoStorageKey) { method measure_account_storage_usage (line 63) | measure_account_storage_usage() { method internal_unwrap_balance_of (line 71) | internal_unwrap_balance_of(account_id: AccountId): Balance { method internal_deposit (line 79) | internal_deposit(account_id: AccountId, amount: Balance) { method internal_withdraw (line 87) | internal_withdraw(account_id: AccountId, amount: Balance) { method internal_transfer (line 98) | internal_transfer( method internal_register_account (line 111) | internal_register_account(account_id: AccountId) { method internal_ft_resolve_transfer (line 122) | internal_ft_resolve_transfer(sender_id: AccountId, receiver_id: Accoun... method ft_transfer (line 182) | ft_transfer({ method ft_transfer_call (line 197) | ft_transfer_call({ method ft_total_supply (line 231) | ft_total_supply(): Balance { method ft_balance_of (line 235) | ft_balance_of({ account_id }: { account_id: AccountId }): Balance { method internal_storage_unregister (line 243) | internal_storage_unregister(force?: boolean): Option<[AccountId, Balan... method internal_storage_balance_of (line 263) | internal_storage_balance_of(account_id: AccountId): Option) { method emit (line 55) | emit() { method emit_many (line 62) | emit_many(data: FtMint[]) { class FtTransfer (line 70) | class FtTransfer { method constructor (line 76) | constructor(old_owner_id: AccountId, new_owner_id: AccountId, amount: ... method emit (line 86) | emit() { method emit_many (line 93) | emit_many(data: FtTransfer[]) { class FtBurn (line 99) | class FtBurn { method constructor (line 104) | constructor(owner_id: AccountId, amount: Balance, memo: Option) { method emit (line 113) | emit() { method emit_many (line 120) | emit_many(data: FtBurn[]) { function new_141 (line 125) | function new_141(version: string, event_kind: Nep141EventKind): NearEvent { function new_141_v1 (line 129) | function new_141_v1(event_kind: Nep141EventKind) : NearEvent { FILE: packages/near-contract-standards/src/fungible_token/metadata.ts constant FT_METADATA_SPEC (line 7) | const FT_METADATA_SPEC: string = "ft-1.0.0"; class FungibleTokenMetadata (line 12) | class FungibleTokenMetadata { method constructor (line 21) | constructor( method assert_valid (line 39) | assert_valid() { type FungibleTokenMetadataProvider (line 50) | interface FungibleTokenMetadataProvider { FILE: packages/near-contract-standards/src/fungible_token/receiver.ts type FungibleTokenReceiver (line 32) | interface FungibleTokenReceiver { FILE: packages/near-contract-standards/src/fungible_token/resolver.ts type FungibleTokenResolver (line 43) | interface FungibleTokenResolver { FILE: packages/near-contract-standards/src/non_fungible_token/approval/approval_receiver.ts type NonFungibleTokenApprovalReceiver (line 5) | interface NonFungibleTokenApprovalReceiver { FILE: packages/near-contract-standards/src/non_fungible_token/approval/index.ts type NonFungibleTokenApproval (line 15) | interface NonFungibleTokenApproval { FILE: packages/near-contract-standards/src/non_fungible_token/core/index.ts type NonFungibleTokenCore (line 60) | interface NonFungibleTokenCore { FILE: packages/near-contract-standards/src/non_fungible_token/core/receiver.ts type NonFungibleTokenReceiver (line 5) | interface NonFungibleTokenReceiver { FILE: packages/near-contract-standards/src/non_fungible_token/core/resolver.ts type NonFungibleTokenResolver (line 41) | interface NonFungibleTokenResolver { FILE: packages/near-contract-standards/src/non_fungible_token/enumeration/index.ts type NonFungibleTokenEnumeration (line 5) | interface NonFungibleTokenEnumeration { FILE: packages/near-contract-standards/src/non_fungible_token/events.ts type Nep171EventKind (line 21) | type Nep171EventKind = NftMint[] | NftTransfer[] | NftBurn[] | NftContra... class Nep171Event (line 23) | class Nep171Event extends NearEvent { method constructor (line 29) | constructor(version: string, event_kind: Nep171EventKind) { class NftMint (line 39) | class NftMint { method constructor (line 40) | constructor( method emit (line 48) | emit() { method emit_many (line 54) | static emit_many(data: NftMint[]) { class NftTransfer (line 61) | class NftTransfer { method constructor (line 62) | constructor( method emit (line 72) | emit() { method emit_many (line 78) | static emit_many(data: NftTransfer[]) { class NftBurn (line 84) | class NftBurn { method constructor (line 85) | constructor( method emit (line 94) | emit() { method emit_many (line 100) | static emit_many(data: NftBurn[]) { class NftContractMetadataUpdate (line 106) | class NftContractMetadataUpdate { method constructor (line 107) | constructor( method emit (line 113) | emit() { method emit_many (line 119) | static emit_many(data: NftContractMetadataUpdate[]) { function new_171 (line 124) | function new_171(version: string, event_kind: Nep171EventKind): NearEvent { function new_171_v1 (line 128) | function new_171_v1(event_kind: Nep171EventKind): NearEvent { FILE: packages/near-contract-standards/src/non_fungible_token/impl.ts constant GAS_FOR_RESOLVE_TRANSFER (line 30) | const GAS_FOR_RESOLVE_TRANSFER = 16_000_000_000_000n; constant GAS_FOR_NFT_TRANSFER_CALL (line 31) | const GAS_FOR_NFT_TRANSFER_CALL = constant GAS_FOR_NFT_APPROVE (line 33) | const GAS_FOR_NFT_APPROVE = 21_000_000_000_000n; function repeat (line 35) | function repeat(str: string, n: number) { function expect_token_found (line 39) | function expect_token_found(option: Option): T { function expect_approval (line 46) | function expect_approval(option: Option): T { class NonFungibleToken (line 63) | class NonFungibleToken method constructor (line 78) | constructor() { method nft_total_supply (line 88) | nft_total_supply(): number { method enum_get_token (line 92) | private enum_get_token(owner_id: AccountId, token_id: TokenId): Token { method nft_tokens (line 102) | nft_tokens({ method nft_supply_for_owner (line 126) | nft_supply_for_owner({ account_id }: { account_id: AccountId }): number { method nft_tokens_for_owner (line 139) | nft_tokens_for_owner({ method nft_approve (line 176) | nft_approve({ method nft_revoke (line 225) | nft_revoke({ method nft_revoke_all (line 266) | nft_revoke_all({ token_id }: { token_id: TokenId }) { method nft_is_approved (line 291) | nft_is_approved({ method init (line 323) | init( method reconstruct (line 357) | static reconstruct(data: NonFungibleToken): NonFungibleToken { method measure_min_token_storage_cost (line 380) | measure_min_token_storage_cost() { method internal_transfer_unguarded (line 448) | internal_transfer_unguarded( method internal_transfer (line 482) | internal_transfer( method emit_transfer (line 527) | static emit_transfer( method internal_mint (line 543) | internal_mint( method internal_mint_with_refund (line 558) | internal_mint_with_refund( method nft_transfer (line 599) | nft_transfer({ method nft_transfer_call (line 615) | nft_transfer_call({ method nft_token (line 665) | nft_token({ token_id }: { token_id: TokenId }): Option { method nft_resolve_transfer (line 679) | nft_resolve_transfer({ type StorageKey (line 758) | type StorageKey = TokensPerOwner | TokenPerOwnerInner; class TokensPerOwner (line 760) | class TokensPerOwner implements IntoStorageKey { method constructor (line 761) | constructor(public account_hash: Uint8Array) {} method into_storage_key (line 763) | into_storage_key(): string { class TokenPerOwnerInner (line 768) | class TokenPerOwnerInner implements IntoStorageKey { method constructor (line 769) | constructor(public account_id_hash: Uint8Array) {} method into_storage_key (line 771) | into_storage_key(): string { FILE: packages/near-contract-standards/src/non_fungible_token/metadata.ts constant NFT_METADATA_SPEC (line 5) | const NFT_METADATA_SPEC = "nft-1.0.0"; class NFTContractMetadata (line 8) | class NFTContractMetadata { method constructor (line 17) | constructor() { method init (line 27) | init( method assert_valid (line 45) | assert_valid() { method reconstruct (line 56) | static reconstruct(data: NFTContractMetadata): NFTContractMetadata { class TokenMetadata (line 64) | class TokenMetadata { method constructor (line 65) | constructor( method assert_valid (line 80) | assert_valid() { method reconstruct (line 101) | static reconstruct(data: TokenMetadata): TokenMetadata { type NonFungibleTokenMetadataProvider (line 120) | interface NonFungibleTokenMetadataProvider { FILE: packages/near-contract-standards/src/non_fungible_token/token.ts type TokenId (line 5) | type TokenId = string; class Token (line 8) | class Token { method constructor (line 9) | constructor( FILE: packages/near-contract-standards/src/non_fungible_token/utils.ts function refund_storage_deposit (line 3) | function refund_storage_deposit( function refund_deposit_to_account (line 15) | function refund_deposit_to_account( function refund_deposit (line 36) | function refund_deposit(storage_used: bigint): void { function hash_account_id (line 40) | function hash_account_id(account_id: AccountId): Uint8Array { function assert_at_least_one_yocto (line 45) | function assert_at_least_one_yocto(): void { function assert_one_yocto (line 53) | function assert_one_yocto(): void { type Option (line 60) | type Option = T | null; FILE: packages/near-contract-standards/src/storage_management/index.ts class StorageBalance (line 4) | class StorageBalance { method constructor (line 8) | constructor(total: Balance, available: Balance) { class StorageBalanceBounds (line 14) | class StorageBalanceBounds { method constructor (line 15) | constructor(min: Balance, max: Option) { type StorageManagement (line 24) | interface StorageManagement { FILE: packages/near-sdk-js/builder/builder.c function JSContext (line 6) | static JSContext *JS_NewCustomContext(JSRuntime *rt) function JSValue (line 162) | static JSValue near_read_register(JSContext *ctx, JSValueConst this_val,... function JSValue (line 183) | static JSValue near_register_len(JSContext *ctx, JSValueConst this_val, ... function JSValue (line 194) | static JSValue near_write_register(JSContext *ctx, JSValueConst this_val... function JSValue (line 212) | static JSValue near_current_account_id(JSContext *ctx, JSValueConst this... function JSValue (line 223) | static JSValue near_signer_account_id(JSContext *ctx, JSValueConst this_... function JSValue (line 233) | static JSValue near_signer_account_pk(JSContext *ctx, JSValueConst this_... function JSValue (line 243) | static JSValue near_predecessor_account_id(JSContext *ctx, JSValueConst ... function JSValue (line 253) | static JSValue near_input(JSContext *ctx, JSValueConst this_val, int arg... function JSValue (line 264) | static JSValue near_block_index(JSContext *ctx, JSValueConst this_val, i... function JSValue (line 272) | static JSValue near_block_timestamp(JSContext *ctx, JSValueConst this_va... function JSValue (line 280) | static JSValue near_epoch_height(JSContext *ctx, JSValueConst this_val, ... function JSValue (line 288) | static JSValue near_storage_usage(JSContext *ctx, JSValueConst this_val,... function JSValue (line 297) | static JSValue u128_to_quickjs(JSContext *ctx, uint64_t* ptr) { function quickjs_bigint_to_u128 (line 317) | static int quickjs_bigint_to_u128(JSContext *ctx, JSValueConst val, uint... function quickjs_int_to_u128 (line 341) | static int quickjs_int_to_u128(JSContext *ctx, JSValueConst val, uint64_... function quickjs_to_u128 (line 349) | static int quickjs_to_u128(JSContext *ctx, JSValueConst val, uint64_t* p... function JSValue (line 357) | static JSValue near_account_balance(JSContext *ctx, JSValueConst this_va... function JSValue (line 365) | static JSValue near_account_locked_balance(JSContext *ctx, JSValueConst ... function JSValue (line 373) | static JSValue near_attached_deposit(JSContext *ctx, JSValueConst this_v... function JSValue (line 381) | static JSValue near_prepaid_gas(JSContext *ctx, JSValueConst this_val, i... function JSValue (line 389) | static JSValue near_used_gas(JSContext *ctx, JSValueConst this_val, int ... function JSValue (line 397) | static JSValue near_random_seed(JSContext *ctx, JSValueConst this_val, i... function JSValue (line 408) | static JSValue near_sha256(JSContext *ctx, JSValueConst this_val, int ar... function JSValue (line 426) | static JSValue near_keccak256(JSContext *ctx, JSValueConst this_val, int... function JSValue (line 443) | static JSValue near_keccak512(JSContext *ctx, JSValueConst this_val, int... function JSValue (line 461) | static JSValue near_ripemd160(JSContext *ctx, JSValueConst this_val, int... function JSValue (line 479) | static JSValue near_ecrecover(JSContext *ctx, JSValueConst this_val, int... function JSValue (line 507) | static JSValue near_value_return(JSContext *ctx, JSValueConst this_val, ... function JSValue (line 520) | static JSValue near_panic(JSContext *ctx, JSValueConst this_val, int arg... function JSValue (line 534) | static JSValue near_panic_utf8(JSContext *ctx, JSValueConst this_val, in... function JSValue (line 548) | static JSValue near_log(JSContext *ctx, JSValueConst this_val, int argc,... function JSValue (line 559) | static JSValue near_log_utf8(JSContext *ctx, JSValueConst this_val, int ... function JSValue (line 573) | static JSValue near_log_utf16(JSContext *ctx, JSValueConst this_val, int... function JSValue (line 587) | static JSValue near_promise_create(JSContext *ctx, JSValueConst this_val... function JSValue (line 613) | static JSValue near_promise_then(JSContext *ctx, JSValueConst this_val, ... function JSValue (line 643) | static JSValue near_promise_and(JSContext *ctx, JSValueConst this_val, i... function JSValue (line 656) | static JSValue near_promise_batch_create(JSContext *ctx, JSValueConst th... function JSValue (line 667) | static JSValue near_promise_batch_then(JSContext *ctx, JSValueConst this... function JSValue (line 682) | static JSValue near_promise_batch_action_create_account(JSContext *ctx, ... function JSValue (line 693) | static JSValue near_promise_batch_action_deploy_contract(JSContext *ctx,... function JSValue (line 710) | static JSValue near_promise_batch_action_function_call(JSContext *ctx, J... function JSValue (line 737) | static JSValue near_promise_batch_action_transfer(JSContext *ctx, JSValu... function JSValue (line 752) | static JSValue near_promise_batch_action_stake(JSContext *ctx, JSValueCo... function JSValue (line 774) | static JSValue near_promise_batch_action_add_key_with_full_access(JSCont... function JSValue (line 795) | static JSValue near_promise_batch_action_add_key_with_function_call(JSCo... function JSValue (line 823) | static JSValue near_promise_batch_action_delete_key(JSContext *ctx, JSVa... function JSValue (line 840) | static JSValue near_promise_batch_action_function_call_weight(JSContext ... function JSValue (line 867) | static JSValue near_promise_batch_action_delete_account(JSContext *ctx, ... function JSValue (line 881) | static JSValue near_promise_results_count(JSContext *ctx, JSValueConst t... function JSValue (line 889) | static JSValue near_promise_result(JSContext *ctx, JSValueConst this_val... function JSValue (line 905) | static JSValue near_promise_return(JSContext *ctx, JSValueConst this_val... function JSValue (line 916) | static JSValue near_storage_write(JSContext *ctx, JSValueConst this_val,... function JSValue (line 937) | static JSValue near_storage_read(JSContext *ctx, JSValueConst this_val, ... function JSValue (line 955) | static JSValue near_storage_remove(JSContext *ctx, JSValueConst this_val... function JSValue (line 973) | static JSValue near_storage_has_key(JSContext *ctx, JSValueConst this_va... function JSValue (line 987) | static JSValue near_validator_stake(JSContext *ctx, JSValueConst this_va... function JSValue (line 999) | static JSValue near_validator_total_stake(JSContext *ctx, JSValueConst t... function JSValue (line 1007) | static JSValue near_utf8_string_to_uint8array(JSContext *ctx, JSValueCon... function JSValue (line 1019) | static JSValue near_latin1_string_to_uint8array(JSContext *ctx, JSValueC... function JSValue (line 1031) | static JSValue near_uint8array_to_latin1_string(JSContext *ctx, JSValueC... function JSValue (line 1044) | static JSValue near_uint8array_to_utf8_string(JSContext *ctx, JSValueCon... function JSValue (line 1057) | static JSValue near_alt_bn128_g1_multiexp(JSContext *ctx, JSValueConst t... function JSValue (line 1075) | static JSValue near_alt_bn128_g1_sum(JSContext *ctx, JSValueConst this_v... function JSValue (line 1093) | static JSValue near_alt_bn128_pairing_check(JSContext *ctx, JSValueConst... function js_add_near_host_functions (line 1107) | static void js_add_near_host_functions(JSContext* ctx) { function _start (line 1181) | void _start() {} FILE: packages/near-sdk-js/lib/api.js constant U64_MAX (line 3) | const U64_MAX = 2n ** 64n - 1n; constant EVICTED_REGISTER (line 4) | const EVICTED_REGISTER = U64_MAX - 1n; function log (line 10) | function log(...params) { function signerAccountId (line 26) | function signerAccountId() { function signerAccountPk (line 34) | function signerAccountPk() { function predecessorAccountId (line 42) | function predecessorAccountId() { function currentAccountId (line 49) | function currentAccountId() { function blockIndex (line 56) | function blockIndex() { function blockHeight (line 62) | function blockHeight() { function blockTimestamp (line 68) | function blockTimestamp() { function epochHeight (line 74) | function epochHeight() { function attachedDeposit (line 81) | function attachedDeposit() { function prepaidGas (line 87) | function prepaidGas() { function usedGas (line 93) | function usedGas() { function accountBalance (line 99) | function accountBalance() { function accountLockedBalance (line 105) | function accountLockedBalance() { function storageReadRaw (line 113) | function storageReadRaw(key) { function storageRead (line 125) | function storageRead(key) { function storageHasKeyRaw (line 137) | function storageHasKeyRaw(key) { function storageHasKey (line 145) | function storageHasKey(key) { function storageGetEvictedRaw (line 151) | function storageGetEvictedRaw() { function storageGetEvicted (line 157) | function storageGetEvicted() { function storageUsage (line 163) | function storageUsage() { function storageWriteRaw (line 172) | function storageWriteRaw(key, value) { function storageWrite (line 181) | function storageWrite(key, value) { function storageRemoveRaw (line 189) | function storageRemoveRaw(key) { function storageRemove (line 197) | function storageRemove(key) { function storageByteCost (line 203) | function storageByteCost() { function inputRaw (line 209) | function inputRaw() { function input (line 216) | function input() { function valueReturnRaw (line 224) | function valueReturnRaw(value) { function valueReturn (line 232) | function valueReturn(value) { function randomSeed (line 238) | function randomSeed() { function promiseCreateRaw (line 251) | function promiseCreateRaw(accountId, methodName, args, amount, gas) { function promiseCreate (line 263) | function promiseCreate(accountId, methodName, args, amount, gas) { function promiseThenRaw (line 276) | function promiseThenRaw(promiseIndex, accountId, methodName, args, amoun... function promiseThen (line 289) | function promiseThen(promiseIndex, accountId, methodName, args, amount, ... function promiseAnd (line 297) | function promiseAnd(...promiseIndexes) { function promiseBatchCreate (line 305) | function promiseBatchCreate(accountId) { function promiseBatchThen (line 314) | function promiseBatchThen(promiseIndex, accountId) { function promiseBatchActionCreateAccount (line 322) | function promiseBatchActionCreateAccount(promiseIndex) { function promiseBatchActionDeployContract (line 331) | function promiseBatchActionDeployContract(promiseIndex, code) { function promiseBatchActionFunctionCallRaw (line 343) | function promiseBatchActionFunctionCallRaw(promiseIndex, methodName, arg... function promiseBatchActionFunctionCall (line 355) | function promiseBatchActionFunctionCall(promiseIndex, methodName, args, ... function promiseBatchActionTransfer (line 364) | function promiseBatchActionTransfer(promiseIndex, amount) { function promiseBatchActionStake (line 374) | function promiseBatchActionStake(promiseIndex, amount, publicKey) { function promiseBatchActionAddKeyWithFullAccess (line 384) | function promiseBatchActionAddKeyWithFullAccess(promiseIndex, publicKey,... function promiseBatchActionAddKeyWithFunctionCall (line 397) | function promiseBatchActionAddKeyWithFunctionCall(promiseIndex, publicKe... function promiseBatchActionDeleteKey (line 406) | function promiseBatchActionDeleteKey(promiseIndex, publicKey) { function promiseBatchActionDeleteAccount (line 415) | function promiseBatchActionDeleteAccount(promiseIndex, beneficiaryId) { function promiseBatchActionFunctionCallWeightRaw (line 428) | function promiseBatchActionFunctionCallWeightRaw(promiseIndex, methodNam... function promiseBatchActionFunctionCallWeight (line 441) | function promiseBatchActionFunctionCallWeight(promiseIndex, methodName, ... function promiseResultsCount (line 447) | function promiseResultsCount() { function promiseResultRaw (line 455) | function promiseResultRaw(promiseIndex) { function promiseResult (line 469) | function promiseResult(promiseIndex) { function promiseReturn (line 477) | function promiseReturn(promiseIndex) { function sha256 (line 485) | function sha256(value) { function keccak256 (line 494) | function keccak256(value) { function keccak512 (line 503) | function keccak512(value) { function ripemd160 (line 512) | function ripemd160(value) { function ecrecover (line 527) | function ecrecover(hash, sig, v, malleabilityFlag) { function panicUtf8 (line 539) | function panicUtf8(msg) { function logUtf8 (line 546) | function logUtf8(msg) { function logUtf16 (line 553) | function logUtf16(msg) { function validatorStake (line 561) | function validatorStake(accountId) { function validatorTotalStake (line 568) | function validatorTotalStake() { function altBn128G1Multiexp (line 583) | function altBn128G1Multiexp(value) { function altBn128G1Sum (line 599) | function altBn128G1Sum(value) { function altBn128PairingCheck (line 618) | function altBn128PairingCheck(value) { FILE: packages/near-sdk-js/lib/cli/abi.js function parseMetadata (line 7) | function parseMetadata(packageJsonPath) { function getProgramFromFiles (line 23) | function getProgramFromFiles(files, jsonCompilerOptions, basePath = "./") { function validateNearClass (line 33) | function validateNearClass(node) { function runAbiCompilerPlugin (line 53) | function runAbiCompilerPlugin(tsFile, packageJsonPath, tsConfigJsonPath) { FILE: packages/near-sdk-js/lib/cli/build-tools/include-bytes.js method CallExpression (line 8) | CallExpression(path, { opts, file }) { FILE: packages/near-sdk-js/lib/cli/build-tools/near-bindgen-exporter.js function throwError (line 14) | function throwError(message) { function readState (line 29) | function readState(classId, methodType) { function preventDoubleInit (line 50) | function preventDoubleInit(methodType) { function ensureInitBeforeCall (line 70) | function ensureInitBeforeCall(classId, methodType) { function initializeContractClass (line 87) | function initializeContractClass(classId) { function reconstructState (line 104) | function reconstructState(classId, methodType) { function collectArguments (line 121) | function collectArguments(classId) { function callContractMethod (line 136) | function callContractMethod(methodName) { function saveToStorage (line 152) | function saveToStorage(classId, methodType) { function executePromise (line 175) | function executePromise(classId) { function createDeclaration (line 187) | function createDeclaration(classId, methodName, methodType) { method ClassDeclaration (line 225) | ClassDeclaration(path, { opts: { verbose } }) { FILE: packages/near-sdk-js/lib/cli/cli.js constant PROJECT_DIR (line 13) | const PROJECT_DIR = process.cwd(); constant NEAR_SDK_JS (line 14) | const NEAR_SDK_JS = "node_modules/near-sdk-js"; constant TSC (line 15) | const TSC = "node_modules/.bin/tsc"; constant QJSC_DIR (line 16) | const QJSC_DIR = `${NEAR_SDK_JS}/lib/cli/deps/quickjs`; constant QJSC (line 17) | const QJSC = `${NEAR_SDK_JS}/lib/cli/deps/qjsc`; function getTargetDir (line 57) | function getTargetDir(target) { function getTargetExt (line 60) | function getTargetExt(target) { function getTargetFileName (line 63) | function getTargetFileName(target) { function getRollupTarget (line 66) | function getRollupTarget(target) { function getQjscTarget (line 69) | function getQjscTarget(target) { function getContractTarget (line 72) | function getContractTarget(target) { function getContractAbi (line 75) | function getContractAbi(target) { function requireTargetExt (line 78) | function requireTargetExt(target) { function ensureTargetDirExists (line 85) | function ensureTargetDirExists(target) { function validateCom (line 93) | async function validateCom(source, { verbose = false }) { function checkTypescriptCom (line 100) | async function checkTypescriptCom(source, { verbose = false }) { function generateAbi (line 113) | async function generateAbi(source, target, packageJson, tsConfig, { verb... function createJsFileWithRollupCom (line 125) | async function createJsFileWithRollupCom(source, target, { verbose = fal... function transpileJsAndBuildWasmCom (line 135) | async function transpileJsAndBuildWasmCom(target, { verbose = false }) { function buildCom (line 152) | async function buildCom(source, target, packageJson, tsConfig, { verbose... function checkTsBuildWithTsc (line 165) | async function checkTsBuildWithTsc(sourceFileWithPath, verbose = false) { function createJsFileWithRullup (line 169) | async function createJsFileWithRullup(sourceFileWithPath, rollupTarget, ... function createHeaderFileWithQjsc (line 199) | async function createHeaderFileWithQjsc(rollupTarget, qjscTarget, verbos... function createMethodsHeaderFile (line 202) | async function createMethodsHeaderFile(rollupTarget, verbose = false) { function createWasmContract (line 216) | async function createWasmContract(qjscTarget, contractTarget, verbose = ... function wasiStubContract (line 230) | async function wasiStubContract(contractTarget, verbose = false) { FILE: packages/near-sdk-js/lib/cli/post-install.js constant DEPS (line 9) | const DEPS = "deps"; constant PLATFORM (line 13) | const PLATFORM = os.platform(); constant ARCH (line 14) | const ARCH = os.arch(); constant SUPPORTED_PLATFORMS (line 16) | const SUPPORTED_PLATFORMS = ["linux", "darwin"]; constant SUPPORTED_ARCH (line 17) | const SUPPORTED_ARCH = ["x64", "arm64"]; constant BINARYEN_VERSION (line 27) | const BINARYEN_VERSION = `0.1.16`; constant BINARYEN_VERSION_TAG (line 28) | const BINARYEN_VERSION_TAG = `v${BINARYEN_VERSION}`; constant BINARYEN_SYSTEM_NAME (line 29) | const BINARYEN_SYSTEM_NAME = PLATFORM === "linux" constant BINARYEN_ARCH_NAME (line 36) | const BINARYEN_ARCH_NAME = (ARCH == 'aarch64') ? 'ARM64' : ARCH.toUpperC... constant BINARYEN_TAR_NAME (line 37) | const BINARYEN_TAR_NAME = `binaryen-${BINARYEN_SYSTEM_NAME}-${BINARYEN_A... constant QUICK_JS_VERSION (line 43) | const QUICK_JS_VERSION = `0.1.3`; constant QUICK_JS_VERSION_TAG (line 44) | const QUICK_JS_VERSION_TAG = `v${QUICK_JS_VERSION}`; constant QUICK_JS_SYSTEM_NAME (line 45) | const QUICK_JS_SYSTEM_NAME = PLATFORM === "linux" constant QUICK_JS_ARCH_NAME (line 52) | const QUICK_JS_ARCH_NAME = ARCH === "x64" ? "X64" : ARCH === "arm64" ? "... constant QUICK_JS_TAR_NAME (line 53) | const QUICK_JS_TAR_NAME = `${QUICK_JS_VERSION_TAG}.tar.gz`; constant QUICK_JS_DOWNLOADED_FOLDER_NAME (line 54) | const QUICK_JS_DOWNLOADED_FOLDER_NAME = `quickjs-${QUICK_JS_VERSION}`; constant QUICK_JS_TARGET_FOLDER_NAME (line 55) | const QUICK_JS_TARGET_FOLDER_NAME = "quickjs"; constant QUICK_JS_DOWNLOADED_NAME (line 56) | const QUICK_JS_DOWNLOADED_NAME = `qjsc-${QUICK_JS_SYSTEM_NAME}-${QUICK_J... constant QUICK_JS_TARGET_NAME (line 57) | const QUICK_JS_TARGET_NAME = "qjsc"; constant WASI_SDK_MAJOR_VER (line 72) | const WASI_SDK_MAJOR_VER = 11; constant WASI_SDK_MINOR_VER (line 73) | const WASI_SDK_MINOR_VER = 0; constant WASI_SDK_DOWNLOADED_FOLDER_NAME (line 74) | const WASI_SDK_DOWNLOADED_FOLDER_NAME = `wasi-sdk-${WASI_SDK_MAJOR_VER}.... constant WASI_SDK_SYSTEM_NAME (line 75) | const WASI_SDK_SYSTEM_NAME = PLATFORM === "linux" constant WASI_SDK_TAR_NAME (line 82) | const WASI_SDK_TAR_NAME = `${WASI_SDK_DOWNLOADED_FOLDER_NAME}-${WASI_SDK... FILE: packages/near-sdk-js/lib/cli/utils.js function executeCommand (line 8) | async function executeCommand(command, verbose = false) { function download (line 38) | async function download(url, verbose = false) { constant UNINITIALIZED_PARAMETERS_ERROR (line 41) | const UNINITIALIZED_PARAMETERS_ERROR = "All parameters must be initializ... function validateContract (line 48) | async function validateContract(contractPath, verbose = false) { FILE: packages/near-sdk-js/lib/collections/lookup-map.d.ts class LookupMap (line 6) | class LookupMap extends SubType { FILE: packages/near-sdk-js/lib/collections/lookup-map.js class LookupMap (line 7) | class LookupMap extends SubType { method constructor (line 11) | constructor(keyPrefix) { method containsKey (line 20) | containsKey(key) { method get (line 30) | get(key, options) { method remove (line 45) | remove(key, options) { method set (line 60) | set(key, newValue, options) { method extend (line 75) | extend(keyValuePairs, options) { method serialize (line 85) | serialize(options) { method reconstruct (line 93) | static reconstruct(data) { FILE: packages/near-sdk-js/lib/collections/lookup-set.d.ts class LookupSet (line 5) | class LookupSet { FILE: packages/near-sdk-js/lib/collections/lookup-set.js class LookupSet (line 6) | class LookupSet { method constructor (line 10) | constructor(keyPrefix) { method contains (line 19) | contains(key, options) { method remove (line 29) | remove(key, options) { method set (line 40) | set(key, options) { method extend (line 50) | extend(keys, options) { method serialize (line 58) | serialize(options) { method reconstruct (line 66) | static reconstruct(data) { FILE: packages/near-sdk-js/lib/collections/subtype.js class SubType (line 1) | class SubType { method subtype (line 4) | subtype() { } method set_reconstructor (line 5) | set_reconstructor(options) { FILE: packages/near-sdk-js/lib/collections/unordered-map.d.ts type ValueAndIndex (line 5) | type ValueAndIndex = [value: string, index: number]; class UnorderedMap (line 9) | class UnorderedMap extends SubType { class UnorderedMapIterator (line 90) | class UnorderedMapIterator { FILE: packages/near-sdk-js/lib/collections/unordered-map.js class UnorderedMap (line 8) | class UnorderedMap extends SubType { method constructor (line 12) | constructor(prefix) { method length (line 21) | get length() { method isEmpty (line 27) | isEmpty() { method get (line 36) | get(key, options) { method set (line 52) | set(key, value, options) { method remove (line 71) | remove(key, options) { method clear (line 91) | clear() { method createIteratorWithOptions (line 106) | createIteratorWithOptions(options) { method toArray (line 116) | toArray(options) { method extend (line 129) | extend(keyValuePairs) { method serialize (line 139) | serialize(options) { method reconstruct (line 147) | static reconstruct(data) { method keys (line 156) | keys({ start, limit }) { method [Symbol.iterator] (line 98) | [Symbol.iterator]() { class UnorderedMapIterator (line 173) | class UnorderedMapIterator { method constructor (line 178) | constructor(unorderedMap, options) { method subtype (line 186) | subtype() { } method next (line 187) | next() { FILE: packages/near-sdk-js/lib/collections/unordered-set.d.ts class UnorderedSet (line 6) | class UnorderedSet { FILE: packages/near-sdk-js/lib/collections/unordered-set.js function serializeIndex (line 4) | function serializeIndex(index) { function deserializeIndex (line 9) | function deserializeIndex(rawIndex) { class UnorderedSet (line 16) | class UnorderedSet { method constructor (line 20) | constructor(prefix) { method length (line 28) | get length() { method isEmpty (line 34) | isEmpty() { method contains (line 43) | contains(element, options) { method set (line 54) | set(element, options) { method remove (line 71) | remove(element, options) { method clear (line 104) | clear(options) { method createIteratorWithOptions (line 119) | createIteratorWithOptions(options) { method toArray (line 129) | toArray(options) { method extend (line 142) | extend(elements) { method serialize (line 152) | serialize(options) { method reconstruct (line 160) | static reconstruct(data) { method elements (line 168) | elements({ options, start, limit, }) { method [Symbol.iterator] (line 111) | [Symbol.iterator]() { FILE: packages/near-sdk-js/lib/collections/vector.d.ts class Vector (line 7) | class Vector extends SubType { class VectorIterator (line 95) | class VectorIterator { FILE: packages/near-sdk-js/lib/collections/vector.js function indexToKey (line 4) | function indexToKey(prefix, index) { class Vector (line 14) | class Vector extends SubType { method constructor (line 19) | constructor(prefix, length = 0) { method isEmpty (line 27) | isEmpty() { method get (line 36) | get(index, options) { method swapRemove (line 53) | swapRemove(index, options) { method push (line 71) | push(element, options) { method pop (line 81) | pop(options) { method replace (line 99) | replace(index, element, options) { method extend (line 112) | extend(elements) { method createIteratorWithOptions (line 125) | createIteratorWithOptions(options) { method toArray (line 135) | toArray(options) { method clear (line 146) | clear() { method serialize (line 158) | serialize(options) { method reconstruct (line 166) | static reconstruct(data) { method [Symbol.iterator] (line 117) | [Symbol.iterator]() { class VectorIterator (line 174) | class VectorIterator { method constructor (line 179) | constructor(vector, options) { method next (line 184) | next() { FILE: packages/near-sdk-js/lib/near-bindgen.d.ts type EmptyParameterObject (line 1) | type EmptyParameterObject = Record; type DecoratorFunction (line 2) | type DecoratorFunction = any>(tar... type Middleware (line 37) | interface Middleware> { FILE: packages/near-sdk-js/lib/near-bindgen.js function migrate (line 8) | function migrate(_empty) { function initialize (line 19) | function initialize(_empty) { function view (line 30) | function view(_empty) { function call (line 36) | function call({ privateFunction = false, payableFunction = false, }) { function middleware (line 60) | function middleware(...middlewares) { function NearBindgen (line 77) | function NearBindgen({ requireInit = false, serializer = serialize, dese... FILE: packages/near-sdk-js/lib/promise.d.ts class CreateAccount (line 20) | class CreateAccount extends PromiseAction { class DeployContract (line 28) | class DeployContract extends PromiseAction { class FunctionCall (line 41) | class FunctionCall extends PromiseAction { class FunctionCallRaw (line 60) | class FunctionCallRaw extends PromiseAction { class FunctionCallWeight (line 79) | class FunctionCallWeight extends PromiseAction { class FunctionCallWeightRaw (line 100) | class FunctionCallWeightRaw extends PromiseAction { class Transfer (line 121) | class Transfer extends PromiseAction { class Stake (line 134) | class Stake extends PromiseAction { class AddFullAccessKey (line 149) | class AddFullAccessKey extends PromiseAction { class AddAccessKey (line 164) | class AddAccessKey extends PromiseAction { class DeleteKey (line 185) | class DeleteKey extends PromiseAction { class DeleteAccount (line 198) | class DeleteAccount extends PromiseAction { class PromiseSingle (line 206) | class PromiseSingle { class PromiseJoint (line 214) | class PromiseJoint { type PromiseSubtype (line 221) | type PromiseSubtype = PromiseSingle | PromiseJoint; class NearPromise (line 225) | class NearPromise { type PromiseOrValue (line 380) | type PromiseOrValue = NearPromise | T; FILE: packages/near-sdk-js/lib/promise.js class PromiseAction (line 6) | class PromiseAction { class CreateAccount (line 13) | class CreateAccount extends PromiseAction { method add (line 14) | add(promiseIndex) { class DeployContract (line 23) | class DeployContract extends PromiseAction { method constructor (line 27) | constructor(code) { method add (line 31) | add(promiseIndex) { class FunctionCall (line 40) | class FunctionCall extends PromiseAction { method constructor (line 47) | constructor(functionName, args, amount, gas) { method add (line 54) | add(promiseIndex) { class FunctionCallRaw (line 63) | class FunctionCallRaw extends PromiseAction { method constructor (line 70) | constructor(functionName, args, amount, gas) { method add (line 77) | add(promiseIndex) { class FunctionCallWeight (line 86) | class FunctionCallWeight extends PromiseAction { method constructor (line 94) | constructor(functionName, args, amount, gas, weight) { method add (line 102) | add(promiseIndex) { class FunctionCallWeightRaw (line 111) | class FunctionCallWeightRaw extends PromiseAction { method constructor (line 119) | constructor(functionName, args, amount, gas, weight) { method add (line 127) | add(promiseIndex) { class Transfer (line 136) | class Transfer extends PromiseAction { method constructor (line 140) | constructor(amount) { method add (line 144) | add(promiseIndex) { class Stake (line 153) | class Stake extends PromiseAction { method constructor (line 158) | constructor(amount, publicKey) { method add (line 163) | add(promiseIndex) { class AddFullAccessKey (line 172) | class AddFullAccessKey extends PromiseAction { method constructor (line 177) | constructor(publicKey, nonce) { method add (line 182) | add(promiseIndex) { class AddAccessKey (line 191) | class AddAccessKey extends PromiseAction { method constructor (line 199) | constructor(publicKey, allowance, receiverId, functionNames, nonce) { method add (line 207) | add(promiseIndex) { class DeleteKey (line 216) | class DeleteKey extends PromiseAction { method constructor (line 220) | constructor(publicKey) { method add (line 224) | add(promiseIndex) { class DeleteAccount (line 233) | class DeleteAccount extends PromiseAction { method constructor (line 237) | constructor(beneficiaryId) { method add (line 241) | add(promiseIndex) { class PromiseSingle (line 245) | class PromiseSingle { method constructor (line 246) | constructor(accountId, actions, after, promiseIndex) { method constructRecursively (line 252) | constructRecursively() { class PromiseJoint (line 264) | class PromiseJoint { method constructor (line 265) | constructor(promiseA, promiseB, promiseIndex) { method constructRecursively (line 270) | constructRecursively() { class NearPromise (line 282) | class NearPromise { method constructor (line 287) | constructor(subtype, shouldReturn) { method new (line 296) | static new(accountId) { method addAction (line 300) | addAction(action) { method createAccount (line 310) | createAccount() { method deployContract (line 318) | deployContract(code) { method functionCall (line 329) | functionCall(functionName, args, amount, gas) { method functionCallRaw (line 340) | functionCallRaw(functionName, args, amount, gas) { method functionCallWeight (line 352) | functionCallWeight(functionName, args, amount, gas, weight) { method functionCallWeightRaw (line 364) | functionCallWeightRaw(functionName, args, amount, gas, weight) { method transfer (line 372) | transfer(amount) { method stake (line 381) | stake(amount, publicKey) { method addFullAccessKey (line 390) | addFullAccessKey(publicKey) { method addFullAccessKeyWithNonce (line 400) | addFullAccessKeyWithNonce(publicKey, nonce) { method addAccessKey (line 412) | addAccessKey(publicKey, allowance, receiverId, functionNames) { method addAccessKeyWithNonce (line 425) | addAccessKeyWithNonce(publicKey, allowance, receiverId, functionNames,... method deleteKey (line 433) | deleteKey(publicKey) { method deleteAccount (line 441) | deleteAccount(beneficiaryId) { method and (line 449) | and(other) { method then (line 458) | then(other) { method asReturn (line 467) | asReturn() { method constructRecursively (line 474) | constructRecursively() { method onReturn (line 484) | onReturn() { method build (line 492) | build() { FILE: packages/near-sdk-js/lib/types/account_id.d.ts type AccountId (line 4) | type AccountId = string; FILE: packages/near-sdk-js/lib/types/collections.d.ts type GetOptions (line 4) | interface GetOptions { FILE: packages/near-sdk-js/lib/types/gas.d.ts type Gas (line 4) | type Gas = bigint; FILE: packages/near-sdk-js/lib/types/gas.js constant ONE_TERA_GAS (line 4) | const ONE_TERA_GAS = 1000000000000n; FILE: packages/near-sdk-js/lib/types/primitives.d.ts type StorageUsage (line 4) | type StorageUsage = bigint; type BlockHeight (line 8) | type BlockHeight = bigint; type EpochHeight (line 12) | type EpochHeight = bigint; type Balance (line 16) | type Balance = bigint; type Nonce (line 20) | type Nonce = bigint; type GasWeight (line 24) | type GasWeight = bigint; FILE: packages/near-sdk-js/lib/types/primitives.js constant ONE_YOCTO (line 4) | const ONE_YOCTO = 1n; constant ONE_NEAR (line 8) | const ONE_NEAR = 1000000000000000000000000n; FILE: packages/near-sdk-js/lib/types/public_key.d.ts type CurveType (line 1) | enum CurveType { class ParsePublicKeyError (line 6) | class ParsePublicKeyError extends Error { class InvalidLengthError (line 8) | class InvalidLengthError extends ParsePublicKeyError { class Base58Error (line 13) | class Base58Error extends ParsePublicKeyError { class UnknownCurve (line 17) | class UnknownCurve extends ParsePublicKeyError { class PublicKey (line 25) | class PublicKey { FILE: packages/near-sdk-js/lib/types/public_key.js function getCurveType (line 13) | function getCurveType(curveType) { function dataLength (line 22) | function dataLength(curveType) { function splitKeyTypeData (line 34) | function splitKeyTypeData(value) { function curveTypeFromStr (line 46) | function curveTypeFromStr(value) { class ParsePublicKeyError (line 56) | class ParsePublicKeyError extends Error { class InvalidLengthError (line 58) | class InvalidLengthError extends ParsePublicKeyError { method constructor (line 59) | constructor(length, expectedLength) { class Base58Error (line 65) | class Base58Error extends ParsePublicKeyError { method constructor (line 66) | constructor(error) { class UnknownCurve (line 71) | class UnknownCurve extends ParsePublicKeyError { method constructor (line 72) | constructor() { class PublicKey (line 81) | class PublicKey { method constructor (line 85) | constructor(data) { method curveType (line 96) | curveType() { method fromString (line 104) | static fromString(publicKeyString) { FILE: packages/near-sdk-js/lib/types/vm_types.d.ts type ReceiptIndex (line 4) | type ReceiptIndex = bigint; type IteratorIndex (line 8) | type IteratorIndex = bigint; type PromiseResult (line 15) | enum PromiseResult { type PromiseError (line 23) | enum PromiseError { FILE: packages/near-sdk-js/lib/utils.d.ts type Env (line 2) | interface Env { type PromiseIndex (line 11) | type PromiseIndex = number | bigint; type NearAmount (line 15) | type NearAmount = number | bigint; type Register (line 19) | type Register = number | bigint; type Mutable (line 36) | type Mutable = { class TextEncoder (line 54) | class TextEncoder { class TextDecoder (line 60) | class TextDecoder { type IntoStorageKey (line 92) | interface IntoStorageKey { FILE: packages/near-sdk-js/lib/utils.js constant TYPE_KEY (line 2) | const TYPE_KEY = "typeInfo"; constant ERR_INCONSISTENT_STATE (line 8) | const ERR_INCONSISTENT_STATE = "The collection is an inconsistent state.... constant ERR_INDEX_OUT_OF_BOUNDS (line 9) | const ERR_INDEX_OUT_OF_BOUNDS = "Index out of bounds"; constant ACCOUNT_ID_REGEX (line 10) | const ACCOUNT_ID_REGEX = /^(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a... function concat (line 17) | function concat(array1, array2) { function assert (line 29) | function assert(expression, message) { function getValueWithOptions (line 34) | function getValueWithOptions(subDatatype, value, options = {}) { function serializeValueWithOptions (line 99) | function serializeValueWithOptions(value, { serializer } = { function serialize (line 104) | function serialize(valueToSerialize) { function deserialize (line 123) | function deserialize(valueToDeserialize) { function decodeObj2class (line 139) | function decodeObj2class(class_instance, obj) { function validateAccountId (line 218) | function validateAccountId(accountId) { class TextEncoder (line 226) | class TextEncoder { method encode (line 227) | encode(s) { class TextDecoder (line 234) | class TextDecoder { method constructor (line 235) | constructor(encoding = "utf-8") { method decode (line 238) | decode(a) { function bytes (line 255) | function bytes(s) { function str (line 263) | function str(a) { function encode (line 271) | function encode(s) { function decode (line 279) | function decode(a) { FILE: packages/near-sdk-js/lib/version.js constant PACKAGE_JSON (line 3) | const PACKAGE_JSON = JSON.parse(fs.readFileSync(fileURLToPath(new URL(".... constant LIB_VERSION (line 4) | const LIB_VERSION = PACKAGE_JSON["version"]; FILE: packages/near-sdk-js/src/api.ts constant U64_MAX (line 12) | const U64_MAX = 2n ** 64n - 1n; constant EVICTED_REGISTER (line 13) | const EVICTED_REGISTER = U64_MAX - 1n; type Env (line 16) | interface Env { function log (line 160) | function log(...params: unknown[]): void { function signerAccountId (line 182) | function signerAccountId(): string { function signerAccountPk (line 191) | function signerAccountPk(): Uint8Array { function predecessorAccountId (line 200) | function predecessorAccountId(): string { function currentAccountId (line 208) | function currentAccountId(): string { function blockIndex (line 216) | function blockIndex(): bigint { function blockHeight (line 223) | function blockHeight(): bigint { function blockTimestamp (line 230) | function blockTimestamp(): bigint { function epochHeight (line 237) | function epochHeight(): bigint { function attachedDeposit (line 245) | function attachedDeposit(): bigint { function prepaidGas (line 252) | function prepaidGas(): bigint { function usedGas (line 259) | function usedGas(): bigint { function accountBalance (line 266) | function accountBalance(): bigint { function accountLockedBalance (line 273) | function accountLockedBalance(): bigint { function storageReadRaw (line 282) | function storageReadRaw(key: Uint8Array): Uint8Array | null { function storageRead (line 297) | function storageRead(key: string): string | null { function storageHasKeyRaw (line 310) | function storageHasKeyRaw(key: Uint8Array): boolean { function storageHasKey (line 319) | function storageHasKey(key: string): boolean { function storageGetEvictedRaw (line 326) | function storageGetEvictedRaw(): Uint8Array { function storageGetEvicted (line 333) | function storageGetEvicted(): string { function storageUsage (line 340) | function storageUsage(): bigint { function storageWriteRaw (line 350) | function storageWriteRaw(key: Uint8Array, value: Uint8Array): boolean { function storageWrite (line 360) | function storageWrite(key: string, value: string): boolean { function storageRemoveRaw (line 369) | function storageRemoveRaw(key: Uint8Array): boolean { function storageRemove (line 378) | function storageRemove(key: string): boolean { function storageByteCost (line 385) | function storageByteCost(): bigint { function inputRaw (line 392) | function inputRaw(): Uint8Array { function input (line 400) | function input(): string { function valueReturnRaw (line 409) | function valueReturnRaw(value: Uint8Array): void { function valueReturn (line 418) | function valueReturn(value: string): void { function randomSeed (line 425) | function randomSeed(): Uint8Array { function promiseCreateRaw (line 439) | function promiseCreateRaw( function promiseCreate (line 464) | function promiseCreate( function promiseThenRaw (line 484) | function promiseThenRaw( function promiseThen (line 512) | function promiseThen( function promiseAnd (line 535) | function promiseAnd(...promiseIndexes: PromiseIndex[]): PromiseIndex { function promiseBatchCreate (line 546) | function promiseBatchCreate(accountId: string): PromiseIndex { function promiseBatchThen (line 556) | function promiseBatchThen( function promiseBatchActionCreateAccount (line 571) | function promiseBatchActionCreateAccount( function promiseBatchActionDeployContract (line 583) | function promiseBatchActionDeployContract( function promiseBatchActionFunctionCallRaw (line 602) | function promiseBatchActionFunctionCallRaw( function promiseBatchActionFunctionCall (line 627) | function promiseBatchActionFunctionCall( function promiseBatchActionTransfer (line 649) | function promiseBatchActionTransfer( function promiseBatchActionStake (line 663) | function promiseBatchActionStake( function promiseBatchActionAddKeyWithFullAccess (line 682) | function promiseBatchActionAddKeyWithFullAccess( function promiseBatchActionAddKeyWithFunctionCall (line 704) | function promiseBatchActionAddKeyWithFunctionCall( function promiseBatchActionDeleteKey (line 728) | function promiseBatchActionDeleteKey( function promiseBatchActionDeleteAccount (line 744) | function promiseBatchActionDeleteAccount( function promiseBatchActionFunctionCallWeightRaw (line 764) | function promiseBatchActionFunctionCallWeightRaw( function promiseBatchActionFunctionCallWeight (line 792) | function promiseBatchActionFunctionCallWeight( function promiseResultsCount (line 813) | function promiseResultsCount(): bigint { function promiseResultRaw (line 822) | function promiseResultRaw(promiseIndex: PromiseIndex): Uint8Array { function promiseResult (line 844) | function promiseResult(promiseIndex: PromiseIndex): string { function promiseReturn (line 853) | function promiseReturn(promiseIndex: PromiseIndex): void { function sha256 (line 862) | function sha256(value: Uint8Array): Uint8Array { function keccak256 (line 872) | function keccak256(value: Uint8Array): Uint8Array { function keccak512 (line 882) | function keccak512(value: Uint8Array): Uint8Array { function ripemd160 (line 892) | function ripemd160(value: Uint8Array): Uint8Array { function ecrecover (line 908) | function ecrecover( function panicUtf8 (line 929) | function panicUtf8(msg: Uint8Array): never { function logUtf8 (line 937) | function logUtf8(msg: Uint8Array) { function logUtf16 (line 945) | function logUtf16(msg: Uint8Array) { function validatorStake (line 954) | function validatorStake(accountId: string): bigint { function validatorTotalStake (line 962) | function validatorTotalStake(): bigint { function altBn128G1Multiexp (line 978) | function altBn128G1Multiexp(value: Uint8Array): Uint8Array { function altBn128G1Sum (line 995) | function altBn128G1Sum(value: Uint8Array): Uint8Array { function altBn128PairingCheck (line 1015) | function altBn128PairingCheck(value: Uint8Array): boolean { FILE: packages/near-sdk-js/src/cli/abi.ts function parseMetadata (line 9) | function parseMetadata(packageJsonPath: string): abi.AbiMetadata { function getProgramFromFiles (line 27) | function getProgramFromFiles( function validateNearClass (line 45) | function validateNearClass(node: ts.Node) { function runAbiCompilerPlugin (line 70) | function runAbiCompilerPlugin( FILE: packages/near-sdk-js/src/cli/build-tools/include-bytes.ts method CallExpression (line 13) | CallExpression( FILE: packages/near-sdk-js/src/cli/build-tools/near-bindgen-exporter.ts function throwError (line 19) | function throwError(message: string): t.BlockStatement { function readState (line 37) | function readState(classId: t.Identifier, methodType: string): t.Variabl... function preventDoubleInit (line 69) | function preventDoubleInit( function ensureInitBeforeCall (line 96) | function ensureInitBeforeCall( function initializeContractClass (line 128) | function initializeContractClass(classId: t.Identifier): t.VariableDecla... function reconstructState (line 149) | function reconstructState( function collectArguments (line 179) | function collectArguments(classId: t.Identifier): t.VariableDeclaration { function callContractMethod (line 201) | function callContractMethod(methodName: string): t.VariableDeclaration { function saveToStorage (line 224) | function saveToStorage( function executePromise (line 257) | function executePromise(classId: t.Identifier): t.IfStatement { function createDeclaration (line 315) | function createDeclaration( method ClassDeclaration (line 364) | ClassDeclaration( FILE: packages/near-sdk-js/src/cli/cli.ts constant PROJECT_DIR (line 17) | const PROJECT_DIR = process.cwd(); constant NEAR_SDK_JS (line 18) | const NEAR_SDK_JS = "node_modules/near-sdk-js"; constant TSC (line 19) | const TSC = "node_modules/.bin/tsc"; constant QJSC_DIR (line 20) | const QJSC_DIR = `${NEAR_SDK_JS}/lib/cli/deps/quickjs`; constant QJSC (line 21) | const QJSC = `${NEAR_SDK_JS}/lib/cli/deps/qjsc`; function getTargetDir (line 90) | function getTargetDir(target: string): string { function getTargetExt (line 94) | function getTargetExt(target: string): string { function getTargetFileName (line 98) | function getTargetFileName(target: string): string { function getRollupTarget (line 102) | function getRollupTarget(target: string): string { function getQjscTarget (line 106) | function getQjscTarget(target: string): string { function getContractTarget (line 110) | function getContractTarget(target: string): string { function getContractAbi (line 114) | function getContractAbi(target: string): string { function requireTargetExt (line 118) | function requireTargetExt(target: string): void { function ensureTargetDirExists (line 131) | function ensureTargetDirExists(target: string): void { function validateCom (line 141) | async function validateCom( function checkTypescriptCom (line 154) | async function checkTypescriptCom( function generateAbi (line 173) | async function generateAbi( function createJsFileWithRollupCom (line 196) | async function createJsFileWithRollupCom( function transpileJsAndBuildWasmCom (line 213) | async function transpileJsAndBuildWasmCom( function buildCom (line 250) | async function buildCom( function checkTsBuildWithTsc (line 278) | async function checkTsBuildWithTsc( function createJsFileWithRullup (line 289) | async function createJsFileWithRullup( function createHeaderFileWithQjsc (line 325) | async function createHeaderFileWithQjsc( function createMethodsHeaderFile (line 336) | async function createMethodsHeaderFile(rollupTarget: string, verbose = f... function createWasmContract (line 359) | async function createWasmContract( function wasiStubContract (line 388) | async function wasiStubContract(contractTarget: string, verbose = false) { FILE: packages/near-sdk-js/src/cli/post-install.ts constant DEPS (line 12) | const DEPS = "deps"; constant PLATFORM (line 17) | const PLATFORM = os.platform(); constant ARCH (line 18) | const ARCH = os.arch(); constant SUPPORTED_PLATFORMS (line 21) | const SUPPORTED_PLATFORMS = ["linux", "darwin"]; constant SUPPORTED_ARCH (line 22) | const SUPPORTED_ARCH = ["x64", "arm64"]; constant BINARYEN_VERSION (line 36) | const BINARYEN_VERSION = `0.1.16`; constant BINARYEN_VERSION_TAG (line 37) | const BINARYEN_VERSION_TAG = `v${BINARYEN_VERSION}`; constant BINARYEN_SYSTEM_NAME (line 39) | const BINARYEN_SYSTEM_NAME = constant BINARYEN_ARCH_NAME (line 48) | const BINARYEN_ARCH_NAME = (ARCH == 'aarch64') ? 'ARM64' : ARCH.toUpperC... constant BINARYEN_TAR_NAME (line 50) | const BINARYEN_TAR_NAME = `binaryen-${BINARYEN_SYSTEM_NAME}-${BINARYEN_A... constant QUICK_JS_VERSION (line 63) | const QUICK_JS_VERSION = `0.1.3`; constant QUICK_JS_VERSION_TAG (line 64) | const QUICK_JS_VERSION_TAG = `v${QUICK_JS_VERSION}`; constant QUICK_JS_SYSTEM_NAME (line 66) | const QUICK_JS_SYSTEM_NAME = constant QUICK_JS_ARCH_NAME (line 75) | const QUICK_JS_ARCH_NAME = constant QUICK_JS_TAR_NAME (line 78) | const QUICK_JS_TAR_NAME = `${QUICK_JS_VERSION_TAG}.tar.gz`; constant QUICK_JS_DOWNLOADED_FOLDER_NAME (line 79) | const QUICK_JS_DOWNLOADED_FOLDER_NAME = `quickjs-${QUICK_JS_VERSION}`; constant QUICK_JS_TARGET_FOLDER_NAME (line 80) | const QUICK_JS_TARGET_FOLDER_NAME = "quickjs"; constant QUICK_JS_DOWNLOADED_NAME (line 81) | const QUICK_JS_DOWNLOADED_NAME = `qjsc-${QUICK_JS_SYSTEM_NAME}-${QUICK_J... constant QUICK_JS_TARGET_NAME (line 82) | const QUICK_JS_TARGET_NAME = "qjsc"; constant WASI_SDK_MAJOR_VER (line 109) | const WASI_SDK_MAJOR_VER = 11; constant WASI_SDK_MINOR_VER (line 110) | const WASI_SDK_MINOR_VER = 0; constant WASI_SDK_DOWNLOADED_FOLDER_NAME (line 111) | const WASI_SDK_DOWNLOADED_FOLDER_NAME = `wasi-sdk-${WASI_SDK_MAJOR_VER}.... constant WASI_SDK_SYSTEM_NAME (line 112) | const WASI_SDK_SYSTEM_NAME = constant WASI_SDK_TAR_NAME (line 120) | const WASI_SDK_TAR_NAME = `${WASI_SDK_DOWNLOADED_FOLDER_NAME}-${WASI_SDK... FILE: packages/near-sdk-js/src/cli/utils.ts function executeCommand (line 11) | async function executeCommand( function download (line 49) | async function download(url: string, verbose = false) { constant UNINITIALIZED_PARAMETERS_ERROR (line 53) | const UNINITIALIZED_PARAMETERS_ERROR = function validateContract (line 62) | async function validateContract( FILE: packages/near-sdk-js/src/collections/lookup-map.ts class LookupMap (line 13) | class LookupMap extends SubType { method constructor (line 17) | constructor(readonly keyPrefix: string) { method containsKey (line 26) | containsKey(key: string): boolean { method get (line 37) | get( method remove (line 57) | remove( method set (line 79) | set( method extend (line 102) | extend( method serialize (line 116) | serialize(options?: Pick, "serializer">): Uint8Ar... method reconstruct (line 125) | static reconstruct(data: LookupMap): LookupMap { method constructor (line 12) | constructor(readonly keyPrefix: string) {} method contains (line 20) | contains( method remove (line 34) | remove( method set (line 49) | set( method extend (line 63) | extend( method serialize (line 75) | serialize(options?: Pick, "serializer">): Uint8Ar... method reconstruct (line 84) | static reconstruct(data: LookupSet): LookupSet extends SubType { method constructor (line 27) | constructor(readonly prefix: string) { method length (line 36) | get length() { method isEmpty (line 43) | isEmpty(): boolean { method get (line 53) | get( method set (line 76) | set( method remove (line 105) | remove( method clear (line 136) | clear(): void { method createIteratorWithOptions (line 154) | private createIteratorWithOptions(options?: GetOptions): { method toArray (line 167) | toArray(options?: GetOptions): [string, DataType][] { method extend (line 184) | extend(keyValuePairs: [string, DataType][]) { method serialize (line 195) | serialize(options?: Pick, "serializer">): Uint8Ar... method reconstruct (line 204) | static reconstruct( method keys (line 220) | keys({ start, limit }): string[] { method [Symbol.iterator] (line 145) | [Symbol.iterator](): UnorderedMapIterator { class UnorderedMapIterator (line 238) | class UnorderedMapIterator { method constructor (line 246) | constructor( method subtype (line 257) | subtype(): any {} method next (line 259) | next(): { value: [string | null, DataType | null]; done: boolean } { FILE: packages/near-sdk-js/src/collections/unordered-set.ts function serializeIndex (line 12) | function serializeIndex(index: number) { function deserializeIndex (line 19) | function deserializeIndex(rawIndex: Uint8Array): number { class UnorderedSet (line 28) | class UnorderedSet { method constructor (line 35) | constructor(readonly prefix: string) { method length (line 43) | get length(): number { method isEmpty (line 50) | isEmpty(): boolean { method contains (line 60) | contains( method set (line 76) | set( method remove (line 101) | remove(element: DataType, options?: GetOptions): boolean { method clear (line 147) | clear(options?: Pick, "serializer">): void { method createIteratorWithOptions (line 166) | private createIteratorWithOptions(options?: GetOptions): { method toArray (line 179) | toArray(options?: GetOptions): DataType[] { method extend (line 196) | extend(elements: DataType[]): void { method serialize (line 207) | serialize(options?: Pick, "serializer">): Uint8Ar... method reconstruct (line 216) | static reconstruct( method elements (line 230) | elements({ method [Symbol.iterator] (line 157) | [Symbol.iterator](): VectorIterator { FILE: packages/near-sdk-js/src/collections/vector.ts function indexToKey (line 14) | function indexToKey(prefix: string, index: number): string { class Vector (line 26) | class Vector extends SubType { method constructor (line 31) | constructor(readonly prefix: string, public length = 0) { method isEmpty (line 38) | isEmpty(): boolean { method get (line 48) | get( method swapRemove (line 70) | swapRemove(index: number, options?: GetOptions): DataType | ... method push (line 100) | push( method pop (line 118) | pop(options?: Omit, "serializer">): DataType | nu... method replace (line 141) | replace( method extend (line 168) | extend(elements: DataType[]): void { method createIteratorWithOptions (line 183) | private createIteratorWithOptions(options?: GetOptions): { method toArray (line 196) | toArray(options?: GetOptions): DataType[] { method clear (line 211) | clear(): void { method serialize (line 225) | serialize(options?: Pick, "serializer">): Uint8Ar... method reconstruct (line 234) | static reconstruct(data: Vector): Vector { method [Symbol.iterator] (line 174) | [Symbol.iterator](): VectorIterator { class VectorIterator (line 244) | class VectorIterator { method constructor (line 251) | constructor( method next (line 256) | next(): { FILE: packages/near-sdk-js/src/near-bindgen.ts type EmptyParameterObject (line 10) | type EmptyParameterObject = Record; type AnyObject (line 11) | type AnyObject = Record; type DecoratorFunction (line 13) | type DecoratorFunction = any>( function migrate (line 24) | function migrate(_empty: EmptyParameterObject): DecoratorFunction { function initialize (line 39) | function initialize(_empty: EmptyParameterObject): DecoratorFunction { function view (line 54) | function view(_empty: EmptyParameterObject): DecoratorFunction { function call (line 77) | function call({ type Middleware (line 117) | interface Middleware> { function middleware (line 132) | function middleware>( function NearBindgen (line 173) | function NearBindgen({ FILE: packages/near-sdk-js/src/promise.ts class CreateAccount (line 23) | class CreateAccount extends PromiseAction { method add (line 24) | add(promiseIndex: PromiseIndex) { class DeployContract (line 34) | class DeployContract extends PromiseAction { method constructor (line 38) | constructor(public code: Uint8Array) { method add (line 42) | add(promiseIndex: PromiseIndex) { class FunctionCall (line 52) | class FunctionCall extends PromiseAction { method constructor (line 59) | constructor( method add (line 68) | add(promiseIndex: PromiseIndex) { class FunctionCallRaw (line 84) | class FunctionCallRaw extends PromiseAction { method constructor (line 91) | constructor( method add (line 100) | add(promiseIndex: PromiseIndex) { class FunctionCallWeight (line 116) | class FunctionCallWeight extends PromiseAction { method constructor (line 124) | constructor( method add (line 134) | add(promiseIndex: PromiseIndex) { class FunctionCallWeightRaw (line 151) | class FunctionCallWeightRaw extends PromiseAction { method constructor (line 159) | constructor( method add (line 169) | add(promiseIndex: PromiseIndex) { class Transfer (line 186) | class Transfer extends PromiseAction { method constructor (line 190) | constructor(public amount: Balance) { method add (line 194) | add(promiseIndex: PromiseIndex) { class Stake (line 204) | class Stake extends PromiseAction { method constructor (line 209) | constructor(public amount: Balance, public publicKey: PublicKey) { method add (line 213) | add(promiseIndex: PromiseIndex) { class AddFullAccessKey (line 227) | class AddFullAccessKey extends PromiseAction { method constructor (line 232) | constructor(public publicKey: PublicKey, public nonce: Nonce) { method add (line 236) | add(promiseIndex: PromiseIndex) { class AddAccessKey (line 250) | class AddAccessKey extends PromiseAction { method constructor (line 258) | constructor( method add (line 268) | add(promiseIndex: PromiseIndex) { class DeleteKey (line 285) | class DeleteKey extends PromiseAction { method constructor (line 289) | constructor(public publicKey: PublicKey) { method add (line 293) | add(promiseIndex: PromiseIndex) { class DeleteAccount (line 302) | class DeleteAccount extends PromiseAction { method constructor (line 306) | constructor(public beneficiaryId: AccountId) { method add (line 310) | add(promiseIndex: PromiseIndex) { class PromiseSingle (line 315) | class PromiseSingle { method constructor (line 316) | constructor( method constructRecursively (line 323) | constructRecursively(): PromiseIndex { class PromiseJoint (line 340) | class PromiseJoint { method constructor (line 341) | constructor( method constructRecursively (line 347) | constructRecursively(): PromiseIndex { type PromiseSubtype (line 362) | type PromiseSubtype = PromiseSingle | PromiseJoint; class NearPromise (line 367) | class NearPromise { method constructor (line 372) | constructor(private subtype: PromiseSubtype, private shouldReturn: boo... method new (line 379) | static new(accountId: AccountId): NearPromise { method addAction (line 384) | private addAction(action: PromiseAction): NearPromise { method createAccount (line 397) | createAccount(): NearPromise { method deployContract (line 406) | deployContract(code: Uint8Array): NearPromise { method functionCall (line 418) | functionCall( method functionCallRaw (line 435) | functionCallRaw( method functionCallWeight (line 453) | functionCallWeight( method functionCallWeightRaw (line 474) | functionCallWeightRaw( method transfer (line 491) | transfer(amount: Balance): NearPromise { method stake (line 501) | stake(amount: Balance, publicKey: PublicKey): NearPromise { method addFullAccessKey (line 511) | addFullAccessKey(publicKey: PublicKey): NearPromise { method addFullAccessKeyWithNonce (line 522) | addFullAccessKeyWithNonce(publicKey: PublicKey, nonce: Nonce): NearPro... method addAccessKey (line 535) | addAccessKey( method addAccessKeyWithNonce (line 560) | addAccessKeyWithNonce( method deleteKey (line 577) | deleteKey(publicKey: PublicKey): NearPromise { method deleteAccount (line 586) | deleteAccount(beneficiaryId: AccountId): NearPromise { method and (line 595) | and(other: NearPromise): NearPromise { method then (line 605) | then(other: NearPromise): NearPromise { method asReturn (line 624) | asReturn(): NearPromise { method constructRecursively (line 632) | constructRecursively(): PromiseIndex { method onReturn (line 645) | onReturn() { method build (line 654) | build(): PromiseIndex { type PromiseOrValue (line 659) | type PromiseOrValue = NearPromise | T; FILE: packages/near-sdk-js/src/types/account_id.ts type AccountId (line 4) | type AccountId = string; FILE: packages/near-sdk-js/src/types/collections.ts type GetOptions (line 4) | interface GetOptions { FILE: packages/near-sdk-js/src/types/gas.ts type Gas (line 4) | type Gas = bigint; constant ONE_TERA_GAS (line 8) | const ONE_TERA_GAS: Gas = 1_000_000_000_000n; FILE: packages/near-sdk-js/src/types/primitives.ts type StorageUsage (line 4) | type StorageUsage = bigint; type BlockHeight (line 8) | type BlockHeight = bigint; type EpochHeight (line 12) | type EpochHeight = bigint; type Balance (line 16) | type Balance = bigint; type Nonce (line 20) | type Nonce = bigint; type GasWeight (line 24) | type GasWeight = bigint; constant ONE_YOCTO (line 28) | const ONE_YOCTO: Balance = 1n; constant ONE_NEAR (line 32) | const ONE_NEAR: Balance = 1_000_000_000_000_000_000_000_000n; FILE: packages/near-sdk-js/src/types/public_key.ts type CurveType (line 4) | enum CurveType { type DataLength (line 9) | enum DataLength { function getCurveType (line 14) | function getCurveType(curveType: CurveType | number): CurveType { function dataLength (line 24) | function dataLength(curveType: CurveType | number): DataLength { function splitKeyTypeData (line 37) | function splitKeyTypeData(value: string): [CurveType, string] { function curveTypeFromStr (line 49) | function curveTypeFromStr(value: string): CurveType { class ParsePublicKeyError (line 60) | class ParsePublicKeyError extends Error {} class InvalidLengthError (line 62) | class InvalidLengthError extends ParsePublicKeyError { method constructor (line 63) | constructor(public length: number, public expectedLength: number) { class Base58Error (line 67) | class Base58Error extends ParsePublicKeyError { method constructor (line 68) | constructor(public error: string) { class UnknownCurve (line 72) | class UnknownCurve extends ParsePublicKeyError { method constructor (line 73) | constructor() { class PublicKey (line 83) | class PublicKey { method constructor (line 93) | constructor(data: Uint8Array) { method curveType (line 107) | curveType(): CurveType { method fromString (line 116) | static fromString(publicKeyString: string) { FILE: packages/near-sdk-js/src/types/vm_types.ts type ReceiptIndex (line 4) | type ReceiptIndex = bigint; type IteratorIndex (line 8) | type IteratorIndex = bigint; type PromiseResult (line 16) | enum PromiseResult { type PromiseError (line 25) | enum PromiseError { FILE: packages/near-sdk-js/src/utils.ts type Env (line 4) | interface Env { type PromiseIndex (line 16) | type PromiseIndex = number | bigint; type NearAmount (line 20) | type NearAmount = number | bigint; type Register (line 24) | type Register = number | bigint; constant TYPE_KEY (line 26) | const TYPE_KEY = "typeInfo"; type TypeBrand (line 27) | enum TypeBrand { constant ERR_INCONSISTENT_STATE (line 32) | const ERR_INCONSISTENT_STATE = constant ERR_INDEX_OUT_OF_BOUNDS (line 34) | const ERR_INDEX_OUT_OF_BOUNDS = "Index out of bounds"; constant ACCOUNT_ID_REGEX (line 36) | const ACCOUNT_ID_REGEX = function concat (line 45) | function concat(array1: Uint8Array, array2: Uint8Array): Uint8Array { function assert (line 58) | function assert( type Mutable (line 67) | type Mutable = { -readonly [P in keyof T]: T[P] }; function getValueWithOptions (line 69) | function getValueWithOptions( function serializeValueWithOptions (line 150) | function serializeValueWithOptions( function serialize (line 159) | function serialize(valueToSerialize: unknown): Uint8Array { function deserialize (line 185) | function deserialize(valueToDeserialize: Uint8Array): unknown { function decodeObj2class (line 205) | function decodeObj2class(class_instance, obj) { function validateAccountId (line 287) | function validateAccountId(accountId: string): boolean { class TextEncoder (line 298) | class TextEncoder { method encode (line 299) | encode(s: string): Uint8Array { class TextDecoder (line 307) | class TextDecoder { method constructor (line 308) | constructor(public encoding: string = "utf-8") {} method decode (line 310) | decode(a: Uint8Array): string { function bytes (line 326) | function bytes(s: string): Uint8Array { function str (line 335) | function str(a: Uint8Array): string { function encode (line 344) | function encode(s: string): Uint8Array { function decode (line 353) | function decode(a: Uint8Array): string { type IntoStorageKey (line 360) | interface IntoStorageKey { FILE: packages/near-sdk-js/src/version.ts constant PACKAGE_JSON (line 4) | const PACKAGE_JSON = JSON.parse( constant LIB_VERSION (line 10) | const LIB_VERSION: string = PACKAGE_JSON["version"]; FILE: tests/__tests__/abi/testcases/json_schema.ts type Pair (line 3) | type Pair = [number, number]; type PairNamed (line 5) | interface PairNamed { type IpAddrKind (line 10) | enum IpAddrKind { type IpV4 (line 15) | interface IpV4 { type IpV6 (line 20) | interface IpV6 { type IpAddr (line 25) | type IpAddr = IpV4 | IpV6; class Contract (line 28) | class Contract { method numeric (line 30) | numeric({ a }: { a: number }) {} method schema_string (line 33) | schema_string({ a }: { a: string }) {} method schema_other_primitives (line 36) | schema_other_primitives({ a, b }: { a: boolean; b: null }) {} method schema_tuples (line 39) | schema_tuples({ method schema_array (line 50) | schema_array({ a }: { a: boolean[] }) {} method schema_struct (line 53) | schema_struct({ a, b }: { a: Pair; b: PairNamed }) {} method schema_enum (line 56) | schema_enum({ simple, complex }: { simple: IpAddrKind; complex: IpAddr... FILE: tests/__tests__/abi/testcases/modifiers.ts class Contract (line 4) | class Contract { method add (line 6) | add({ a, b }: { a: number; b: number }): number { method add2 (line 11) | add2({ a, b }: { a: number; b: number }): number { method add3 (line 16) | add3({ a, b }: { a: number; b: number }): number { method add4 (line 21) | add4({ a, b }: { a: number; b: number }): number { method add5 (line 26) | add5({ a, b }: { a: number; b: number }): number { FILE: tests/__tests__/abi/testcases/return.ts class Contract (line 4) | class Contract { method foo (line 6) | foo() {} method bar (line 9) | bar(): number { FILE: tests/__tests__/abi/testcases/simple_function.ts class Contract (line 4) | class Contract { method add (line 6) | add({ a, b }: { a: number; b: number }): number { FILE: tests/__tests__/abi/util.js function generateAbiSnippet (line 10) | async function generateAbiSnippet(filename) { FILE: tests/__tests__/bytes.ava.js function encodeStateKey (line 89) | function encodeStateKey(k) { FILE: tests/__tests__/constructor_validation.ava.js constant BUILD_FAILURE_ERROR_CODE (line 4) | const BUILD_FAILURE_ERROR_CODE = 1; FILE: tests/__tests__/decorators/payable.ava.js constant DEPOSIT (line 4) | const DEPOSIT = 1_000_000_000; FILE: tests/src/alt_bn128_api.js function test_alt_bn128_g1_sum (line 5) | function test_alt_bn128_g1_sum() { function test_alt_bn128_g1_multiexp (line 16) | function test_alt_bn128_g1_multiexp() { function test_alt_bn128_pairing_check_valid (line 29) | function test_alt_bn128_pairing_check_valid() { function test_alt_bn128_pairing_check_invalid (line 60) | function test_alt_bn128_pairing_check_invalid() { FILE: tests/src/bigint-serialization.ts class BigIntSerializationTest (line 12) | class BigIntSerializationTest { method constructor (line 15) | constructor() { method getBigintField (line 20) | getBigintField(): bigint { method setBigintField (line 26) | setBigintField(args: { bigintField: bigint }): void { method increment (line 33) | increment(): void { FILE: tests/src/bytes.js function log_expected_input_tests (line 5) | function log_expected_input_tests() { function log_unexpected_input_tests (line 23) | function log_unexpected_input_tests() { function log_invalid_utf8_sequence_test (line 30) | function log_invalid_utf8_sequence_test() { function log_invalid_utf16_sequence_test (line 34) | function log_invalid_utf16_sequence_test() { function storage_write_bytes (line 38) | function storage_write_bytes() { function storage_write_utf8 (line 44) | function storage_write_utf8() { function storage_read_utf8 (line 48) | function storage_read_utf8() { function storage_read_ascii_bytes (line 52) | function storage_read_ascii_bytes() { function storage_read_arbitrary_bytes_key_utf8_sequence_bytes_value (line 56) | function storage_read_arbitrary_bytes_key_utf8_sequence_bytes_value() { function storage_read_utf8_sequence_bytes_key_arbitrary_bytes_value (line 60) | function storage_read_utf8_sequence_bytes_key_arbitrary_bytes_value() { function panic_test (line 64) | function panic_test() { function panic_ascii_test (line 68) | function panic_ascii_test() { function panic_js_number (line 72) | function panic_js_number() { function panic_js_undefined (line 76) | function panic_js_undefined() { function panic_js_null (line 80) | function panic_js_null() { function panic_utf8_test (line 84) | function panic_utf8_test() { function panicUtf8_valid_utf8_sequence (line 88) | function panicUtf8_valid_utf8_sequence() { function panicUtf8_invalid_utf8_sequence (line 92) | function panicUtf8_invalid_utf8_sequence() { function utf8_string_to_uint8array_tests (line 100) | function utf8_string_to_uint8array_tests() { function uint8array_to_utf8_string_tests (line 126) | function uint8array_to_utf8_string_tests() { function uint8array_to_latin1_string_tests (line 147) | function uint8array_to_latin1_string_tests() { FILE: tests/src/constructor-validation/1-parameter-not-set-in-constructor.ts class ConstructorValidation (line 4) | class ConstructorValidation { method constructor (line 7) | constructor() { FILE: tests/src/constructor-validation/all-parameters-set-in-constructor.ts class ConstructorValidation (line 4) | class ConstructorValidation { method constructor (line 7) | constructor() { method get (line 13) | get() { FILE: tests/src/constructor-validation/no-constructor.ts class ConstructorValidation (line 4) | class ConstructorValidation { FILE: tests/src/constructor-validation/no-parameters-set-in-constructor.ts class ConstructorValidation (line 4) | class ConstructorValidation { method constructor (line 7) | constructor() { FILE: tests/src/context_api.js function get_current_account_id (line 5) | function get_current_account_id() { function get_signer_account_id (line 9) | function get_signer_account_id() { function get_predecessor_account_id (line 13) | function get_predecessor_account_id() { function get_signer_account_pk (line 17) | function get_signer_account_pk() { function get_input (line 21) | function get_input() { function get_storage_usage (line 25) | function get_storage_usage() { function get_block_height (line 29) | function get_block_height() { function get_block_timestamp (line 33) | function get_block_timestamp() { function get_epoch_height (line 37) | function get_epoch_height() { function get_attached_deposit (line 41) | function get_attached_deposit() { function get_prepaid_gas (line 45) | function get_prepaid_gas() { function get_used_gas (line 49) | function get_used_gas() { function get_random_seed (line 53) | function get_random_seed() { function get_validator_stake (line 57) | function get_validator_stake() { function get_total_stake (line 61) | function get_total_stake() { FILE: tests/src/date-serialization.ts class DateSerializationTest (line 12) | class DateSerializationTest { method constructor (line 15) | constructor() { method getDateField (line 20) | getDateField(): Date { method setDateField (line 26) | setDateField(args: { dateField: Date }): void { method getDateFieldAsMilliseconds (line 33) | getDateFieldAsMilliseconds(): number { FILE: tests/src/decorators/payable.ts class PayableTest (line 17) | class PayableTest { method constructor (line 20) | constructor() { method setValueWithPayableFunction (line 25) | setValueWithPayableFunction({ value }: { value: string }): void { method setValueWithNotPayableFunction (line 31) | setValueWithNotPayableFunction({ value }: { value: string }): void { method setValueWithNotPayableFunctionByDefault (line 37) | setValueWithNotPayableFunctionByDefault({ value }: { value: string }):... method getValue (line 43) | getValue(): string { FILE: tests/src/decorators/private.ts class PrivateTest (line 17) | class PrivateTest { method constructor (line 20) | constructor() { method setValueWithPrivateFunction (line 25) | setValueWithPrivateFunction({ value }: { value: string }): void { method setValueWithNotPrivateFunction (line 31) | setValueWithNotPrivateFunction({ value }: { value: string }): void { method setValueWithNotPrivateFunctionByDefault (line 37) | setValueWithNotPrivateFunctionByDefault({ value }: { value: string }):... method getValue (line 43) | getValue(): string { FILE: tests/src/decorators/require_init_false.ts class NBTest (line 14) | class NBTest { method constructor (line 17) | constructor() { method init (line 22) | init({ status }: { status: string }): void { method getStatus (line 28) | getStatus(): string { method setStatus (line 34) | setStatus({ status }: { status: string }): void { FILE: tests/src/decorators/require_init_true.ts class NBTest (line 14) | class NBTest { method constructor (line 17) | constructor() { method init (line 22) | init({ status }: { status: string }): void { method getStatus (line 28) | getStatus(): string { method setStatus (line 34) | setStatus({ status }: { status: string }): void { FILE: tests/src/function-params.js class FunctionParamsTestContract (line 13) | class FunctionParamsTestContract { method constructor (line 14) | constructor() { method set_values (line 20) | @call({}) method get_values (line 28) | @view({}) FILE: tests/src/highlevel-promise.js function callingData (line 4) | function callingData() { function arrayN (line 13) | function arrayN(n) { class HighlevelPromiseContract (line 21) | class HighlevelPromiseContract { method test_promise_batch_stake (line 22) | @call({}) method test_promise_batch_create_transfer (line 32) | @call({}) method test_promise_add_full_access_key (line 40) | @call({}) method test_promise_add_function_call_access_key (line 49) | @call({}) method test_delete_account (line 63) | @call({}) method test_promise_then (line 72) | @call({}) method test_promise_and (line 87) | @call({}) method cross_contract_callback (line 115) | @call({}) method cross_contract_callback_write_state (line 127) | @call({}) method callee_panic (line 135) | @call({}) method before_and_after_callee_panic (line 146) | @call({}) method callee_panic_then (line 159) | @call({}) method callee_panic_and (line 174) | @call({}) method callee_success_then_panic (line 202) | @call({}) method handler (line 218) | @call({}) method handle_error_in_promise_then (line 232) | @call({}) method handle_error_in_promise_then_after_promise_and (line 247) | @call({}) method not_return_not_build (line 270) | @call({}) method build_not_return (line 278) | @call({}) FILE: tests/src/log_panic_api.js function log_expected_input_tests (line 5) | function log_expected_input_tests() { function log_invalid_utf8_sequence_test (line 23) | function log_invalid_utf8_sequence_test() { function log_invalid_utf16_sequence_test (line 27) | function log_invalid_utf16_sequence_test() { function panic_test (line 31) | function panic_test() { function panic_ascii_test (line 35) | function panic_ascii_test() { function panic_js_number (line 39) | function panic_js_number() { function panic_js_undefined (line 43) | function panic_js_undefined() { function panic_js_null (line 47) | function panic_js_null() { function panic_utf8_test (line 51) | function panic_utf8_test() { function panicUtf8_valid_utf8_sequence (line 55) | function panicUtf8_valid_utf8_sequence() { function panicUtf8_invalid_utf8_sequence (line 59) | function panicUtf8_invalid_utf8_sequence() { FILE: tests/src/lookup-map.js class LookupMapTestContract (line 17) | class LookupMapTestContract { method constructor (line 18) | constructor() { method get (line 22) | @view({}) method containsKey (line 27) | @view({}) method set (line 32) | @call({}) method remove_key (line 37) | @call({}) method extend (line 42) | @call({}) method add_house (line 47) | @call({}) method get_house (line 58) | @view({}) FILE: tests/src/lookup-set.js class LookupSetTestContract (line 16) | class LookupSetTestContract { method constructor (line 17) | constructor() { method contains (line 21) | @view({}) method set (line 26) | @call({}) method remove_key (line 31) | @call({}) method extend (line 36) | @call({}) method add_house (line 41) | @call({}) method house_exist (line 50) | @view({}) FILE: tests/src/math_api.js function test_sha256 (line 5) | function test_sha256() { function test_keccak256 (line 9) | function test_keccak256() { function test_keccak512 (line 13) | function test_keccak512() { function test_ripemd160 (line 17) | function test_ripemd160() { function test_ecrecover (line 21) | function test_ecrecover() { FILE: tests/src/middlewares.ts class Contract (line 16) | class Contract { method init (line 20) | init({ randomData: _ }: { randomData: string }) {} method add (line 25) | add({ id: _, text: _t }: { id: string; text: string }) {} method get (line 29) | get({ id, accountId }: { id: string; accountId: string }): { method get_two (line 41) | get_two({ id, accountId }: { id: string; accountId: string }): { method get_private (line 49) | get_private(): { id: string; accountId: string } { method getFromPrivate (line 54) | getFromPrivate({ id, accountId }: { id: string; accountId: string }): { FILE: tests/src/migrate.ts class Counter (line 13) | class Counter { method increase (line 17) | increase({ n = 1 }: { n: number }) { method getCount (line 23) | getCount(): number { method migrFuncValueTo18 (line 28) | migrFuncValueTo18(): void { FILE: tests/src/model.js class House (line 8) | class House { method constructor (line 9) | constructor(name, rooms) { method describe (line 14) | describe() { class Room (line 26) | class Room { method constructor (line 27) | constructor(name, size) { method describe (line 32) | describe() { FILE: tests/src/promise_api.js function arrayN (line 5) | function arrayN(n) { function just_panic (line 9) | function just_panic() { function write_some_state (line 13) | function write_some_state() { function callingData (line 20) | function callingData() { function cross_contract_callee (line 29) | function cross_contract_callee() { function cross_contract_call_gas (line 33) | function cross_contract_call_gas() { function cross_contract_callback (line 37) | function cross_contract_callback() { function test_promise_create (line 48) | function test_promise_create() { function test_promise_create_gas_overflow (line 58) | function test_promise_create_gas_overflow() { function test_promise_then (line 68) | function test_promise_then() { function test_promise_and (line 86) | function test_promise_and() { FILE: tests/src/promise_batch_api.js function test_promise_batch_stake (line 5) | function test_promise_batch_stake() { function test_transfer_overflow (line 15) | function test_transfer_overflow() { function test_promise_add_full_access_key (line 22) | function test_promise_add_full_access_key() { function test_delete_account (line 34) | function test_delete_account() { function test_promise_add_function_call_access_key (line 42) | function test_promise_add_function_call_access_key() { function test_promise_batch_create_transfer (line 57) | function test_promise_batch_create_transfer() { function test_promise_batch_call_weight (line 64) | function test_promise_batch_call_weight() { function test_promise_batch_deploy_call (line 77) | function test_promise_batch_deploy_call() { FILE: tests/src/public-key.js function runtime_validate_public_key (line 7) | function runtime_validate_public_key(prefix, public_key) { function test_add_signer_key (line 15) | function test_add_signer_key() { function test_add_ed25519_key_bytes (line 19) | function test_add_ed25519_key_bytes() { function test_add_ed25519_key_string (line 32) | function test_add_ed25519_key_string() { function test_add_secp256k1_key_bytes (line 38) | function test_add_secp256k1_key_bytes() { function test_add_secp256k1_key_string (line 53) | function test_add_secp256k1_key_string() { function add_invalid_public_key (line 60) | function add_invalid_public_key() { function curve_type (line 67) | function curve_type() { function create_invalid_curve_type (line 73) | function create_invalid_curve_type() { function create_invalid_length (line 77) | function create_invalid_length() { function create_from_invalid_base58 (line 81) | function create_from_invalid_base58() { FILE: tests/src/storage_api.js function test_storage_write (line 5) | function test_storage_write() { function test_storage_read (line 15) | function test_storage_read() { function test_storage_remove (line 19) | function test_storage_remove() { function test_storage_has_key (line 25) | function test_storage_has_key() { function test_storage_get_evicted (line 31) | function test_storage_get_evicted() { FILE: tests/src/typescript.ts class TypeScriptTestContract (line 4) | class TypeScriptTestContract { method bigint (line 6) | bigint() { FILE: tests/src/unordered-map.js class UnorderedMapTestContract (line 21) | class UnorderedMapTestContract { method constructor (line 22) | constructor() { method len (line 26) | @view({}) method isEmpty (line 31) | @view({}) method get (line 36) | @view({}) method set (line 41) | @call({}) method remove_key (line 46) | @call({}) method clear (line 51) | @call({}) method toArray (line 56) | @view({}) method extend (line 61) | @call({}) method add_house (line 66) | @call({}) method get_house (line 77) | @view({}) method keys (line 90) | @view({}) FILE: tests/src/unordered-set.js class UnorderedSetTestContract (line 21) | class UnorderedSetTestContract { method constructor (line 22) | constructor() { method len (line 26) | @view({}) method isEmpty (line 31) | @view({}) method contains (line 36) | @view({}) method set (line 41) | @call({}) method remove_key (line 46) | @call({}) method clear (line 51) | @call({}) method toArray (line 56) | @view({}) method elements (line 62) | @view({}) method extend (line 67) | @call({}) method add_house (line 72) | @call({}) method house_exist (line 81) | @view({}) FILE: tests/src/vector.js class VectorTestContract (line 24) | class VectorTestContract { method constructor (line 25) | constructor() { method len (line 29) | @view({}) method isEmpty (line 34) | @view({}) method get (line 39) | @view({}) method push (line 44) | @call({}) method pop (line 49) | @call({}) method clear (line 54) | @call({}) method toArray (line 59) | @view({}) method extend (line 64) | @call({}) method replace (line 69) | @call({}) method swapRemove (line 74) | @call({}) method add_house (line 79) | @call({}) method get_house (line 89) | @view({})