package Ġio . pro venance . explorer . grpc . extensions Ċ Ċ import Ġcom . google . protobuf . Any Ċ import Ġcos mos . bank . v 1 beta 1 . Tx Ċ import Ġi bc . applications . transfer . v 1 . Tx . Msg Transfer Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Ack nowledge ment Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Channel Close Confirm Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Channel Close Init Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Channel Open Ack Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Channel Open Confirm Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Channel Open Init Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Channel Open Try Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Recv Packet Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Timeout Ċ import Ġi bc . core . channel . v 1 . Tx . Msg Timeout On Close Ċ import Ġi bc . core . client . v 1 . Tx . Msg Create Client Ċ import Ġi bc . core . client . v 1 . Tx . Msg Submit Mis be haviour Ċ import Ġi bc . core . client . v 1 . Tx . Msg Update Client Ċ import Ġi bc . core . client . v 1 . Tx . Msg Upgrade Client Ċ import Ġi bc . core . connection . v 1 . Tx . Msg Connection Open Ack Ċ import Ġi bc . core . connection . v 1 . Tx . Msg Connection Open Confirm Ċ import Ġi bc . core . connection . v 1 . Tx . Msg Connection Open Init Ċ import Ġi bc . core . connection . v 1 . Tx . Msg Connection Open Try Ċ import Ġi bc . light clients . localhost . v 1 . Local host Ċ import Ġi bc . light clients . solo machine . v 1 . Solo machine Ċ import Ġi bc . light clients . tender mint . v 1 . T ender mint Ċ import Ġio . pro venance . attribute . v 1 . Msg Add Attribute Request Ċ import Ġio . pro venance . attribute . v 1 . Msg Delete Attribute Request Ċ import Ġio . pro venance . attribute . v 1 . Msg Delete Distinct Attribute Request Ċ import Ġio . pro venance . attribute . v 1 . Msg Update Attribute Request Ċ import Ġio . pro venance . explorer . domain . core . Metadata Address Ċ import Ġio . pro venance . explorer . domain . core . blank To Null Ċ import Ġio . pro venance . explorer . domain . core . logger Ċ import Ġio . pro venance . explorer . domain . core . to M Address Ċ import Ġio . pro venance . explorer . domain . core . to M Address Contract Spec Ċ import Ġio . pro venance . explorer . domain . core . to M Address Scope Ċ import Ġio . pro venance . explorer . domain . core . to M Address Scope Spec Ċ import Ġio . pro venance . explorer . domain . core . to M Address Session Ċ import Ġio . pro venance . explorer . domain . core . to Uuid OrNull Ċ import Ġio . pro venance . explorer . grpc . extensions . Md Events . C SPC Ċ import Ġio . pro venance . explorer . grpc . extensions . Md Events . C SP U Ċ import Ġio . pro venance . explorer . service . get Denom By Address Ċ import Ġio . pro venance . marker . v 1 . Msg Activate Request Ċ import Ġio . pro venance . marker . v 1 . Msg Add Access Request Ċ import Ġio . pro venance . marker . v 1 . Msg Add Marker Request Ċ import Ġio . pro venance . marker . v 1 . Msg Burn Request Ċ import Ġio . pro venance . marker . v 1 . Msg Cancel Request Ċ import Ġio . pro venance . marker . v 1 . Msg Delete Access Request Ċ import Ġio . pro venance . marker . v 1 . Msg Delete Request Ċ import Ġio . pro venance . marker . v 1 . Msg Finalize Request Ċ import Ġio . pro venance . marker . v 1 . Msg Mint Request Ċ import Ġio . pro venance . marker . v 1 . Msg Set Denom Metadata Request Ċ import Ġio . pro venance . marker . v 1 . Msg Transfer Request Ċ import Ġio . pro venance . marker . v 1 . Msg Withdraw Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Add Contract Spec To Scope Spec Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Add Scope DataAccess Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Add Scope Owner Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Bind OS Locator Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Contract Spec From Scope Spec Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Contract Specification Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete OS Locator Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Record Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Record Specification Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Scope DataAccess Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Scope Owner Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Scope Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Delete Scope Specification Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Modify OS Locator Request Ċ import Ġio . pro venance . metadata . v 1 . Msg P 8 e Mem or ial ize Contract Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write Contract Specification Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write P 8 e Contract Spec Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write Record Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write Record Specification Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write Scope Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write Scope Specification Request Ċ import Ġio . pro venance . metadata . v 1 . Msg Write Session Request Ċ import Ġio . pro venance . metadata . v 1 . SessionId Components Ċ import Ġio . pro venance . name . v 1 . Msg Bind Name Request Ċ import Ġio . pro venance . name . v 1 . Msg Delete Name Request Ċ Ċ /** Ċ Ġ* ĠG in orm ous Ġfile Ġmeant Ġto Ġconvert Ġa ĠMsg Ġobject Ġto Ġthe Ġproper Ġformat , Ġand Ġdo Ġstuff Ġwith Ġit . Ċ Ġ*/ Ċ Ċ fun ĠAny . to Msg Send () Ġ= Ġthis . unpack ( Tx . Msg Send :: class . java ) Ċ fun ĠAny . to Msg Multi Send () Ġ= Ġthis . unpack ( Tx . Msg Multi Send :: class . java ) Ċ fun ĠAny . to Msg Submit Proposal () Ġ= Ġthis . unpack ( cosmos . gov . v 1 beta 1 . Tx . Msg Submit Proposal :: class . java ) Ċ fun ĠAny . to Msg Vote () Ġ= Ġthis . unpack ( cosmos . gov . v 1 beta 1 . Tx . Msg Vote :: class . java ) Ċ fun ĠAny . to Msg Vote Weighted () Ġ= Ġthis . unpack ( cosmos . gov . v 1 beta 1 . Tx . Msg Vote Weighted :: class . java ) Ċ fun ĠAny . to Msg Deposit () Ġ= Ġthis . unpack ( cosmos . gov . v 1 beta 1 . Tx . Msg Deposit :: class . java ) Ċ fun ĠAny . to Msg Set Withdraw Address () Ġ= Ġthis . unpack ( cosmos . distribution . v 1 beta 1 . Tx . Msg Set Withdraw Address :: class . java ) Ċ fun ĠAny . to Msg Withdraw Deleg ator Reward () Ġ= Ġthis . unpack ( cosmos . distribution . v 1 beta 1 . Tx . Msg Withdraw Deleg ator Reward :: class . java ) Ċ fun ĠAny . to Msg Withdraw Validator Com mission () Ġ= Ġthis . unpack ( cosmos . distribution . v 1 beta 1 . Tx . Msg Withdraw Validator Com mission :: class . java ) Ċ fun ĠAny . to Msg Fund Community Pool () Ġ= Ġthis . unpack ( cosmos . distribution . v 1 beta 1 . Tx . Msg Fund Community Pool :: class . java ) Ċ fun ĠAny . to Msg Submit Evidence () Ġ= Ġthis . unpack ( cosmos . evidence . v 1 beta 1 . Tx . Msg Submit Evidence :: class . java ) Ċ fun ĠAny . to Msg Un j ail () Ġ= Ġthis . unpack ( cosmos . slash ing . v 1 beta 1 . Tx . Msg Un j ail :: class . java ) Ċ fun ĠAny . to Msg Create Validator () Ġ= Ġthis . unpack ( cosmos . staking . v 1 beta 1 . Tx . Msg Create Validator :: class . java ) Ċ fun ĠAny . to Msg Edit Validator () Ġ= Ġthis . unpack ( cosmos . staking . v 1 beta 1 . Tx . Msg Edit Validator :: class . java ) Ċ fun ĠAny . to Msg Delegate () Ġ= Ġthis . unpack ( cosmos . staking . v 1 beta 1 . Tx . Msg Delegate :: class . java ) Ċ fun ĠAny . to Msg Begin Re delegate () Ġ= Ġthis . unpack ( cosmos . staking . v 1 beta 1 . Tx . Msg Begin Re delegate :: class . java ) Ċ fun ĠAny . to Msg Un delegate () Ġ= Ġthis . unpack ( cosmos . staking . v 1 beta 1 . Tx . Msg Un delegate :: class . java ) Ċ fun ĠAny . to Msg Create V esting Account () Ġ= Ġthis . unpack ( cosmos . v esting . v 1 beta 1 . Tx . Msg Create V esting Account :: class . java ) Ċ fun ĠAny . to Msg Withdraw Request () Ġ= Ġthis . unpack ( Msg Withdraw Request :: class . java ) Ċ fun ĠAny . to Msg Add Marker Request () Ġ= Ġthis . unpack ( Msg Add Marker Request :: class . java ) Ċ fun ĠAny . to Msg Add Access Request () Ġ= Ġthis . unpack ( Msg Add Access Request :: class . java ) Ċ fun ĠAny . to Msg Delete Access Request () Ġ= Ġthis . unpack ( Msg Delete Access Request :: class . java ) Ċ fun ĠAny . to Msg Finalize Request () Ġ= Ġthis . unpack ( Msg Finalize Request :: class . java ) Ċ fun ĠAny . to Msg Activate Request () Ġ= Ġthis . unpack ( Msg Activate Request :: class . java ) Ċ fun ĠAny . to Msg Cancel Request () Ġ= Ġthis . unpack ( Msg Cancel Request :: class . java ) Ċ fun ĠAny . to Msg Delete Request () Ġ= Ġthis . unpack ( Msg Delete Request :: class . java ) Ċ fun ĠAny . to Msg Mint Request () Ġ= Ġthis . unpack ( Msg Mint Request :: class . java ) Ċ fun ĠAny . to Msg Burn Request () Ġ= Ġthis . unpack ( Msg Burn Request :: class . java ) Ċ fun ĠAny . to Msg Transfer Request () Ġ= Ġthis . unpack ( Msg Transfer Request :: class . java ) Ċ fun ĠAny . to Msg Set Denom Metadata Request () Ġ= Ġthis . unpack ( Msg Set Denom Metadata Request :: class . java ) Ċ fun ĠAny . to Msg Bind Name Request () Ġ= Ġthis . unpack ( Msg Bind Name Request :: class . java ) Ċ fun ĠAny . to Msg Delete Name Request () Ġ= Ġthis . unpack ( Msg Delete Name Request :: class . java ) Ċ fun ĠAny . to Msg Add Attribute Request () Ġ= Ġthis . unpack ( Msg Add Attribute Request :: class . java ) Ċ fun ĠAny . to Msg Delete Attribute Request () Ġ= Ġthis . unpack ( Msg Delete Attribute Request :: class . java ) Ċ fun ĠAny . to Msg P 8 e Mem or ial ize Contract Request () Ġ= Ġthis . unpack ( Msg P 8 e Mem or ial ize Contract Request :: class . java ) Ċ fun ĠAny . to Msg Write P 8 e Contract Spec Request () Ġ= Ġthis . unpack ( Msg Write P 8 e Contract Spec Request :: class . java ) Ċ fun ĠAny . to Msg Write Scope Request () Ġ= Ġthis . unpack ( Msg Write Scope Request :: class . java ) Ċ fun ĠAny . to Msg Delete Scope Request () Ġ= Ġthis . unpack ( Msg Delete Scope Request :: class . java ) Ċ fun ĠAny . to Msg Write Session Request () Ġ= Ġthis . unpack ( Msg Write Session Request :: class . java ) Ċ fun ĠAny . to Msg Write Record Request () Ġ= Ġthis . unpack ( Msg Write Record Request :: class . java ) Ċ fun ĠAny . to Msg Delete Record Request () Ġ= Ġthis . unpack ( Msg Delete Record Request :: class . java ) Ċ fun ĠAny . to Msg Write Scope Specification Request () Ġ= Ġthis . unpack ( Msg Write Scope Specification Request :: class . java ) Ċ fun ĠAny . to Msg Delete Scope Specification Request () Ġ= Ġthis . unpack ( Msg Delete Scope Specification Request :: class . java ) Ċ fun ĠAny . to Msg Write Contract Specification Request () Ġ= Ġthis . unpack ( Msg Write Contract Specification Request :: class . java ) Ċ fun ĠAny . to Msg Delete Contract Specification Request () Ġ= Ġthis . unpack ( Msg Delete Contract Specification Request :: class . java ) Ċ fun ĠAny . to Msg Write Record Specification Request () Ġ= Ġthis . unpack ( Msg Write Record Specification Request :: class . java ) Ċ fun ĠAny . to Msg Delete Record Specification Request () Ġ= Ġthis . unpack ( Msg Delete Record Specification Request :: class . java ) Ċ fun ĠAny . to Msg Bind OS Locator Request () Ġ= Ġthis . unpack ( Msg Bind OS Locator Request :: class . java ) Ċ fun ĠAny . to Msg Delete OS Locator Request () Ġ= Ġthis . unpack ( Msg Delete OS Locator Request :: class . java ) Ċ fun ĠAny . to Msg Modify OS Locator Request () Ġ= Ġthis . unpack ( Msg Modify OS Locator Request :: class . java ) Ċ fun ĠAny . to Msg Store Code () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 . Tx . Msg Store Code :: class . java ) Ċ fun ĠAny . to Msg Inst antiate Contract () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 . Tx . Msg Inst antiate Contract :: class . java ) Ċ fun ĠAny . to Msg Execute Contract () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 . Tx . Msg Execute Contract :: class . java ) Ċ fun ĠAny . to Msg Migrate Contract () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 . Tx . Msg Migrate Contract :: class . java ) Ċ fun ĠAny . to Msg Update Admin () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 . Tx . Msg Update Admin :: class . java ) Ċ fun ĠAny . to Msg Clear Admin () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 . Tx . Msg Clear Admin :: class . java ) Ċ fun ĠAny . to Msg Store Code Old () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 beta 1 . Tx . Msg Store Code :: class . java ) Ċ fun ĠAny . to Msg Inst antiate Contract Old () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 beta 1 . Tx . Msg Inst antiate Contract :: class . java ) Ċ fun ĠAny . to Msg Execute Contract Old () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 beta 1 . Tx . Msg Execute Contract :: class . java ) Ċ fun ĠAny . to Msg Migrate Contract Old () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 beta 1 . Tx . Msg Migrate Contract :: class . java ) Ċ fun ĠAny . to Msg Update Admin Old () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 beta 1 . Tx . Msg Update Admin :: class . java ) Ċ fun ĠAny . to Msg Clear Admin Old () Ġ= Ġthis . unpack ( cosm wasm . wasm . v 1 beta 1 . Tx . Msg Clear Admin :: class . java ) Ċ fun ĠAny . to Msg Add Scope DataAccess Request () Ġ= Ġthis . unpack ( Msg Add Scope DataAccess Request :: class . java ) Ċ fun ĠAny . to Msg Delete Scope DataAccess Request () Ġ= Ġthis . unpack ( Msg Delete Scope DataAccess Request :: class . java ) Ċ fun ĠAny . to Msg Add Scope Owner Request () Ġ= Ġthis . unpack ( Msg Add Scope Owner Request :: class . java ) Ċ fun ĠAny . to Msg Delete Scope Owner Request () Ġ= Ġthis . unpack ( Msg Delete Scope Owner Request :: class . java ) Ċ fun ĠAny . to Msg Update Attribute Request () Ġ= Ġthis . unpack ( Msg Update Attribute Request :: class . java ) Ċ fun ĠAny . to Msg Delete Distinct Attribute Request () Ġ= Ġthis . unpack ( Msg Delete Distinct Attribute Request :: class . java ) Ċ fun ĠAny . to Msg Add Contract Spec To Scope Spec Request () Ġ= Ġthis . unpack ( Msg Add Contract Spec To Scope Spec Request :: class . java ) Ċ fun ĠAny . to Msg Delete Contract Spec From Scope Spec Request () Ġ= Ġthis . unpack ( Msg Delete Contract Spec From Scope Spec Request :: class . java ) Ċ fun ĠAny . to Msg Transfer () Ġ= Ġthis . unpack ( Msg Transfer :: class . java ) Ċ fun ĠAny . to Msg Channel Open Init () Ġ= Ġthis . unpack ( Msg Channel Open Init :: class . java ) Ċ fun ĠAny . to Msg Channel Open Try () Ġ= Ġthis . unpack ( Msg Channel Open Try :: class . java ) Ċ fun ĠAny . to Msg Channel Open Ack () Ġ= Ġthis . unpack ( Msg Channel Open Ack :: class . java ) Ċ fun ĠAny . to Msg Channel Open Confirm () Ġ= Ġthis . unpack ( Msg Channel Open Confirm :: class . java ) Ċ fun ĠAny . to Msg Channel Close Init () Ġ= Ġthis . unpack ( Msg Channel Close Init :: class . java ) Ċ fun ĠAny . to Msg Channel Close Confirm () Ġ= Ġthis . unpack ( Msg Channel Close Confirm :: class . java ) Ċ fun ĠAny . to Msg Recv Packet () Ġ= Ġthis . unpack ( Msg Recv Packet :: class . java ) Ċ fun ĠAny . to Msg Timeout () Ġ= Ġthis . unpack ( Msg Timeout :: class . java ) Ċ fun ĠAny . to Msg Timeout On Close () Ġ= Ġthis . unpack ( Msg Timeout On Close :: class . java ) Ċ fun ĠAny . to Msg Ack nowledge ment () Ġ= Ġthis . unpack ( Msg Ack nowledge ment :: class . java ) Ċ fun ĠAny . to Msg Create Client () Ġ= Ġthis . unpack ( Msg Create Client :: class . java ) Ċ fun ĠAny . to Msg Update Client () Ġ= Ġthis . unpack ( Msg Update Client :: class . java ) Ċ fun ĠAny . to Msg Upgrade Client () Ġ= Ġthis . unpack ( Msg Upgrade Client :: class . java ) Ċ fun ĠAny . to Msg Submit Mis be haviour () Ġ= Ġthis . unpack ( Msg Submit Mis be haviour :: class . java ) Ċ fun ĠAny . to Msg Connection Open Init () Ġ= Ġthis . unpack ( Msg Connection Open Init :: class . java ) Ċ fun ĠAny . to Msg Connection Open Try () Ġ= Ġthis . unpack ( Msg Connection Open Try :: class . java ) Ċ fun ĠAny . to Msg Connection Open Ack () Ġ= Ġthis . unpack ( Msg Connection Open Ack :: class . java ) Ċ fun ĠAny . to Msg Connection Open Confirm () Ġ= Ġthis . unpack ( Msg Connection Open Confirm :: class . java ) Ċ fun ĠAny . to T ender mint Client State () Ġ= Ġthis . unpack ( T ender mint . Client State :: class . java ) Ċ fun ĠAny . to Local host Client State () Ġ= Ġthis . unpack ( Local host . Client State :: class . java ) Ċ fun ĠAny . to Solo Machine Client State () Ġ= Ġthis . unpack ( Solo machine . Client State :: class . java ) Ċ fun ĠAny . to Msg Grant () Ġ= Ġthis . unpack ( cosmos . auth z . v 1 beta 1 . Tx . Msg Grant :: class . java ) Ċ fun ĠAny . to Msg Exec () Ġ= Ġthis . unpack ( cosmos . auth z . v 1 beta 1 . Tx . Msg Exec :: class . java ) Ċ fun ĠAny . to Msg Re voke () Ġ= Ġthis . unpack ( cosmos . auth z . v 1 beta 1 . Tx . Msg Re voke :: class . java ) Ċ fun ĠAny . to Msg Grant Allow ance () Ġ= Ġthis . unpack ( cosmos . fee grant . v 1 beta 1 . Tx . Msg Grant Allow ance :: class . java ) Ċ fun ĠAny . to Msg Re voke Allow ance () Ġ= Ġthis . unpack ( cosmos . fee grant . v 1 beta 1 . Tx . Msg Re voke Allow ance :: class . java ) Ċ Ċ // Ġ// /////// ĠADD RES SES Ċ fun ĠAny . get Associated Addresses (): ĠList < String > Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Send ") Ġ-> Ġthis . to Msg Send (). let Ġ{ ĠlistOf ( it . from Address , Ġit . to Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Multi Send ") Ġ-> Ġthis . to Msg Multi Send () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . inputs List . map Ġ{ Ġinp Ġ-> Ġinp . address Ġ} Ġ+ Ġit . outputs List . map Ġ{ Ġout Ġ-> Ġout . address Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Set Withdraw Address ") Ġ-> Ġthis . to Msg Set Withdraw Address () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . deleg ator Address , Ġit . withdraw Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Withdraw Deleg ator Reward ") Ġ-> Ġthis . to Msg Withdraw Deleg ator Reward () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . deleg ator Address , Ġit . validator Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Withdraw Validator Com mission ") Ġ-> Ġthis . to Msg Withdraw Validator Com mission () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . validator Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Fund Community Pool ") Ġ-> Ġthis . to Msg Fund Community Pool (). let Ġ{ ĠlistOf ( it . de positor ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Submit Evidence ") Ġ-> Ġthis . to Msg Submit Evidence (). let Ġ{ ĠlistOf ( it . submit ter ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Submit Proposal ") Ġ-> Ġthis . to Msg Submit Proposal (). let Ġ{ ĠlistOf ( it . pro poser ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Vote ") Ġ-> Ġthis . to Msg Vote (). let Ġ{ ĠlistOf ( it . v oter ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Vote Weighted ") Ġ-> Ġthis . to Msg Vote Weighted (). let Ġ{ ĠlistOf ( it . v oter ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Deposit ") Ġ-> Ġthis . to Msg Deposit (). let Ġ{ ĠlistOf ( it . de positor ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Un j ail ") Ġ-> Ġthis . to Msg Un j ail (). let Ġ{ ĠlistOf ( it . validator Addr ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Create Validator ") Ġ-> Ġthis . to Msg Create Validator () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . validator Address , Ġit . deleg ator Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Edit Validator ") Ġ-> Ġthis . to Msg Edit Validator (). let Ġ{ ĠlistOf ( it . validator Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delegate ") Ġ-> Ġthis . to Msg Delegate (). let Ġ{ ĠlistOf ( it . validator Address , Ġit . deleg ator Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Begin Re delegate ") Ġ-> Ġthis . to Msg Begin Re delegate () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . deleg ator Address , Ġit . validator Dst Address , Ġit . validator Src Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Un delegate ") Ġ-> Ġthis . to Msg Un delegate () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . deleg ator Address , Ġit . validator Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Create V esting Account ") Ġ-> Ġthis . to Msg Create V esting Account () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . from Address , Ġit . to Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Withdraw Request ") Ġ-> Ġthis . to Msg Withdraw Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . to Address , Ġit . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Marker Request ") Ġ-> Ġthis . to Msg Add Marker Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . from Address , Ġit . manager ) Ġ+ Ġit . access List List . map Ġ{ Ġacc Ġ-> Ġacc . address Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Access Request ") Ġ-> Ġthis . to Msg Add Access Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . access List . map Ġ{ Ġl Ġ-> Ġl . address Ġ} Ġ+ Ġit . administrator Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Access Request ") Ġ-> Ġthis . to Msg Delete Access Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . administrator , Ġit . removed Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Finalize Request ") Ġ-> Ġthis . to Msg Finalize Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Activate Request ") Ġ-> Ġthis . to Msg Activate Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Cancel Request ") Ġ-> Ġthis . to Msg Cancel Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Request ") Ġ-> Ġthis . to Msg Delete Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Mint Request ") Ġ-> Ġthis . to Msg Mint Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Burn Request ") Ġ-> Ġthis . to Msg Burn Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Transfer Request ") Ġ-> Ġthis . to Msg Transfer Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . administrator , Ġit . to Address , Ġit . from Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Set Denom Metadata Request ") Ġ-> Ġthis . to Msg Set Denom Metadata Request (). let Ġ{ ĠlistOf ( it . administrator ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Bind Name Request ") Ġ-> Ġthis . to Msg Bind Name Request (). let Ġ{ ĠlistOf ( it . parent . address , Ġit . record . address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Name Request ") Ġ-> Ġthis . to Msg Delete Name Request (). let Ġ{ ĠlistOf ( it . record . address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Attribute Request ") Ġ-> Ġthis . to Msg Add Attribute Request (). let Ġ{ ĠlistOf ( it . account , Ġit . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Attribute Request ") Ġ-> Ġthis . to Msg Delete Attribute Request (). let Ġ{ ĠlistOf ( it . account , Ġit . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg P 8 e Mem or ial ize Contract Request ") Ġ-> Ġthis . to Msg P 8 e Mem or ial ize Contract Request (). let Ġ{ ĠlistOf ( it . inv oker ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write P 8 e Contract Spec Request ") Ġ-> Ġthis . to Msg Write P 8 e Contract Spec Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Scope Request ") Ġ-> Ġthis . to Msg Write Scope Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . scope . owners List . map Ġ{ Ġo Ġ-> Ġo . address Ġ} Ġ+ ĠlistOf ( it . scope . value Owner Address ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Request ") Ġ-> Ġthis . to Msg Delete Scope Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Session Request ") Ġ-> Ġthis . to Msg Write Session Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . session . part ies List . map Ġ{ Ġo Ġ-> Ġo . address Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Record Request ") Ġ-> Ġthis . to Msg Write Record Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . part ies List . map Ġ{ Ġo Ġ-> Ġo . address Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Record Request ") Ġ-> Ġthis . to Msg Delete Record Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Scope Specification Request ") Ġ-> Ġthis . to Msg Write Scope Specification Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . specification . owner Addresses List Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Specification Request ") Ġ-> Ġthis . to Msg Delete Scope Specification Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Contract Specification Request ") Ġ-> Ġthis . to Msg Write Contract Specification Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . specification . owner Addresses List Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Contract Specification Request ") Ġ-> Ġthis . to Msg Delete Contract Specification Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Record Specification Request ") Ġ-> Ġthis . to Msg Write Record Specification Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Record Specification Request ") Ġ-> Ġthis . to Msg Delete Record Specification Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Bind OS Locator Request ") Ġ-> Ġthis . to Msg Bind OS Locator Request (). let Ġ{ ĠlistOf ( it . locator . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete OS Locator Request ") Ġ-> Ġthis . to Msg Delete OS Locator Request (). let Ġ{ ĠlistOf ( it . locator . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Modify OS Locator Request ") Ġ-> Ġthis . to Msg Modify OS Locator Request (). let Ġ{ ĠlistOf ( it . locator . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Store Code ") Ġ-> Ġthis . to Msg Store Code (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Inst antiate Contract ") Ġ-> Ġthis . to Msg Inst antiate Contract (). let Ġ{ ĠlistOf ( it . sender , Ġit . admin ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Execute Contract ") Ġ-> Ġthis . to Msg Execute Contract (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Migrate Contract ") Ġ-> Ġthis . to Msg Migrate Contract (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Update Admin ") Ġ-> Ġthis . to Msg Update Admin (). let Ġ{ ĠlistOf ( it . sender , Ġit . new Admin ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Clear Admin ") Ġ-> Ġthis . to Msg Clear Admin (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Store Code ") Ġ-> Ġthis . to Msg Store Code Old (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Inst antiate Contract ") Ġ-> Ġthis . to Msg Inst antiate Contract Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . sender , Ġit . admin ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Execute Contract ") Ġ-> Ġthis . to Msg Execute Contract Old (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Migrate Contract ") Ġ-> Ġthis . to Msg Migrate Contract Old (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Update Admin ") Ġ-> Ġthis . to Msg Update Admin Old (). let Ġ{ ĠlistOf ( it . sender , Ġit . new Admin ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Clear Admin ") Ġ-> Ġthis . to Msg Clear Admin Old (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Scope DataAccess Request ") Ġ-> Ġthis . to Msg Add Scope DataAccess Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . data Access List Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope DataAccess Request ") Ġ-> Ġthis . to Msg Delete Scope DataAccess Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sign ers List Ġ+ Ġit . data Access List Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Scope Owner Request ") Ġ-> Ġthis . to Msg Add Scope Owner Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . owners List . map Ġ{ Ġo Ġ-> Ġo . address Ġ} Ġ+ Ġit . sign ers List Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Owner Request ") Ġ-> Ġthis . to Msg Delete Scope Owner Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . owners List Ġ+ Ġit . sign ers List Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Update Attribute Request ") Ġ-> Ġthis . to Msg Update Attribute Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . account , Ġit . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Distinct Attribute Request ") Ġ-> Ġthis . to Msg Delete Distinct Attribute Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . account , Ġit . owner ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Contract Spec To Scope Spec Request ") Ġ-> Ġthis . to Msg Add Contract Spec To Scope Spec Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Contract Spec From Scope Spec Request ") Ġ-> Ġthis . to Msg Delete Contract Spec From Scope Spec Request (). sign ers List ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Transfer ") Ġ-> Ġthis . to Msg Transfer (). let Ġ{ ĠlistOf ( it . sender ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Init ") Ġ-> Ġthis . to Msg Channel Open Init (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Try ") Ġ-> Ġthis . to Msg Channel Open Try (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Ack ") Ġ-> Ġthis . to Msg Channel Open Ack (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Confirm ") Ġ-> Ġthis . to Msg Channel Open Confirm (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Close Init ") Ġ-> Ġthis . to Msg Channel Close Init (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Close Confirm ") Ġ-> Ġthis . to Msg Channel Close Confirm (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Recv Packet ") Ġ-> Ġthis . to Msg Recv Packet (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Timeout ") Ġ-> Ġthis . to Msg Timeout (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Timeout On Close ") Ġ-> Ġthis . to Msg Timeout On Close (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Ack nowledge ment ") Ġ-> Ġthis . to Msg Ack nowledge ment (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Create Client ") Ġ-> Ġthis . to Msg Create Client (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Update Client ") Ġ-> Ġthis . to Msg Update Client (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Upgrade Client ") Ġ-> Ġthis . to Msg Upgrade Client (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Submit Mis be haviour ") Ġ-> Ġthis . to Msg Submit Mis be haviour (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Connection Open Init ") Ġ-> Ġthis . to Msg Connection Open Init (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Connection Open Try ") Ġ-> Ġthis . to Msg Connection Open Try (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Connection Open Ack ") Ġ-> Ġthis . to Msg Connection Open Ack (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Connection Open Confirm ") Ġ-> Ġthis . to Msg Connection Open Confirm (). let Ġ{ ĠlistOf ( it . signer ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Grant ") Ġ-> Ġthis . to Msg Grant (). let Ġ{ ĠlistOf ( it . gran ter , Ġit . gr ante e ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Exec ") Ġ-> Ġthis . to Msg Exec (). let Ġ{ ĠlistOf ( it . gr ante e ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Re voke ") Ġ-> Ġthis . to Msg Re voke (). let Ġ{ ĠlistOf ( it . gran ter , Ġit . gr ante e ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Grant Allow ance ") Ġ-> Ġthis . to Msg Grant Allow ance (). let Ġ{ ĠlistOf ( it . gran ter , Ġit . gr ante e ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Re voke Allow ance ") Ġ-> Ġthis . to Msg Re voke Allow ance (). let Ġ{ ĠlistOf ( it . gran ter , Ġit . gr ante e ) Ġ} ĊĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠlistOf < String >(). also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġyet Ġsupported Ġas Ġan Ġaddress - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ // Ġ// /////// ĠD ENO MS Ċ fun ĠAny . get Associated Den oms (): ĠList < String > Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Send ") Ġ-> Ġthis . to Msg Send (). let Ġ{ Ġit . amount List . map Ġ{ Ġam Ġ-> Ġam . denom Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Multi Send ") Ġ-> Ġthis . to Msg Multi Send () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġit . inputs List . flatMap Ġ{ Ġinp Ġ-> Ġinp . coins List . map Ġ{ Ġc Ġ-> Ġc . denom Ġ} Ġ} Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġit . outputs List . flatMap Ġ{ Ġout Ġ-> Ġout . coins List . map Ġ{ Ġc Ġ-> Ġc . denom Ġ} Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Withdraw Request ") Ġ-> Ġthis . to Msg Withdraw Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Marker Request ") Ġ-> Ġthis . to Msg Add Marker Request (). let Ġ{ ĠlistOf ( it . amount . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Access Request ") Ġ-> Ġthis . to Msg Add Access Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Access Request ") Ġ-> Ġthis . to Msg Delete Access Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Finalize Request ") Ġ-> Ġthis . to Msg Finalize Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Activate Request ") Ġ-> Ġthis . to Msg Activate Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Cancel Request ") Ġ-> Ġthis . to Msg Cancel Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Request ") Ġ-> Ġthis . to Msg Delete Request (). let Ġ{ ĠlistOf ( it . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Mint Request ") Ġ-> Ġthis . to Msg Mint Request (). let Ġ{ ĠlistOf ( it . amount . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Burn Request ") Ġ-> Ġthis . to Msg Burn Request (). let Ġ{ ĠlistOf ( it . amount . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Transfer Request ") Ġ-> Ġthis . to Msg Transfer Request (). let Ġ{ ĠlistOf ( it . amount . denom ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Set Denom Metadata Request ") Ġ-> Ġthis . to Msg Set Denom Metadata Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( it . metadata . base ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Attribute Request ") Ġ-> Ġthis . to Msg Add Attribute Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . account . get Denom By Address ()?. let Ġ{ Ġdenom Ġ-> ĠlistOf ( denom ) Ġ} Ġ?: ĠlistOf () Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Attribute Request ") Ġ-> Ġthis . to Msg Delete Attribute Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . account . get Denom By Address ()?. let Ġ{ Ġdenom Ġ-> ĠlistOf ( denom ) Ġ} Ġ?: ĠlistOf () Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Inst antiate Contract ") Ġ-> Ġthis . to Msg Inst antiate Contract (). let Ġ{ Ġit . fund s List . map Ġ{ Ġc Ġ-> Ġc . denom Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Execute Contract ") Ġ-> Ġthis . to Msg Execute Contract (). let Ġ{ Ġit . fund s List . map Ġ{ Ġc Ġ-> Ġc . denom Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Inst antiate Contract ") Ġ-> Ġthis . to Msg Inst antiate Contract Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . fund s List . map Ġ{ Ġc Ġ-> Ġc . denom Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Execute Contract ") Ġ-> Ġthis . to Msg Execute Contract Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . fund s List . map Ġ{ Ġc Ġ-> Ġc . denom Ġ} Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Transfer ") Ġ-> Ġthis . to Msg Transfer (). let Ġ{ ĠlistOf ( it . token . denom ) Ġ} ĊĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠlistOf < String >() ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġyet Ġsupported Ġas Ġan Ġasset - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ // Ġ// /////// ĠI BC Ċ fun ĠAny . is I bc Transfer Msg () Ġ= Ġtype Url . endsWith (" Msg Transfer ") Ċ Ċ // ĠReturns ĠPair ( Event Ġtype , ĠPair ( port , Ġchannel )) Ċ fun ĠAny . get I bc Channel Events () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Transfer ") Ġ-> Ġ" send _ packet " Ġto ĠPair (" packet _ src _ port ", Ġ" packet _ src _ channel ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Init ") Ġ-> Ġ" channel _ open _ init " Ġto ĠPair (" port _ id ", Ġ" channel _ id ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Try ") Ġ-> Ġ" channel _ open _ try " Ġto ĠPair (" port _ id ", Ġ" channel _ id ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Ack ") Ġ-> Ġ" channel _ open _ ack " Ġto ĠPair (" port _ id ", Ġ" channel _ id ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Open Confirm ") Ġ-> Ġ" channel _ open _ confirm " Ġto ĠPair (" port _ id ", Ġ" channel _ id ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Close Init ") Ġ-> Ġ" channel _ close _ init " Ġto ĠPair (" port _ id ", Ġ" channel _ id ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Channel Close Confirm ") Ġ-> Ġ" channel _ close _ confirm " Ġto ĠPair (" port _ id ", Ġ" channel _ id ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Recv Packet ") Ġ-> Ġ" recv _ packet " Ġto ĠPair (" packet _ dst _ port ", Ġ" packet _ dst _ channel ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Timeout ") Ġ-> Ġ" timeout _ packet " Ġto ĠPair (" packet _ src _ port ", Ġ" packet _ src _ channel ") ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Ack nowledge ment ") Ġ-> Ġ" ack nowledge _ packet " Ġto ĠPair (" packet _ src _ port ", Ġ" packet _ src _ channel ") ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnull . also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġyet Ġsupported Ġin Ġas Ġan Ġi bc Ġchannel Ġevent - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ // ĠThe Ġonly Ġcase Ġwhere Ġa Ġchannel Ġis Ġnot Ġin Ġthe Ġevents , Ġbecause Ġno Ġevents Ġget Ġemitted Ċ fun ĠAny . is I bc Timeout On Close () Ġ= Ġtype Url . endsWith (" Msg Timeout On Close ") Ċ Ċ fun ĠAny . get I bc Ledger Msgs () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Transfer ") Ġ|| ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Recv Packet ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ|| Ġtype Url . endsWith (" Msg Ack nowledge ment ") Ġ-> Ġthis ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġnull . also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġyet Ġsupported Ġin Ġas Ġan Ġi bc Ġledger Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ // Ġ// /////// ĠMET ADATA Ġ( NFT / SCOPES ) Ċ enum Ġclass ĠMd Events ( val Ġevent : ĠString , Ġval Ġid Field : ĠString ) Ġ{ ĊĠĠĠ Ġ// ĠContract ĠSpec ĊĠĠĠ ĠC SPC (" pro venance . metadata . v 1 . Event Contract Specification Created ", Ġ" contract _ specification _ addr "), ĊĠĠĠ ĠC SP U (" pro venance . metadata . v 1 . Event Contract Specification Updated ", Ġ" contract _ specification _ addr ") Ċ } Ċ Ċ fun ĠAny . is Metadata Deletion Msg () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Request ") Ġ|| ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Specification Request ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ|| Ġtype Url . endsWith (" Msg Delete Contract Specification Request ") Ġ-> Ġtrue ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġfalse ĊĠĠĠ Ġ} Ċ Ċ fun ĠAny . get Associated Metadata Events () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write P 8 e Contract Spec Request ") Ġ-> ĠlistOf ( C SPC , ĠC SP U ) ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠlistOf < Md Events >() ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġyet Ġsupported Ġin Ġas Ġan Ġmetadata - event - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ fun ĠMetadata Address . toList () Ġ= ĠlistOf ( this ) Ċ Ċ fun ĠAny . get Associated Metadata () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Scope Request ") Ġ-> Ġthis . to Msg Write Scope Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġ( it . scope Uuid ?. blank To Null ()?. to M Address Scope () Ġ?: Ġit . scope . scope Id ?. to M Address ()) ?. toList () Ġ?: ĠlistOf ( null ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Request ") Ġ-> Ġthis . to Msg Delete Scope Request (). scope Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Scope DataAccess Request ") Ġ-> Ġthis . to Msg Add Scope DataAccess Request (). scope Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope DataAccess Request ") Ġ-> Ġthis . to Msg Delete Scope DataAccess Request (). scope Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Scope Owner Request ") Ġ-> Ġthis . to Msg Add Scope Owner Request (). scope Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Owner Request ") Ġ-> Ġthis . to Msg Delete Scope Owner Request (). scope Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Session Request ") Ġ-> Ġthis . to Msg Write Session Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sessionId Components . to M Address () Ġ?: Ġit . session . sessionId . to M Address () Ġ}. toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Record Request ") Ġ-> Ġthis . to Msg Write Record Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġit . sessionId Components . to M Address () Ġ?: Ġit . record . sessionId . to M Address () Ġ}. toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Record Request ") Ġ-> Ġthis . to Msg Delete Record Request (). record Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Scope Specification Request ") Ġ-> Ġthis . to Msg Write Scope Specification Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġ( it . spec Uuid ?. blank To Null ()?. to M Address Scope Spec () Ġ?: Ġit . specification . specification Id ?. to M Address ()) ?. toList () Ġ?: ĠlistOf ( null ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Scope Specification Request ") Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . to Msg Delete Scope Specification Request (). specification Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Contract Specification Request ") Ġ-> Ġthis . to Msg Write Contract Specification Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġ( it . spec Uuid ?. blank To Null ()?. to M Address Contract Spec () Ġ?: Ġit . specification . specification Id ?. to M Address ()) ?. toList () Ġ?: ĠlistOf ( null ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Contract Specification Request ") Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . to Msg Delete Contract Specification Request (). specification Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Write Record Specification Request ") Ġ-> Ġthis . to Msg Write Record Specification Request () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ Ġ( it . contract Spec Uuid ?. blank To Null ()?. to M Address Contract Spec () Ġ?: Ġit . specification . specification Id ?. to M Address ()) ?. toList () Ġ?: ĠlistOf ( null ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Record Specification Request ") Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . to Msg Delete Record Specification Request (). specification Id . to M Address (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg P 8 e Mem or ial ize Contract Request ") Ġ-> Ġthis . to Msg P 8 e Mem or ial ize Contract Request (). scope Id . to M Address Scope (). toList () ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Add Contract Spec To Scope Spec Request ") Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . to Msg Add Contract Spec To Scope Spec Request (). let Ġ{ ĠlistOf ( it . contract Specification Id . to M Address (), Ġit . scope Specification Id . to M Address ()) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Delete Contract Spec From Scope Spec Request ") Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . to Msg Delete Contract Spec From Scope Spec Request (). let Ġ{ ĠlistOf ( it . contract Specification Id . to M Address (), Ġit . scope Specification Id . to M Address ()) Ġ} ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠlistOf ( null ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġyet Ġsupported Ġin Ġas Ġan Ġmetadata - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ fun ĠSession Id Components ?. to M Address () Ġ= ĊĠĠĠ Ġif Ġ( this Ġ!= Ġnull Ġ&& ĊĠĠĠĠĠĠĠ Ġthis Ġ!= ĠSession Id Components . getDefaultInstance () Ġ&& ĊĠĠĠĠĠĠĠ Ġthis . session Uuid Ġ!= Ġnull Ġ&& ĊĠĠĠĠĠĠĠ Ġ( this . scope Uuid Ġ!= Ġnull Ġ|| Ġthis . scope Addr Ġ!= Ġnull ) ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġscope Ġ= Ġthis . scope Uuid . to Uuid OrNull () Ġ?: Ġthis . scope Addr . to M Address (). get Primary Uuid () ĊĠĠĠĠĠĠĠ Ġthis . session Uuid . to M Address Session ( scope ) ĊĠĠĠ Ġ} Ġelse Ġnull Ċ Ċ // Ġ// /////// ĠG OVER N ANCE Ċ enum Ġclass ĠG ov MsgType Ġ{ ĠPRO POS AL , ĠV OTE , ĠDE POSIT Ġ} Ċ Ċ fun ĠAny . get Associated G ov Msgs () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Submit Proposal ") Ġ-> ĠG ov MsgType . PRO POS AL Ġto Ġthis ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Vote ") Ġ-> ĠG ov MsgType . V OTE Ġto Ġthis ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" Msg Deposit ") Ġ-> ĠG ov MsgType . DE POSIT Ġto Ġthis ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġnull . also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġa Ġgovern ance - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ // Ġ// /////// ĠSM ART ĠCONTRACT S Ċ fun ĠAny . get Associated Sm Contract Msgs () Ġ= ĊĠĠĠ Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Store Code ") Ġ-> Ġnull ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Store Code ") Ġ-> Ġnull ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Inst antiate Contract ") Ġ-> Ġthis . to Msg Inst antiate Contract () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CODE Ġto Ġit . code Id ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Inst antiate Contract ") Ġ-> Ġthis . to Msg Inst antiate Contract Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CODE Ġto Ġit . code Id ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Execute Contract ") Ġ-> Ġthis . to Msg Execute Contract () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Execute Contract ") Ġ-> Ġthis . to Msg Execute Contract Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Migrate Contract ") Ġ-> Ġthis . to Msg Migrate Contract () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CODE Ġto Ġit . code Id , ĠSm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Migrate Contract ") Ġ-> Ġthis . to Msg Migrate Contract Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CODE Ġto Ġit . code Id , ĠSm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Update Admin ") Ġ-> Ġthis . to Msg Update Admin () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Update Admin ") Ġ-> Ġthis . to Msg Update Admin Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 . Msg Clear Admin ") Ġ-> Ġthis . to Msg Clear Admin () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġtype Url . endsWith (" v 1 beta 1 . Msg Clear Admin ") Ġ-> Ġthis . to Msg Clear Admin Old () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. let Ġ{ ĠlistOf ( Sm Contract Value . CONTRACT Ġto Ġit . contract ) Ġ} ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġnull . also Ġ{ Ġlogger (). debug (" This Ġtype Url Ġis Ġnot Ġa Ġsmart - contract - based Ġmsg : Ġ$ type Url ") Ġ} ĊĠĠĠ Ġ} Ċ Ċ enum Ġclass ĠSm Contract Value Ġ{ ĠCODE , ĠCONTRACT Ġ} Ċ Ċ enum Ġclass ĠSm Contract Event Keys ( val ĠeventType : ĠString , Ġval Ġevent Key : ĠMap < String , ĠSm Contract Value >) Ġ{ ĊĠĠĠ ĠV 1 B ETA 1 (" message ", Ġmap Of (" code _ id " Ġto ĠSm Contract Value . CODE , Ġ" contract _ address " Ġto ĠSm Contract Value . CONTRACT )), ĊĠĠĠ ĠSTORE _ CODE _ V 1 (" store _ code ", Ġmap Of (" code _ id " Ġto ĠSm Contract Value . CODE )), ĊĠĠĠ ĠINST ANTI ATE _ V 1 (" instantiate ", Ġmap Of ("_ contract _ address " Ġto ĠSm Contract Value . CONTRACT , Ġ" code _ id " Ġto ĠSm Contract Value . CODE )), ĊĠĠĠ ĠEXEC UTE _ V 1 (" execute ", Ġmap Of ("_ contract _ address " Ġto ĠSm Contract Value . CONTRACT )) Ċ } Ċ Ċ fun Ġget Sm Contract Event By Event ( event : ĠString ) Ġ= ĠSm Contract Event Keys . values (). first OrNull Ġ{ Ġit . eventType Ġ== Ġevent Ġ} Ċ Ċ // Ġ// /////// ĠD EN OM ĠEVENT S Ċ enum Ġclass ĠDen om Events ( val Ġevent : ĠString , Ġval Ġid Field : ĠString , Ġval Ġparse : ĠBoolean Ġ= Ġfalse ) Ġ{ ĊĠĠĠ ĠTRANS FER (" transfer ", Ġ" amount ", Ġtrue ), ĊĠĠĠ ĠMARK ER _ TRANSFER (" pro venance . marker . v 1 . Event Marker Transfer ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ ADD (" pro venance . marker . v 1 . Event Marker Add ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ M INT (" pro venance . marker . v 1 . Event Marker Mint ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ WITH DRAW (" pro venance . marker . v 1 . Event Marker Withdraw ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ ACTIV ATE (" pro venance . marker . v 1 . Event Marker Activate ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ ADD _ ACCESS (" pro venance . marker . v 1 . Event Marker Add Access ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ FINAL IZE (" pro venance . marker . v 1 . Event Marker Finalize ", Ġ" denom "), ĊĠĠĠ ĠMARK ER _ B URN (" pro venance . marker . v 1 . Event Marker Burn ", Ġ" denom "), ĊĠĠĠ ĠI BC _ ACK NOW LED GE (" fung ible _ token _ packet ", Ġ" denom "), ĊĠĠĠ ĠI BC _ REC V _ PACKET (" denom ination _ trace ", Ġ" denom "), Ċ } Ċ Ċ fun Ġget Denom Event By Event ( event : ĠString ) Ġ= ĠDen om Events . values (). first OrNull Ġ{ Ġit . event Ġ== Ġevent Ġ} Ċ Ċ fun ĠString . denom Event Regex Parse () Ġ= ĊĠĠĠ Ġif Ġ( this . isNotBlank ()) ĠRegex ("^ ([ 0 - 9 ]+ )( .* )\ $ "). match Ent ire ( this ) !!. groups [ 2 ] !!. value ĊĠĠĠ Ġelse Ġnull Ċ Ċ // Ġ// /////// ĠADDRESS ĠEVENT S Ċ enum Ġclass ĠAddress Events ( val Ġevent : ĠString , Ġvar arg Ġval Ġid Field : ĠString ) Ġ{ ĊĠĠĠ ĠTRANS FER (" transfer ", Ġ" sender ", Ġ" recipient "), ĊĠĠĠ ĠMARK ER _ TRANSFER (" pro venance . marker . v 1 . Event Marker Transfer ", Ġ" administrator ", Ġ" to _ address ", Ġ" from _ address "), ĊĠĠĠ ĠMARK ER _ ADD (" pro venance . marker . v 1 . Event Marker Add ", Ġ" manager "), ĊĠĠĠ ĠMARK ER _ M INT (" pro venance . marker . v 1 . Event Marker Mint ", Ġ" administrator "), ĊĠĠĠ ĠMARK ER _ WITH DRAW (" pro venance . marker . v 1 . Event Marker Withdraw ", Ġ" administrator ", Ġ" to _ address "), ĊĠĠĠ ĠMARK ER _ ACTIV ATE (" pro venance . marker . v 1 . Event Marker Activate ", Ġ" administrator "), ĊĠĠĠ ĠMARK ER _ ADD _ ACCESS (" pro venance . marker . v 1 . Event Marker Add Access ", Ġ" administrator "), ĊĠĠĠ ĠMARK ER _ FINAL IZE (" pro venance . marker . v 1 . Event Marker Finalize ", Ġ" administrator "), ĊĠĠĠ ĠMARK ER _ B URN (" pro venance . marker . v 1 . Event Marker Burn ", Ġ" administrator "), ĊĠĠĠ ĠI BC _ REC V _ PACKET (" fung ible _ token _ packet ", Ġ" receiver "), ĊĠĠĠ ĠNAME _ BOUND (" pro venance . name . v 1 . Event Name Bound ", Ġ" address "), ĊĠĠĠ ĠNAME _ BOUND _ OLD (" name _ bound ", Ġ" address "), ĊĠĠĠ ĠG RAN T (" cosmos . auth z . v 1 beta 1 . Event Grant ", Ġ" gran ter ", Ġ" gr ante e "), ĊĠĠĠ ĠRE VOKE (" cosmos . auth z . v 1 beta 1 . Event Re voke ", Ġ" gran ter ", Ġ" gr ante e "), Ċ } Ċ Ċ fun Ġget Address Event By Event ( event : ĠString ) Ġ= ĠAddress Events . values (). first OrNull Ġ{ Ġit . event Ġ== Ġevent Ġ} Ċ Ċ fun ĠString . scr ub Quotes () Ġ= Ġthis . remove Sur rounding ("\" ") Ċ