Convex

Convex

Account #14359
Account 14360 / 14362
FieldValueNotes
Account KeynullEd25519 public key (null for actors)
Balance
            0.000000000
Convex coin balance
Account Fields
FieldValueDescription
:sequence0Number of transactions executed by this account to date.
:keynilEd25519 public key of this account. If nil, account cannot execute external transactions (e.g. an actor).
:balance
            0.000000000
CVM balance of account. This is used for transaction fees and may be freely transferred.
:allowance0Memory allowance credit on the CVM. If positive, the account may allocated up to this amount of memory before incurring fees for additional memory.
:holdings0 value(s)Storage for holdings data referenced by other accounts.
:controllernilAccount controller. If set, the controller can execute code in this account (e.g. change the key). If you don't trust the controller, don't trust the account!
:environment14 value(s)Symbols defined in this account. Typically used to store data or executable code.
:metadata10 value(s)Metadata attached to symbols defined in this account.
:parentnilParent account. This defines fallback values for symbols not defined in this account.
Environment (14)

The Environment contains symbols defined in this account. These may be referenced like: #45/symbol-name

SymbolValueDescription
get-operator(fn [] #14359/operator)nil
update-cert(fn [id new-metadata-hash new-title] (do (#14359/require-operator) (let [cert (get #14359/registry %0) ] (cond (nil? %3) (fail :NOT-FOUND "Certificate does not exist") nil) (let [updated (assoc %3 :metadata-hash %1 :title %2 :updated-at *timestamp*) ] (cond (lookup-meta *address* registry) (def registry (assoc #14359/registry %0 %4)) (fail :UNDECLARED registry)) %4))))nil
owned-by(fn [user-id] (cond (get #14359/ownership %0) *result* #{}))nil
init-next-id(fn [start-id] (do (#14359/require-operator) (cond (lookup-meta *address* next-id) (def next-id %0) (fail :UNDECLARED next-id)) %0))nil
next-id546nil
ownership{"cmq4qibml01kvq01t3fuip184" #{525,523,534,532,533,529,526,535,530,521,527,531,528,536,524,522},"cmsgymzx200mlps1tnbhg9omb" #{520},"cmsluzkvz01ohps1tgjm1r6mn" #{537},"cmq1eqaqh00woq01tff6c4ibw" #{545},"cmpo8mi5a01k8ra1txovzubfu" #{543,542,539,544,540,541,538}}nil
total-issued(fn [] (dec #14359/next-id))nil
lookup(fn [id] (get #14359/registry %0))nil
transfer-cert(fn [id new-user-id] (do (#14359/require-operator) (let [cert (get #14359/registry %0) ] (cond (nil? %2) (fail :NOT-FOUND "Certificate does not exist") nil) (let [old-user (get %2 :user-id) updated (assoc %2 :user-id %1) ] (cond (lookup-meta *address* registry) (def registry (assoc #14359/registry %0 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14359/ownership %3 (disj (get #14359/ownership %3) %0))) (fail :UNDECLARED ownership)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14359/ownership %1 (conj (cond (get #14359/ownership %1) *result* #{}) %0))) (fail :UNDECLARED ownership)) %4))))nil
set-operator(fn [new-operator] (do (cond (not (= *caller* #14359/operator)) (fail :UNAUTHORIZED "Only governance can change the operator") nil) (cond (lookup-meta *address* operator) (def operator %0) (fail :UNDECLARED operator)) %0))nil
registry{543 {:timestamp 1786307642620,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "88efce78bb50a80859c5b5fa20087388883908f439e240207bef501a8b661351",:title "Power Up",:id 543,:updated-at 1786376537300},545 {:timestamp 1786320574862,:user-id "cmq1eqaqh00woq01tff6c4ibw",:registered-by #14305,:metadata-hash "315960c73d6830dcb69248f0f03e5c35d60b084aca37941172d9da3953431ce7",:title "Haunted City",:id 545,:updated-at 1786376538475},525 {:timestamp 1786294832952,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "f5e75b5d5ebcab11559151e094274c6b5e309d2242eef32f5442285fbf4b6908",:title "Don't Play Wit Me",:id 525,:updated-at 1786375793848},523 {:timestamp 1786294351232,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "5fd172894c190a38241c796bd34f91a6abbb01c1765705f08cb3477f350af81e",:title "Always On My Mind",:id 523,:updated-at 1786375682576},534 {:timestamp 1786298850223,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "81b2a2357d2c14bcaa3d6a95c122e13f3ad594ecca71c77f3f410cbbc6bbaf30",:title "I Know What You Like",:id 534,:updated-at 1786376530839},532 {:timestamp 1786298738626,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "664da9350864176780f656d2b796864e4f9f570a99e044a645a94c9db1006609",:title "Don't Let Me Go",:id 532,:updated-at 1786376528906},533 {:timestamp 1786298793424,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "ca6040362a2688b4e273db3fb411a410e3572781321a5b2d8a460d70856d0a15",:title "Feels Like The First Time",:id 533,:updated-at 1786376529878},542 {:timestamp 1786307586847,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "cbe61c349fcfead1b0f6c6ff1626330f3532cc5cee99bfff3195de7d0f500a43",:title "Real Love Radio Edit",:id 542,:updated-at 1786376536663},539 {:timestamp 1786307394635,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "3c92dec4a5fd61d3fed12f7adce5b0fec4c960ea9e4683a32015a7b5358c6af4",:title "Tanite Radio",:id 539,:updated-at 1786376534928},529 {:timestamp 1786298544757,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "c0b2e6c048c4d52befbdafbf80e55a3b431822ca97401351b6783077a58c7d59",:title "Love Ain't Perfect",:id 529,:updated-at 1786375796799},526 {:timestamp 1786298312431,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "4cda14c2d6c7ff2d042f1d548e653447d3f161c019dafc559adb7fa0b724fe03",:title "Flip The Game",:id 526,:updated-at 1786375794802},535 {:timestamp 1786298968266,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "351d0bcee27a844e681550ea6e586315dd203b47992f5588f5f9709b73e92005",:title "Take Your Time",:id 535,:updated-at 1786376531994},544 {:timestamp 1786307710848,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "34e2002b3de8462c82e2a55a3f8082b82e77497b8e7d6fbe98ad428afc9032e2",:title "This Could Be The Night Radio Cut",:id 544,:updated-at 1786376537846},530 {:timestamp 1786298600720,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "723404541d8a97155ee001163f6fc32a084772f341dec84aa093b48cec13a4b4",:title "when Im with you",:id 530,:updated-at 1786375799015},521 {:timestamp 1786294218752,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "f461bf1556724f88d3da2ae0e4529084d0dc07e7a3b348f4e483e0e7ef6c1f8d",:title "Forever Ain't Enough",:id 521,:updated-at 1786375681486},520 {:timestamp 1785991860064,:user-id "cmsgymzx200mlps1tnbhg9omb",:registered-by #14305,:metadata-hash "d86cf4aebfb8c1a5e5117d768a3041cede830cb5c19c6fe7cd8ac4f1f2e6bd5c",:title "Om Deus Duo",:id 520,:updated-at 1786049887169},527 {:timestamp 1786298405244,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "dc6d4986640d2418ffaf68cf026c7258968c9244c433037351e91614c048184b",:title "I ain't no second choice",:id 527,:updated-at 1786375795789},540 {:timestamp 1786307475924,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "0ce067baa5a1d0281463172b3b090da3144e78ce15068c7ba6a31e3a60032aed",:title "Try Me Radio Cut",:id 540,:updated-at 1786376535475},537 {:timestamp 1786303072053,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "4cd74fbf9a4dfbb74e69816bf75a404e1faf2019173e743e9916288639ab84c0",:title "YunGGotti305 - From The Gutta",:id 537,:updated-at 1786376533798},531 {:timestamp 1786298684125,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "f3189310a606c77ee0369762d3413945cf7f775b47e977319a0499c5f823b99e",:title "After the Lights Go Down",:id 531,:updated-at 1786376527941},541 {:timestamp 1786307529707,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "095c5166e0c8b745cddd29c928f03f6a67002d5849a95a6dad1215ad0e7a951d",:title "Make It Better",:id 541,:updated-at 1786376536080},528 {:timestamp 1786298476220,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "9a6f68216ea9169c53c9f2a7647bfb0a84c9aeac01cf83c4ff13e07bd6bf7d6d",:title "I choose you",:id 528,:updated-at 1786375798012},536 {:timestamp 1786299038823,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "3a28b481aad3c800300a02b768d5d6db34b0f8a241b4890b0cd92add1f845150",:title "You Got Me Feeling Different",:id 536,:updated-at 1786376533015},524 {:timestamp 1786294407699,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "8ff10813169f4eaad7e7e5a7d6d343dbdb31fc69503dcc65dcf750fe25e9e5fd",:title "Don't Act Brand New",:id 524,:updated-at 1786375684509},522 {:timestamp 1786294289521,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "0ea1670eb9c32790ed905b564a3e6f24962df3718839139b936b5e45bd37cd21",:title "A Little Trill",:id 522,:updated-at 1786375683539},538 {:timestamp 1786306657072,:user-id "cmpo8mi5a01k8ra1txovzubfu",:registered-by #14305,:metadata-hash "7df994b864b3da22a5162d235fc3ba47152fdd2be5c185bca47d5f6955c67205",:title "Latin Samba Radio Cut",:id 538,:updated-at 1786376534374}}nil
register(fn [user-id metadata-hash title-hint] (do (#14359/require-operator) (let [id #14359/next-id cert (hash-map :timestamp *timestamp* :user-id %0 :registered-by *caller* :metadata-hash %1 :title %2 :id %3) ] (cond (lookup-meta *address* next-id) (def next-id (inc %3)) (fail :UNDECLARED next-id)) (cond (lookup-meta *address* registry) (def registry (assoc #14359/registry %3 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14359/ownership %0 (conj (cond (get #14359/ownership %0) *result* #{}) %3))) (fail :UNDECLARED ownership)) %4)))nil
require-operator(fn [] (cond (not (= *caller* #14359/operator)) (fail :UNAUTHORIZED "Only the operator can perform this action") nil))nil
operator#14305nil
Holdings (Empty)

Holdings track token balances and other indexed values by address.

AddressValue