notify with payment 128
This section is a work in progress.
Examples:
from kybra import nat, NotifyResult, Principal, Service, service_update, update
class Cycles(Service):
@service_update
def receive_cycles128(self) -> nat:
...
cycles = Cycles(Principal.from_str("rrkah-fqaaa-aaaaa-aaaaq-cai"))
@update
def send_cycles128_notify() -> NotifyResult:
return cycles.receive_cycles128().with_cycles128(1_000_000).notify()