def main() -> bool: m = 3 j2 = sha256('abc') j3 = MYSHA return j2 == j3
def main(operation: str, a: Any, b: Any) -> Any: if operation == 'omin' and isinstance(a, int) and isinstance(b, int): return min(a, b) elif operation == 'omax' and isinstance(a, int) and isinstance(b, int): return max(a, b) elif operation == 'sha256': return sha256(a) elif operation == 'hash160': return hash160(a) return 'unknown'
def Main(test: str) -> bytes: return sha256(test)
def Main() -> bytes: return sha256('arg', 'arg')
def get_seed(total_supply: bytes) -> bytes: return sha256(get_time + total_supply.to_int())
def Main() -> bytes: return sha256()
def Main() -> bytes: return sha256(b'unit test')
from boa3.builtin import public from boa3.builtin.interop.crypto import sha256 MYSHA = sha256('abc') @public def main() -> bool: m = 3 j2 = sha256('abc') j3 = MYSHA return j2 == j3
def get_seed(index: int) -> bytes: return sha256(get_time + index)