We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b63073 + 6c68572 commit 733feb7Copy full SHA for 733feb7
src/plugins/tokenTrade/plugin.ts
@@ -146,7 +146,7 @@ export class TokenTrade extends ProposalPlugin<
146
await this.context.approveTokens(options.sendTokenAddress, pluginAddress, new BN(options.sendTokenAmount)).send()
147
148
return {
149
- contract: this.context.getContract(options.plugin),
+ contract: this.context.getContract(pluginAddress),
150
method: 'proposeTokenTrade',
151
args: [
152
options.sendTokenAddress,
0 commit comments