diff --git a/projects/Nexarion/node_modules/src/blockchain/interoperability/protocol.ts b/projects/Nexarion/node_modules/src/blockchain/interoperability/protocol.ts new file mode 100644 index 000000000..16bb45abb --- /dev/null +++ b/projects/Nexarion/node_modules/src/blockchain/interoperability/protocol.ts @@ -0,0 +1,23 @@ +import { protocol } from '@interoperability/protocol'; + +class InteroperabilityProtocol { + private protocol: protocol.Protocol; + + constructor() { + this.protocol = new protocol.Protocol(); + } + + async addToken(tokenAddress: string): Promise { + return this.protocol.addToken(tokenAddress); + } + + async removeToken(tokenAddress: string): Promise { + return this.protocol.removeToken(tokenAddress); + } + + async transferToken(tokenAddress: string, from: string, to: string, amount: number): Promise { + return this.protocol.transferToken(tokenAddress, from, to, amount); + } +} + +export default InteroperabilityProtocol;