fix: add Token::setOwner

This commit is contained in:
Michael Vines
2018-10-20 20:21:25 -05:00
parent 5cfe43b980
commit 00890ef9e0
3 changed files with 76 additions and 11 deletions

View File

@ -145,15 +145,20 @@ declare module '@solana/web3.js' {
): Promise<void>;
approve(
owner: Account,
source: PublicKey,
account: PublicKey,
delegate: PublicKey,
amount: number | TokenAmount
): Promise<void>;
revoke(
owner: Account,
source: PublicKey,
account: PublicKey,
delegate: PublicKey
): Promise<void>;
setOwner(
owner: Account,
account: PublicKey,
newOwner: PublicKey
): Promise<void>;
}
// === src/loader.js ===