2

I want to implement "continious minting" which means first I should call issue, and only then transfer.

My contract has a functionality of eosio.token . I call create to create my token with max_supply and supply=0.0000 . Under certain circumstances I should call issue, then transfer to fund some account. I would prefer to include these actions into one transaction. I wonder is there any guarantee on the order of execution of actions inside one transaction.

OR, I can create new action which will call these two actions inside: two inline actions. But, still I don't know, is there a guarantee on inline action execution?

1
  • there's guarantee for the order of inline action execution, but not transaction
    – Jimmy Guo
    Oct 9, 2019 at 2:00

1 Answer 1

0

Yes there is a guarantee on the order of actions within a transaction. So you can either create two inline actions that you call from a single action. Or you can create a transaction with the two actions in the correct order and push that transaction to chain.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.