Input parameters:
from
(user who want to buy some token)to
(must be your contract name)quantity
(CORE token tranfered amount)memo
(to specify the token name)
INTENT. The main purpose of this contract is to help users buy token.
TERM. This Contract expires at the conclusion of code execution.