isOwner is used to check whether the sender is the owner of the contract.
Parameters
sender: Uint8Array
the sender of the transaction, hex string format with 0x prefix.
Returns bool
true if the sender is the owner of the contract, otherwise false.
verifyTx
verifyTx(input): Uint8Array
verifyTx is used to verify the transaction. If the transaction is valid,
an ethereum address will be returned. Otherwise, you can either call revert or return empty data
to end the transaction.
isOwner is used to check whether the sender is the owner of the contract.