diff --git a/packages/neo-one-client-common/src/types.ts b/packages/neo-one-client-common/src/types.ts index f4239cfadf..bcefa29252 100644 --- a/packages/neo-one-client-common/src/types.ts +++ b/packages/neo-one-client-common/src/types.ts @@ -797,6 +797,14 @@ export interface TransactionOptions { * Useful for when there is high traffic on the network and automatic re-sending of transactions takes place but you want more control. */ validBlockCount?: number; + /** + * `Transfer`s that specify native assets to send to the contract. + */ + sendTo?: ReadonlyArray>; + /** + * `Transfer`s that specify native assets to send from the contract. + */ + sendFrom?: readonly Transfer[]; // tslint:enable readonly-keyword } diff --git a/packages/neo-one-smart-contract-compiler/src/compile/compile.ts b/packages/neo-one-smart-contract-compiler/src/compile/compile.ts index 02007ef10e..d8bb8f5da3 100644 --- a/packages/neo-one-smart-contract-compiler/src/compile/compile.ts +++ b/packages/neo-one-smart-contract-compiler/src/compile/compile.ts @@ -96,7 +96,7 @@ export const compile = async ({ }) ).concat(addDummyMethod ? [DUMMY_METHOD] : []); - const compiler = 'neo-one 3.0.0-rc1'; + const compiler = 'neo-one 3.0.0-rc3'; return { contract: { diff --git a/packages/neo-one-smart-contract-test/src/__data__/tokenUtils.ts b/packages/neo-one-smart-contract-test/src/__data__/tokenUtils.ts index 9d15ea36f8..7d372f903f 100644 --- a/packages/neo-one-smart-contract-test/src/__data__/tokenUtils.ts +++ b/packages/neo-one-smart-contract-test/src/__data__/tokenUtils.ts @@ -157,7 +157,7 @@ export const testToken = async ({ expect(contract.updateCounter).toEqual(0); expect(contract.hash).toMatchSnapshot('contract hash'); expect(contract.nef.tokens).toMatchSnapshot('nef tokens'); - expect(contract.nef.compiler).toEqual('neo-one 3.0.0-rc1'); + expect(contract.nef.compiler).toEqual('neo-one 3.0.0-rc3'); expect(contract.nef.magic).toEqual(NefFileModel.magic); expect(contract.manifest.abi.events).toMatchSnapshot('contract events'); expect(contract.manifest.abi.methods).toMatchSnapshot('contract methods');