Skip to content

Commit

Permalink
fix(contract functions): correct contract function names
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed Apr 10, 2024
1 parent e9985dd commit ad9bc56
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 38 deletions.
10 changes: 5 additions & 5 deletions src/contract-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { WalletAddress } from './common.js';
export const CONTRACT_FUNCTIONS = {
GATEWAY: 'getGateway',
GATEWAYS: 'getGateways',
PRESCRIBED_OBSERVERS: 'getPrescribedObservers',
PRESCRIBED_OBSERVERS: 'prescribedObservers',
DELEGATE_STAKE: 'delegateStake',
DECREASE_DELEGATE_STAKE: 'decreaseDelegateStake',
JOIN_NETWORK: 'joinNetwork',
Expand All @@ -34,16 +34,16 @@ export const CONTRACT_FUNCTIONS = {
BUY_RECORD: 'buyRecord',
EXTEND_RECORD: 'extendRecord',
INCREASE_UNDERNAME_COUNT: 'increaseUndernameCount',
RECORD: 'getRecord',
AUCTION: 'getAuction',
TRANSFER: 'transferTokens',
RECORD: 'record',
AUCTION: 'auction',
TRANSFER: 'transfer',
VAULTED_TRANSFER: 'vaultedTransfer',
CREATE_VAULT: 'createVault',
EXTEND_VAULT: 'extendVault',
INCREASE_VAULT: 'increaseVault',
BALANCE: 'balance',
TICK: 'tick',
PRICE_FOR_INTERACTION: 'getPriceForInteraction',
PRICE_FOR_INTERACTION: 'priceForInteraction',
EPOCH: 'epoch',
};

Expand Down
11 changes: 0 additions & 11 deletions tests/wallets/DGHFiTxL5_e8S4u6EgG_sOEMKt7s5Za60wRqPBTCmZ4.json

This file was deleted.

11 changes: 0 additions & 11 deletions tests/wallets/Npv0vfMmBqC-EnYTCCdzghdRrsNrohjsgmOoeA8SNkA.json

This file was deleted.

11 changes: 0 additions & 11 deletions tests/wallets/kn44rDbv1IUspSCZ8nCoBVkjgc1ZFUrjXTp2qKzeQKI.json

This file was deleted.

0 comments on commit ad9bc56

Please sign in to comment.