// SPDX-License-Identifier: MIT // Free Mana Sharer Contract v2.0.3 // Julian Gonzalez (joticajulian@gmail.com) import { System, authority } from "@koinos/sdk-as"; export class FreeManaSharer { callArgs: System.getArgumentsReturn | null; /** * Authorize function * @external */ authorize(args: authority.authorize_arguments): authority.authorize_result { if (args.type == authority.authorization_type.transaction_application) { return new authority.authorize_result(true); } System.log("authorization must be for transaction_application"); return new authority.authorize_result(false); } }