gamma-bm-egg-commission-v2
SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0SSource Code
(define-public (pay (id uint) (price uint))
(begin
(try! (stx-transfer? (/ (* price u100) u10000) tx-sender 'SP2597NW8VYYVV4C22WQF3DK0WGQS8TAVDDPXQ5H8))
(try! (stx-transfer? (/ (* price u100) u10000) tx-sender 'SP1GPNZB0JSC9RXJTXVBAMSPQE29WM1SE8V39R6K2))
(try! (stx-transfer? (/ (* price u200) u10000) tx-sender 'SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S))
(ok true)))Functions (1)
| Function | Access | Args |
|---|---|---|
| pay | public | id: uint, price: uint |