opacity-issuer-core 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -4
- package/dist/index.d.ts +11 -4
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -550,6 +550,7 @@ type OpacityPurchasesNamespace = ReturnType<typeof createPurchasesNamespace>;
|
|
|
550
550
|
|
|
551
551
|
declare const ISSUER_CONTRACTS_COMMIT = "ee48b026312447f4b98259c5b69c5b3dd909e7ac";
|
|
552
552
|
declare const ISSUER_CONTRACTS_PR = "https://github.com/OpacityLabs/pilot-evm/pull/163";
|
|
553
|
+
declare const ISSUER_ADAPTER_CONTRACTS_COMMIT = "b42b8e21c665cc6adcac32127b900d1624944028";
|
|
553
554
|
declare const issuerFactoryAbi: readonly [{
|
|
554
555
|
readonly type: "constructor";
|
|
555
556
|
readonly inputs: readonly [];
|
|
@@ -7820,6 +7821,10 @@ declare const issuerAdapterAbi: readonly [{
|
|
|
7820
7821
|
readonly name: "symbol_";
|
|
7821
7822
|
readonly type: "string";
|
|
7822
7823
|
readonly internalType: "string";
|
|
7824
|
+
}, {
|
|
7825
|
+
readonly name: "decimals_";
|
|
7826
|
+
readonly type: "uint8";
|
|
7827
|
+
readonly internalType: "uint8";
|
|
7823
7828
|
}];
|
|
7824
7829
|
readonly stateMutability: "nonpayable";
|
|
7825
7830
|
}, {
|
|
@@ -9940,7 +9945,7 @@ declare const issuerPolicyModuleAbis: {
|
|
|
9940
9945
|
};
|
|
9941
9946
|
declare const issuerVaultBytecode: "0x60e060405234801561000f575f80fd5b506040516109cc3803806109cc83398101604081905261002e91610066565b6001600160a01b0392831660805260a0919091521660c05261009f565b80516001600160a01b0381168114610061575f80fd5b919050565b5f805f60608486031215610078575f80fd5b6100818461004b565b9250602084015191506100966040850161004b565b90509250925092565b60805160a05160c0516108cc6101005f395f818161014e015281816103b8015261044501525f818160b6015281816102390152818161030b015261048201525f81816101ad015281816102610152818161033801526104af01526108cc5ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c8063bc197c8111610058578063bc197c811461010e578063e9cbd82214610149578063f23a6e6114610188578063fc0c546a146101a8575f80fd5b806301ffc9a71461008957806317d70f7c146100b15780632e1a7d4d146100e6578063b6b55f25146100fb575b5f80fd5b61009c61009736600461068a565b6101cf565b60405190151581526020015b60405180910390f35b6100d87f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100a8565b6100f96100f43660046106b8565b610205565b005b6100f96101093660046106b8565b610418565b61013061011c366004610770565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b031990911681526020016100a8565b6101707f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a8565b610130610196366004610823565b63f23a6e6160e01b9695505050505050565b6101707f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216630271189760e51b14806101ff57506001600160e01b031982166301ffc9a760e01b145b92915050565b805f0361022557604051631f2a200560e01b815260040160405180910390fd5b604051627eeac760e11b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000602482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa1580156102ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d19190610896565b10156102f057604051631e9acf1760e31b815260040160405180910390fd5b60405163018d308d60e41b81523360048201525f60248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318d308d0906084016020604051808303815f875af1158015610386573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103aa91906108ad565b506103df6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383610540565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250565b805f0361043857604051631f2a200560e01b815260040160405180910390fd5b61046d6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308461057f565b604051630ab714fb60e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063156e29f6906064015f604051808303815f87803b1580156104f8575f80fd5b505af115801561050a573d5f803e3d5ffd5b50506040518381523392507f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4915060200161040d565b61054d83838360016105bb565b61057a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b61058d84848484600161061d565b6105b557604051635274afe760e01b81526001600160a01b0385166004820152602401610571565b50505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610611578383151615610605573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f5114831661067957838315161561066d573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b5f6020828403121561069a575f80fd5b81356001600160e01b0319811681146106b1575f80fd5b9392505050565b5f602082840312156106c8575f80fd5b5035919050565b80356001600160a01b03811681146106e5575f80fd5b919050565b5f8083601f8401126106fa575f80fd5b50813567ffffffffffffffff811115610711575f80fd5b6020830191508360208260051b850101111561072b575f80fd5b9250929050565b5f8083601f840112610742575f80fd5b50813567ffffffffffffffff811115610759575f80fd5b60208301915083602082850101111561072b575f80fd5b5f805f805f805f8060a0898b031215610787575f80fd5b610790896106cf565b975061079e60208a016106cf565b9650604089013567ffffffffffffffff808211156107ba575f80fd5b6107c68c838d016106ea565b909850965060608b01359150808211156107de575f80fd5b6107ea8c838d016106ea565b909650945060808b0135915080821115610802575f80fd5b5061080f8b828c01610732565b999c989b5096995094979396929594505050565b5f805f805f8060a08789031215610838575f80fd5b610841876106cf565b955061084f602088016106cf565b94506040870135935060608701359250608087013567ffffffffffffffff811115610878575f80fd5b61088489828a01610732565b979a9699509497509295939492505050565b5f602082840312156108a6575f80fd5b5051919050565b5f602082840312156108bd575f80fd5b815180151581146106b1575f80fd";
|
|
9942
9947
|
declare const issuerSandboxVaultBytecode: "0x60e060405234801562000010575f80fd5b5060405162001015380380620010158339810160408190526200003391620002ad565b6001600160a01b03808416608081905260a084905290821660c0523b5f036200006f5760405163c1ab6dc160e01b815260040160405180910390fd5b5f6001600160a01b03166080516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620000de9190620002f2565b6001600160a01b031603620001065760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03163b5f036200013157604051632945604560e11b815260040160405180910390fd5b5f6080516001600160a01b0316637d42151b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000171573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001979190620002f2565b60408051600481526024810182526020810180516001600160e01b0316630b5bc63160e21b17905290519192505f9182916001600160a01b03851691620001df919062000317565b5f60405180830381855afa9150503d805f811462000219576040519150601f19603f3d011682016040523d82523d5f602084013e6200021e565b606091505b509150915081158062000232575060208151105b156200025157604051638280af7360e01b815260040160405180910390fd5b60028180602001905181019062000269919062000345565b10156200028957604051638280af7360e01b815260040160405180910390fd5b5050505050506200035d565b6001600160a01b0381168114620002aa575f80fd5b50565b5f805f60608486031215620002c0575f80fd5b8351620002cd8162000295565b602085015160408601519194509250620002e78162000295565b809150509250925092565b5f6020828403121562000303575f80fd5b8151620003108162000295565b9392505050565b5f82515f5b818110156200033857602081860181015185830152016200031c565b505f920191825250919050565b5f6020828403121562000356575f80fd5b5051919050565b60805160a05160c051610c48620003cd5f395f81816101970152818161040101526104c201525f818160cc015281816102820152818161035401526104ff01525f81816101f6015281816102aa01528181610381015281816104680152818161052c01526106150152610c485ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063bc197c8111610063578063bc197c8114610144578063d45780a81461017f578063e9cbd82214610192578063f23a6e61146101d1578063fc0c546a146101f1575f80fd5b806301ffc9a71461009f57806317d70f7c146100c75780632e1a7d4d146100fc5780639638f10e14610111578063b6b55f2514610131575b5f80fd5b6100b26100ad3660046108ac565b610218565b60405190151581526020015b60405180910390f35b6100ee7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100be565b61010f61010a3660046108d3565b61024e565b005b61012461011f36600461092f565b610461565b6040516100be919061096e565b61010f61013f3660046108d3565b610495565b610166610152366004610a12565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b031990911681526020016100be565b61012461018d366004610ac9565b6105bd565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100be565b6101666101df366004610b1a565b63f23a6e6160e01b9695505050505050565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216630271189760e51b148061024857506001600160e01b031982166301ffc9a760e01b145b92915050565b805f0361026e57604051631f2a200560e01b815260040160405180910390fd5b604051627eeac760e11b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000602482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa1580156102f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031a9190610b91565b101561033957604051631e9acf1760e31b815260040160405180910390fd5b60405163018d308d60e41b81523360048201525f60248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318d308d0906084016020604051808303815f875af11580156103cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f39190610ba8565b506104286001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633836105d2565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250565b606061048e7f00000000000000000000000000000000000000000000000000000000000000008484610611565b9392505050565b805f036104b557604051631f2a200560e01b815260040160405180910390fd5b6104ea6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846107a1565b604051630ab714fb60e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063156e29f6906064015f604051808303815f87803b158015610575575f80fd5b505af1158015610587573d5f803e3d5ffd5b50506040518381523392507f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49150602001610456565b60606105ca848484610611565b949350505050565b6105df83838360016107dd565b61060c57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106939190610bc7565b6001600160a01b0316336001600160a01b0316146106c4576040516359dc379f60e01b815260040160405180910390fd5b5f600483106106e8576106da60045f8587610be2565b6106e391610c09565b6106ea565b5f5b90505f856001600160a01b03168585604051610707929190610c39565b5f604051808303815f865af19150503d805f8114610740576040519150601f19603f3d011682016040523d82523d5f602084013e610745565b606091505b50935090508061075757825160208401fd5b6040516001600160e01b03198316906001600160a01b0388169033907fbaa00c065bbee074455940c09a003646f9297af57114f879e9e269625b927434905f90a450509392505050565b6107af84848484600161083f565b6107d757604051635274afe760e01b81526001600160a01b0385166004820152602401610603565b50505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610833578383151615610827573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f5114831661089b57838315161561088f573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b5f602082840312156108bc575f80fd5b81356001600160e01b03198116811461048e575f80fd5b5f602082840312156108e3575f80fd5b5035919050565b5f8083601f8401126108fa575f80fd5b50813567ffffffffffffffff811115610911575f80fd5b602083019150836020828501011115610928575f80fd5b9250929050565b5f8060208385031215610940575f80fd5b823567ffffffffffffffff811115610956575f80fd5b610962858286016108ea565b90969095509350505050565b5f602080835283518060208501525f5b8181101561099a5785810183015185820160400152820161097e565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109ce575f80fd5b50565b5f8083601f8401126109e1575f80fd5b50813567ffffffffffffffff8111156109f8575f80fd5b6020830191508360208260051b8501011115610928575f80fd5b5f805f805f805f8060a0898b031215610a29575f80fd5b8835610a34816109ba565b97506020890135610a44816109ba565b9650604089013567ffffffffffffffff80821115610a60575f80fd5b610a6c8c838d016109d1565b909850965060608b0135915080821115610a84575f80fd5b610a908c838d016109d1565b909650945060808b0135915080821115610aa8575f80fd5b50610ab58b828c016108ea565b999c989b5096995094979396929594505050565b5f805f60408486031215610adb575f80fd5b8335610ae6816109ba565b9250602084013567ffffffffffffffff811115610b01575f80fd5b610b0d868287016108ea565b9497909650939450505050565b5f805f805f8060a08789031215610b2f575f80fd5b8635610b3a816109ba565b95506020870135610b4a816109ba565b94506040870135935060608701359250608087013567ffffffffffffffff811115610b73575f80fd5b610b7f89828a016108ea565b979a9699509497509295939492505050565b5f60208284031215610ba1575f80fd5b5051919050565b5f60208284031215610bb8575f80fd5b8151801515811461048e575f80fd5b5f60208284031215610bd7575f80fd5b815161048e816109ba565b5f8085851115610bf0575f80fd5b83861115610bfc575f80fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610c315780818660040360031b1b83161692505b505092915050565b818382375f910190815291905056";
|
|
9943
|
-
declare const issuerAdapterBytecode: "
|
|
9948
|
+
declare const issuerAdapterBytecode: "0x60e060405234801562000010575f80fd5b5060405162000c3e38038062000c3e83398101604081905262000033916200015d565b828260036200004383826200028f565b5060046200005282826200028f565b5050506001600160a01b0385166200007d5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b03909416608052505060a05260ff1660c0526200035b565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620000c0575f80fd5b81516001600160401b0380821115620000dd57620000dd6200009c565b604051601f8301601f19908116603f011681019082821181831017156200010857620001086200009c565b816040528381526020925086602085880101111562000125575f80fd5b5f91505b8382101562000148578582018301518183018401529082019062000129565b5f602085830101528094505050505092915050565b5f805f805f60a0868803121562000172575f80fd5b85516001600160a01b038116811462000189575f80fd5b6020870151604088015191965094506001600160401b0380821115620001ad575f80fd5b620001bb89838a01620000b0565b94506060880151915080821115620001d1575f80fd5b50620001e088828901620000b0565b925050608086015160ff81168114620001f7575f80fd5b809150509295509295909350565b600181811c908216806200021a57607f821691505b6020821081036200023957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200028a57805f5260205f20601f840160051c81016020851015620002665750805b601f840160051c820191505b8181101562000287575f815560010162000272565b50505b505050565b81516001600160401b03811115620002ab57620002ab6200009c565b620002c381620002bc845462000205565b846200023f565b602080601f831160018114620002f9575f8415620002e15750858301515b5f19600386901b1c1916600185901b17855562000353565b5f85815260208120601f198616915b82811015620003295788860151825594840194600190910190840162000308565b50858210156200034757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b60805160a05160c05161088e620003b05f395f61011b01525f8181610178015281816102c7015281816103a6015261064301525f81816101d7015281816102ef015281816103ce015261067d015261088e5ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a082311461014557806395d89b4114610158578063a9059cbb14610160578063af640d0f14610173578063dd62ed3e1461019a578063fc0c546a146101d2575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd14610101578063313ce56714610114575b5f80fd5b6100b2610211565b6040516100bf9190610726565b60405180910390f35b6100db6100d636600461078d565b6102a1565b60405190151581526020016100bf565b6100f36102b8565b6040519081526020016100bf565b6100db61010f3660046107b5565b610365565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100bf565b6100f36101533660046107ee565b610388565b6100b261043e565b6100db61016e36600461078d565b61044d565b6100f37f000000000000000000000000000000000000000000000000000000000000000081565b6100f36101a836600461080e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101f97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100bf565b6060600380546102209061083f565b80601f016020809104026020016040519081016040528092919081815260200182805461024c9061083f565b80156102975780601f1061026e57610100808354040283529160200191610297565b820191905f5260205f20905b81548152906001019060200180831161027a57829003601f168201915b5050505050905090565b5f336102ae81858561045a565b5060019392505050565b60405163bd85b03960e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063bd85b03990602401602060405180830381865afa15801561033c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103609190610877565b905090565b5f3361037285828561046c565b61037d8585856104ed565b506001949350505050565b604051627eeac760e11b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169062fdd58e90604401602060405180830381865afa158015610414573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104389190610877565b92915050565b6060600480546102209061083f565b5f336102ae8185856104ed565b610467838383600161054a565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156104e757818110156104d957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6104e784848484035f61054a565b50505050565b6001600160a01b03831661051657604051634b637e8f60e11b81525f60048201526024016104d0565b6001600160a01b03821661053f5760405163ec442f0560e01b81525f60048201526024016104d0565b61046783838361061c565b6001600160a01b0384166105735760405163e602df0560e01b81525f60048201526024016104d0565b6001600160a01b03831661059c57604051634a1406b160e11b81525f60048201526024016104d0565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104e757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060e91815260200190565b60405180910390a350505050565b604051637921219560e11b81526001600160a01b03848116600483015283811660248301527f000000000000000000000000000000000000000000000000000000000000000060448301526064820183905260a060848301525f60a48301527f0000000000000000000000000000000000000000000000000000000000000000169063f242432a9060c4015f604051808303815f87803b1580156106be575f80fd5b505af11580156106d0573d5f803e3d5ffd5b50505050816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161071991815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b8181101561075257858101830151858201604001528201610736565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610788575f80fd5b919050565b5f806040838503121561079e575f80fd5b6107a783610772565b946020939093013593505050565b5f805f606084860312156107c7575f80fd5b6107d084610772565b92506107de60208501610772565b9150604084013590509250925092565b5f602082840312156107fe575f80fd5b61080782610772565b9392505050565b5f806040838503121561081f575f80fd5b61082883610772565b915061083660208401610772565b90509250929050565b600181811c9082168061085357607f821691505b60208210810361087157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610887575f80fd5b505191905056";
|
|
9944
9949
|
declare const issuerTokenTraitRegistryBytecode: "0x608060405234801561000f575f80fd5b5061043f8061001d5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632fc74dbb1461004e5780638b3c4278146100765780638c32d3381461008b578063cfdbf2541461009e575b5f80fd5b61006161005c366004610323565b6100b4565b60405190151581526020015b60405180910390f35b610089610084366004610374565b6100f6565b005b6100896100993660046103a6565b61019c565b6100a660c881565b60405190815260200161006d565b5f816100c157505f6100ef565b506001600160a01b0383165f90815260208181526040808320858452825280832084845290915290205460ff165b9392505050565b826101145760405163044145c360e01b815260040160405180910390fd5b816101325760405163661b748960e11b815260040160405180910390fd5b335f818152602081815260408083208784528252808320868452825291829020805460ff191685151590811790915591519182528492869290917fc977b75d21028fb25af9d6050381909d041e2333faf53c683ffec798061e8580910160405180910390a4505050565b825f8190036101be5760405163c2e5347d60e01b815260040160405180910390fd5b60c88111156101ee5760405163bb1cb70b60e01b81526004810182905260c8602482015260440160405180910390fd5b8261020c5760405163661b748960e11b815260040160405180910390fd5b335f5b8281101561031a575f87878381811061022a5761022a61042b565b905060200201350361024f5760405163044145c360e01b815260040160405180910390fd5b6001600160a01b0382165f908152602081905260408120859189898581811061027a5761027a61042b565b9050602002013581526020019081526020015f205f8781526020019081526020015f205f6101000a81548160ff021916908315150217905550848787838181106102c6576102c661042b565b90506020020135836001600160a01b03167fc977b75d21028fb25af9d6050381909d041e2333faf53c683ffec798061e85808760405161030a911515815260200190565b60405180910390a460010161020f565b50505050505050565b5f805f60608486031215610335575f80fd5b83356001600160a01b038116811461034b575f80fd5b95602085013595506040909401359392505050565b8035801515811461036f575f80fd5b919050565b5f805f60608486031215610386575f80fd5b833592506020840135915061039d60408501610360565b90509250925092565b5f805f80606085870312156103b9575f80fd5b843567ffffffffffffffff808211156103d0575f80fd5b818701915087601f8301126103e3575f80fd5b8135818111156103f1575f80fd5b8860208260051b8501011115610405575f80fd5b60209283019650945050850135915061042060408601610360565b905092959194509250565b634e487b7160e01b5f52603260045260245ffd";
|
|
9945
9950
|
|
|
9946
9951
|
/** Explicit SecurityToken deployment; works independently of hosted APIs and sandbox helpers. */
|
|
@@ -10615,8 +10620,10 @@ interface IssuerAdapterDeploymentParams extends IssuerAuxiliaryDeploymentParams
|
|
|
10615
10620
|
tokenId: bigint;
|
|
10616
10621
|
name: string;
|
|
10617
10622
|
symbol: string;
|
|
10623
|
+
/** Immutable ERC-20 display metadata. Raw ERC-1155 balances are never rescaled. */
|
|
10624
|
+
decimals: number;
|
|
10618
10625
|
}
|
|
10619
|
-
/** ERC20 facade
|
|
10626
|
+
/** ERC20 facade with caller-selected display decimals. Holders approve it, or owner assigns venue-specific consent. */
|
|
10620
10627
|
declare function buildIssuerAdapterDeployment(input: IssuerAdapterDeploymentParams): IssuerTransaction;
|
|
10621
10628
|
/** A plain, permissionless registry deployment. Assign it to the token before setting traits. */
|
|
10622
10629
|
declare function buildIssuerTokenTraitRegistryDeployment(input: IssuerAuxiliaryDeploymentParams): IssuerTransaction;
|
|
@@ -10826,7 +10833,7 @@ declare function createIssuersNamespace(options?: IssuerClientOptions): {
|
|
|
10826
10833
|
}[];
|
|
10827
10834
|
canManagePolicies: boolean | undefined;
|
|
10828
10835
|
};
|
|
10829
|
-
decimals:
|
|
10836
|
+
decimals: number;
|
|
10830
10837
|
transferEventsComplete: false;
|
|
10831
10838
|
}>;
|
|
10832
10839
|
sendAdapterDeployment: (value: IssuerAdapterDeploymentParams) => Promise<SubmittedIssuerTransaction>;
|
|
@@ -11390,4 +11397,4 @@ declare function validateSandboxLinkedWalletProgress(input: SandboxLinkedWalletP
|
|
|
11390
11397
|
/** Restore a completed linked test wallet without funding, onboarding, signing, or network I/O. */
|
|
11391
11398
|
declare function restoreSandboxLinkedWallet<chain extends Chain>(input: SandboxLinkedWalletProgress, options: RestoreSandboxUserWalletOptions<chain>): WalletClient<Transport, chain, PrivateKeyAccount>;
|
|
11392
11399
|
|
|
11393
|
-
export { type CeilingBalanceConfig, type CreateSandboxLinkedWalletParams, type CreateSandboxUserParams, DEFAULT_ISSUER_BEACON_VARIANT, EMPTY_ISSUER_ENGINE, ISSUER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_PR, type IssuerAdapterDeploymentParams, type IssuerAttachedPolicy, type IssuerAuxiliaryDeploymentParams, type IssuerClientOptions, IssuerDenominatorMode, type IssuerDeployTokenParams, type IssuerDeploymentBlocker, type IssuerDeploymentReceiptResult, type IssuerDiscoverDeploymentParams, type IssuerDiscoveryIndexer, type IssuerEngineConfig, IssuerGuardMode, type IssuerOperationContext, type IssuerOperationParams, type IssuerOverrideAuthorization, type IssuerOverrideOperation, type IssuerPolicyApprovalParams, type IssuerPolicyEngineOperation, type IssuerPolicyKind, type IssuerProtocolDeployment, type IssuerReceiptResult, type IssuerRuleSetParams, IssuerRuleType, type IssuerSandboxAccountParams, type IssuerSandboxCapabilities, type IssuerSandboxRegistrationBlocker, type IssuerSandboxRegistryOperation, type IssuerSandboxVaultAdminOperation, type IssuerSandboxVaultAdminParams, type IssuerTokenConfig, type IssuerTokenOperation, type IssuerTokenParams, type IssuerTransaction, type IssuerVaultDeploymentParams, type IssuerWaitOptions, OpacityIssuerError, OpacityIssuerOperationError, type OpacityIssuersNamespace, OpacityPurchaseError, type OpacityPurchasesNamespace, OpacityTransferError, type OpacityTransfersNamespace, type PolicyAttachment, type PolicyBatchOperation, type PolicyChange, type PolicyGuard, type PrepareSandboxUserParams, type PreparedIssuerDeployment, type PreparedPurchase, type PreparedSandboxUser, type PreparedSandboxWalletLink, type PreparedTransfer, type PurchaseApprovalRequest, type PurchaseApprovalStep, type PurchaseBlocker, type PurchaseBuyerState, type PurchaseClientOptions, type PurchaseDeployment, type PurchaseOffering, type PurchaseParams, type PurchaseQuote, type PurchaseQuoteParams, type PurchaseReceiptResult, type PurchaseTransaction, type PurchaseWaitOptions, type PurchaseWriteRequest, type ResolveIssuerDeploymentOptions, type ResolveIssuerDeploymentParams, type ResolvedIssuerDeployment, type RestoreSandboxUserWalletOptions, SANDBOX_ISSUER_DEPLOYMENT, SANDBOX_PURCHASE_DEPLOYMENT, SEPOLIA_SANDBOX_MANIFEST, SandboxLinkedWalletCreationError, type SandboxLinkedWalletProgress, SandboxTransferError, type SandboxTransferProgress, type SandboxUserBlocker, SandboxUserCreationError, type SandboxUserCreationProgress, type SandboxUserFundingTransaction, type SandboxUserStep, type SandboxUserTrait, type SandboxUserTraits, type SandboxWalletLinkBlocker, SandboxWalletLinkError, type SandboxWalletLinkIntent, type SandboxWalletLinkParams, type SandboxWalletLinkProgress, type SandboxWalletLinksNamespace, type SendSandboxWalletLinkParams, type SubmittedIssuerDeployment, type SubmittedIssuerTransaction, type SubmittedPurchase, type SubmittedPurchaseApproval, type SubmittedSandboxUserFunding, type SubmittedSandboxWalletLink, type SubmittedTransfer, type TransferBlocker, type TransferClientOptions, type TransferDeployment, type TransferGasEstimate, type TransferParams, type TransferReceiptResult, type TransferRejection, type TransferSandboxUserParams, type TransferTransaction, type TransferWaitOptions, type TransferWriteRequest, buildAdapterOperation, buildConfigureVaultTransaction, buildForcedTransferTransaction, buildIssuerAdapterDeployment, buildIssuerDeployTokenTransaction, buildIssuerSandboxAddSelfTransaction, buildIssuerSandboxRegisterIssuerTransaction, buildIssuerSandboxSetSelfTraitTransaction, buildIssuerSandboxVaultDeployment, buildIssuerTokenTraitRegistryDeployment, buildIssuerVaultDeployment, buildMintTransaction, buildOverrideOperation, buildOverrideTransferTransaction, buildOverrideTransferTypedData, buildPaymentTokenOperation, buildPolicyEngineOperation, buildPolicyModuleOperation, buildPolicyRegistryOperation, buildPurchaseTransaction, buildPurchaseWriteRequest, buildRuleSetOperation, buildSandboxRegistryOperation, buildSandboxVaultOperation, buildSandboxWalletLinkTransaction, buildSandboxWalletLinkTypedData, buildSetIssuerAdminTransaction, buildSetUserTraitsTransactions, buildSetWalletsTransaction, buildTokenMetadataTransactions, buildTokenOperation, buildTransferTransaction, buildTransferWriteRequest, buildVaultOperation, createIssuersNamespace, createPolicyAttachment, createPolicyBatch, createPolicyReplacementBatch, createPurchasesNamespace, createSandboxLinkedWallet, createSandboxUser, createSandboxWalletLinksNamespace, createTransfersNamespace, encodeAllowedTransfereeConfig, encodeCeilingBalanceConfig, encodeDenylistConfig, encodeFloorBalanceConfig, encodeHolderCountCapConfig, encodeInsiderFreezeConfig, encodeSelfTransferOnlyConfig, encodeTradingDisabledConfig, issuerAdapterAbi, issuerAdapterBytecode, issuerBeaconRegistryAbi, issuerFactoryAbi, issuerLensAbi, issuerOverrideHelperAbi, issuerOverrideTypes, issuerPaymentTokenAbi, issuerPolicyEngineAbi, issuerPolicyModuleAbis, issuerPolicyRegistryAbi, issuerPolicyTypes, issuerRegistryAbi, issuerRuleSetOrchestratorAbi, issuerSandboxVaultAbi, issuerSandboxVaultBytecode, issuerTokenAbi, issuerTokenTraitRegistryAbi, issuerTokenTraitRegistryBytecode, issuerVaultAbi, issuerVaultBytecode, parsePurchaseAmount, parseTransferAmount, prepareSandboxUser, purchasePaymentTokenAbi, purchaseRegistryAbi, purchaseSecurityTokenAbi, resolveIssuerDeployment, resolveSandboxUserTraits, restoreSandboxLinkedWallet, restoreSandboxUserWallet, sandboxJurisdictionTraitId, sandboxTraitId, sandboxWalletLinkAbi, sandboxWalletLinkTypes, securityTokenVaultAbi, transferSandboxUser, validateSandboxLinkedWalletProgress, validateSandboxWalletLinkIntent, validateSandboxWalletLinkParams, waitForSandboxUserFunding, walletLinkData, walletLinkWaitOptions };
|
|
11400
|
+
export { type CeilingBalanceConfig, type CreateSandboxLinkedWalletParams, type CreateSandboxUserParams, DEFAULT_ISSUER_BEACON_VARIANT, EMPTY_ISSUER_ENGINE, ISSUER_ADAPTER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_PR, type IssuerAdapterDeploymentParams, type IssuerAttachedPolicy, type IssuerAuxiliaryDeploymentParams, type IssuerClientOptions, IssuerDenominatorMode, type IssuerDeployTokenParams, type IssuerDeploymentBlocker, type IssuerDeploymentReceiptResult, type IssuerDiscoverDeploymentParams, type IssuerDiscoveryIndexer, type IssuerEngineConfig, IssuerGuardMode, type IssuerOperationContext, type IssuerOperationParams, type IssuerOverrideAuthorization, type IssuerOverrideOperation, type IssuerPolicyApprovalParams, type IssuerPolicyEngineOperation, type IssuerPolicyKind, type IssuerProtocolDeployment, type IssuerReceiptResult, type IssuerRuleSetParams, IssuerRuleType, type IssuerSandboxAccountParams, type IssuerSandboxCapabilities, type IssuerSandboxRegistrationBlocker, type IssuerSandboxRegistryOperation, type IssuerSandboxVaultAdminOperation, type IssuerSandboxVaultAdminParams, type IssuerTokenConfig, type IssuerTokenOperation, type IssuerTokenParams, type IssuerTransaction, type IssuerVaultDeploymentParams, type IssuerWaitOptions, OpacityIssuerError, OpacityIssuerOperationError, type OpacityIssuersNamespace, OpacityPurchaseError, type OpacityPurchasesNamespace, OpacityTransferError, type OpacityTransfersNamespace, type PolicyAttachment, type PolicyBatchOperation, type PolicyChange, type PolicyGuard, type PrepareSandboxUserParams, type PreparedIssuerDeployment, type PreparedPurchase, type PreparedSandboxUser, type PreparedSandboxWalletLink, type PreparedTransfer, type PurchaseApprovalRequest, type PurchaseApprovalStep, type PurchaseBlocker, type PurchaseBuyerState, type PurchaseClientOptions, type PurchaseDeployment, type PurchaseOffering, type PurchaseParams, type PurchaseQuote, type PurchaseQuoteParams, type PurchaseReceiptResult, type PurchaseTransaction, type PurchaseWaitOptions, type PurchaseWriteRequest, type ResolveIssuerDeploymentOptions, type ResolveIssuerDeploymentParams, type ResolvedIssuerDeployment, type RestoreSandboxUserWalletOptions, SANDBOX_ISSUER_DEPLOYMENT, SANDBOX_PURCHASE_DEPLOYMENT, SEPOLIA_SANDBOX_MANIFEST, SandboxLinkedWalletCreationError, type SandboxLinkedWalletProgress, SandboxTransferError, type SandboxTransferProgress, type SandboxUserBlocker, SandboxUserCreationError, type SandboxUserCreationProgress, type SandboxUserFundingTransaction, type SandboxUserStep, type SandboxUserTrait, type SandboxUserTraits, type SandboxWalletLinkBlocker, SandboxWalletLinkError, type SandboxWalletLinkIntent, type SandboxWalletLinkParams, type SandboxWalletLinkProgress, type SandboxWalletLinksNamespace, type SendSandboxWalletLinkParams, type SubmittedIssuerDeployment, type SubmittedIssuerTransaction, type SubmittedPurchase, type SubmittedPurchaseApproval, type SubmittedSandboxUserFunding, type SubmittedSandboxWalletLink, type SubmittedTransfer, type TransferBlocker, type TransferClientOptions, type TransferDeployment, type TransferGasEstimate, type TransferParams, type TransferReceiptResult, type TransferRejection, type TransferSandboxUserParams, type TransferTransaction, type TransferWaitOptions, type TransferWriteRequest, buildAdapterOperation, buildConfigureVaultTransaction, buildForcedTransferTransaction, buildIssuerAdapterDeployment, buildIssuerDeployTokenTransaction, buildIssuerSandboxAddSelfTransaction, buildIssuerSandboxRegisterIssuerTransaction, buildIssuerSandboxSetSelfTraitTransaction, buildIssuerSandboxVaultDeployment, buildIssuerTokenTraitRegistryDeployment, buildIssuerVaultDeployment, buildMintTransaction, buildOverrideOperation, buildOverrideTransferTransaction, buildOverrideTransferTypedData, buildPaymentTokenOperation, buildPolicyEngineOperation, buildPolicyModuleOperation, buildPolicyRegistryOperation, buildPurchaseTransaction, buildPurchaseWriteRequest, buildRuleSetOperation, buildSandboxRegistryOperation, buildSandboxVaultOperation, buildSandboxWalletLinkTransaction, buildSandboxWalletLinkTypedData, buildSetIssuerAdminTransaction, buildSetUserTraitsTransactions, buildSetWalletsTransaction, buildTokenMetadataTransactions, buildTokenOperation, buildTransferTransaction, buildTransferWriteRequest, buildVaultOperation, createIssuersNamespace, createPolicyAttachment, createPolicyBatch, createPolicyReplacementBatch, createPurchasesNamespace, createSandboxLinkedWallet, createSandboxUser, createSandboxWalletLinksNamespace, createTransfersNamespace, encodeAllowedTransfereeConfig, encodeCeilingBalanceConfig, encodeDenylistConfig, encodeFloorBalanceConfig, encodeHolderCountCapConfig, encodeInsiderFreezeConfig, encodeSelfTransferOnlyConfig, encodeTradingDisabledConfig, issuerAdapterAbi, issuerAdapterBytecode, issuerBeaconRegistryAbi, issuerFactoryAbi, issuerLensAbi, issuerOverrideHelperAbi, issuerOverrideTypes, issuerPaymentTokenAbi, issuerPolicyEngineAbi, issuerPolicyModuleAbis, issuerPolicyRegistryAbi, issuerPolicyTypes, issuerRegistryAbi, issuerRuleSetOrchestratorAbi, issuerSandboxVaultAbi, issuerSandboxVaultBytecode, issuerTokenAbi, issuerTokenTraitRegistryAbi, issuerTokenTraitRegistryBytecode, issuerVaultAbi, issuerVaultBytecode, parsePurchaseAmount, parseTransferAmount, prepareSandboxUser, purchasePaymentTokenAbi, purchaseRegistryAbi, purchaseSecurityTokenAbi, resolveIssuerDeployment, resolveSandboxUserTraits, restoreSandboxLinkedWallet, restoreSandboxUserWallet, sandboxJurisdictionTraitId, sandboxTraitId, sandboxWalletLinkAbi, sandboxWalletLinkTypes, securityTokenVaultAbi, transferSandboxUser, validateSandboxLinkedWalletProgress, validateSandboxWalletLinkIntent, validateSandboxWalletLinkParams, waitForSandboxUserFunding, walletLinkData, walletLinkWaitOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -550,6 +550,7 @@ type OpacityPurchasesNamespace = ReturnType<typeof createPurchasesNamespace>;
|
|
|
550
550
|
|
|
551
551
|
declare const ISSUER_CONTRACTS_COMMIT = "ee48b026312447f4b98259c5b69c5b3dd909e7ac";
|
|
552
552
|
declare const ISSUER_CONTRACTS_PR = "https://github.com/OpacityLabs/pilot-evm/pull/163";
|
|
553
|
+
declare const ISSUER_ADAPTER_CONTRACTS_COMMIT = "b42b8e21c665cc6adcac32127b900d1624944028";
|
|
553
554
|
declare const issuerFactoryAbi: readonly [{
|
|
554
555
|
readonly type: "constructor";
|
|
555
556
|
readonly inputs: readonly [];
|
|
@@ -7820,6 +7821,10 @@ declare const issuerAdapterAbi: readonly [{
|
|
|
7820
7821
|
readonly name: "symbol_";
|
|
7821
7822
|
readonly type: "string";
|
|
7822
7823
|
readonly internalType: "string";
|
|
7824
|
+
}, {
|
|
7825
|
+
readonly name: "decimals_";
|
|
7826
|
+
readonly type: "uint8";
|
|
7827
|
+
readonly internalType: "uint8";
|
|
7823
7828
|
}];
|
|
7824
7829
|
readonly stateMutability: "nonpayable";
|
|
7825
7830
|
}, {
|
|
@@ -9940,7 +9945,7 @@ declare const issuerPolicyModuleAbis: {
|
|
|
9940
9945
|
};
|
|
9941
9946
|
declare const issuerVaultBytecode: "0x60e060405234801561000f575f80fd5b506040516109cc3803806109cc83398101604081905261002e91610066565b6001600160a01b0392831660805260a0919091521660c05261009f565b80516001600160a01b0381168114610061575f80fd5b919050565b5f805f60608486031215610078575f80fd5b6100818461004b565b9250602084015191506100966040850161004b565b90509250925092565b60805160a05160c0516108cc6101005f395f818161014e015281816103b8015261044501525f818160b6015281816102390152818161030b015261048201525f81816101ad015281816102610152818161033801526104af01526108cc5ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c8063bc197c8111610058578063bc197c811461010e578063e9cbd82214610149578063f23a6e6114610188578063fc0c546a146101a8575f80fd5b806301ffc9a71461008957806317d70f7c146100b15780632e1a7d4d146100e6578063b6b55f25146100fb575b5f80fd5b61009c61009736600461068a565b6101cf565b60405190151581526020015b60405180910390f35b6100d87f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100a8565b6100f96100f43660046106b8565b610205565b005b6100f96101093660046106b8565b610418565b61013061011c366004610770565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b031990911681526020016100a8565b6101707f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a8565b610130610196366004610823565b63f23a6e6160e01b9695505050505050565b6101707f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216630271189760e51b14806101ff57506001600160e01b031982166301ffc9a760e01b145b92915050565b805f0361022557604051631f2a200560e01b815260040160405180910390fd5b604051627eeac760e11b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000602482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa1580156102ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d19190610896565b10156102f057604051631e9acf1760e31b815260040160405180910390fd5b60405163018d308d60e41b81523360048201525f60248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318d308d0906084016020604051808303815f875af1158015610386573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103aa91906108ad565b506103df6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383610540565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250565b805f0361043857604051631f2a200560e01b815260040160405180910390fd5b61046d6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308461057f565b604051630ab714fb60e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063156e29f6906064015f604051808303815f87803b1580156104f8575f80fd5b505af115801561050a573d5f803e3d5ffd5b50506040518381523392507f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4915060200161040d565b61054d83838360016105bb565b61057a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b61058d84848484600161061d565b6105b557604051635274afe760e01b81526001600160a01b0385166004820152602401610571565b50505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610611578383151615610605573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f5114831661067957838315161561066d573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b5f6020828403121561069a575f80fd5b81356001600160e01b0319811681146106b1575f80fd5b9392505050565b5f602082840312156106c8575f80fd5b5035919050565b80356001600160a01b03811681146106e5575f80fd5b919050565b5f8083601f8401126106fa575f80fd5b50813567ffffffffffffffff811115610711575f80fd5b6020830191508360208260051b850101111561072b575f80fd5b9250929050565b5f8083601f840112610742575f80fd5b50813567ffffffffffffffff811115610759575f80fd5b60208301915083602082850101111561072b575f80fd5b5f805f805f805f8060a0898b031215610787575f80fd5b610790896106cf565b975061079e60208a016106cf565b9650604089013567ffffffffffffffff808211156107ba575f80fd5b6107c68c838d016106ea565b909850965060608b01359150808211156107de575f80fd5b6107ea8c838d016106ea565b909650945060808b0135915080821115610802575f80fd5b5061080f8b828c01610732565b999c989b5096995094979396929594505050565b5f805f805f8060a08789031215610838575f80fd5b610841876106cf565b955061084f602088016106cf565b94506040870135935060608701359250608087013567ffffffffffffffff811115610878575f80fd5b61088489828a01610732565b979a9699509497509295939492505050565b5f602082840312156108a6575f80fd5b5051919050565b5f602082840312156108bd575f80fd5b815180151581146106b1575f80fd";
|
|
9942
9947
|
declare const issuerSandboxVaultBytecode: "0x60e060405234801562000010575f80fd5b5060405162001015380380620010158339810160408190526200003391620002ad565b6001600160a01b03808416608081905260a084905290821660c0523b5f036200006f5760405163c1ab6dc160e01b815260040160405180910390fd5b5f6001600160a01b03166080516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620000de9190620002f2565b6001600160a01b031603620001065760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03163b5f036200013157604051632945604560e11b815260040160405180910390fd5b5f6080516001600160a01b0316637d42151b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000171573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001979190620002f2565b60408051600481526024810182526020810180516001600160e01b0316630b5bc63160e21b17905290519192505f9182916001600160a01b03851691620001df919062000317565b5f60405180830381855afa9150503d805f811462000219576040519150601f19603f3d011682016040523d82523d5f602084013e6200021e565b606091505b509150915081158062000232575060208151105b156200025157604051638280af7360e01b815260040160405180910390fd5b60028180602001905181019062000269919062000345565b10156200028957604051638280af7360e01b815260040160405180910390fd5b5050505050506200035d565b6001600160a01b0381168114620002aa575f80fd5b50565b5f805f60608486031215620002c0575f80fd5b8351620002cd8162000295565b602085015160408601519194509250620002e78162000295565b809150509250925092565b5f6020828403121562000303575f80fd5b8151620003108162000295565b9392505050565b5f82515f5b818110156200033857602081860181015185830152016200031c565b505f920191825250919050565b5f6020828403121562000356575f80fd5b5051919050565b60805160a05160c051610c48620003cd5f395f81816101970152818161040101526104c201525f818160cc015281816102820152818161035401526104ff01525f81816101f6015281816102aa01528181610381015281816104680152818161052c01526106150152610c485ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063bc197c8111610063578063bc197c8114610144578063d45780a81461017f578063e9cbd82214610192578063f23a6e61146101d1578063fc0c546a146101f1575f80fd5b806301ffc9a71461009f57806317d70f7c146100c75780632e1a7d4d146100fc5780639638f10e14610111578063b6b55f2514610131575b5f80fd5b6100b26100ad3660046108ac565b610218565b60405190151581526020015b60405180910390f35b6100ee7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100be565b61010f61010a3660046108d3565b61024e565b005b61012461011f36600461092f565b610461565b6040516100be919061096e565b61010f61013f3660046108d3565b610495565b610166610152366004610a12565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b031990911681526020016100be565b61012461018d366004610ac9565b6105bd565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100be565b6101666101df366004610b1a565b63f23a6e6160e01b9695505050505050565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216630271189760e51b148061024857506001600160e01b031982166301ffc9a760e01b145b92915050565b805f0361026e57604051631f2a200560e01b815260040160405180910390fd5b604051627eeac760e11b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000602482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa1580156102f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031a9190610b91565b101561033957604051631e9acf1760e31b815260040160405180910390fd5b60405163018d308d60e41b81523360048201525f60248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318d308d0906084016020604051808303815f875af11580156103cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f39190610ba8565b506104286001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633836105d2565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250565b606061048e7f00000000000000000000000000000000000000000000000000000000000000008484610611565b9392505050565b805f036104b557604051631f2a200560e01b815260040160405180910390fd5b6104ea6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846107a1565b604051630ab714fb60e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063156e29f6906064015f604051808303815f87803b158015610575575f80fd5b505af1158015610587573d5f803e3d5ffd5b50506040518381523392507f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49150602001610456565b60606105ca848484610611565b949350505050565b6105df83838360016107dd565b61060c57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106939190610bc7565b6001600160a01b0316336001600160a01b0316146106c4576040516359dc379f60e01b815260040160405180910390fd5b5f600483106106e8576106da60045f8587610be2565b6106e391610c09565b6106ea565b5f5b90505f856001600160a01b03168585604051610707929190610c39565b5f604051808303815f865af19150503d805f8114610740576040519150601f19603f3d011682016040523d82523d5f602084013e610745565b606091505b50935090508061075757825160208401fd5b6040516001600160e01b03198316906001600160a01b0388169033907fbaa00c065bbee074455940c09a003646f9297af57114f879e9e269625b927434905f90a450509392505050565b6107af84848484600161083f565b6107d757604051635274afe760e01b81526001600160a01b0385166004820152602401610603565b50505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610833578383151615610827573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f5114831661089b57838315161561088f573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b5f602082840312156108bc575f80fd5b81356001600160e01b03198116811461048e575f80fd5b5f602082840312156108e3575f80fd5b5035919050565b5f8083601f8401126108fa575f80fd5b50813567ffffffffffffffff811115610911575f80fd5b602083019150836020828501011115610928575f80fd5b9250929050565b5f8060208385031215610940575f80fd5b823567ffffffffffffffff811115610956575f80fd5b610962858286016108ea565b90969095509350505050565b5f602080835283518060208501525f5b8181101561099a5785810183015185820160400152820161097e565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109ce575f80fd5b50565b5f8083601f8401126109e1575f80fd5b50813567ffffffffffffffff8111156109f8575f80fd5b6020830191508360208260051b8501011115610928575f80fd5b5f805f805f805f8060a0898b031215610a29575f80fd5b8835610a34816109ba565b97506020890135610a44816109ba565b9650604089013567ffffffffffffffff80821115610a60575f80fd5b610a6c8c838d016109d1565b909850965060608b0135915080821115610a84575f80fd5b610a908c838d016109d1565b909650945060808b0135915080821115610aa8575f80fd5b50610ab58b828c016108ea565b999c989b5096995094979396929594505050565b5f805f60408486031215610adb575f80fd5b8335610ae6816109ba565b9250602084013567ffffffffffffffff811115610b01575f80fd5b610b0d868287016108ea565b9497909650939450505050565b5f805f805f8060a08789031215610b2f575f80fd5b8635610b3a816109ba565b95506020870135610b4a816109ba565b94506040870135935060608701359250608087013567ffffffffffffffff811115610b73575f80fd5b610b7f89828a016108ea565b979a9699509497509295939492505050565b5f60208284031215610ba1575f80fd5b5051919050565b5f60208284031215610bb8575f80fd5b8151801515811461048e575f80fd5b5f60208284031215610bd7575f80fd5b815161048e816109ba565b5f8085851115610bf0575f80fd5b83861115610bfc575f80fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610c315780818660040360031b1b83161692505b505092915050565b818382375f910190815291905056";
|
|
9943
|
-
declare const issuerAdapterBytecode: "
|
|
9948
|
+
declare const issuerAdapterBytecode: "0x60e060405234801562000010575f80fd5b5060405162000c3e38038062000c3e83398101604081905262000033916200015d565b828260036200004383826200028f565b5060046200005282826200028f565b5050506001600160a01b0385166200007d5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b03909416608052505060a05260ff1660c0526200035b565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620000c0575f80fd5b81516001600160401b0380821115620000dd57620000dd6200009c565b604051601f8301601f19908116603f011681019082821181831017156200010857620001086200009c565b816040528381526020925086602085880101111562000125575f80fd5b5f91505b8382101562000148578582018301518183018401529082019062000129565b5f602085830101528094505050505092915050565b5f805f805f60a0868803121562000172575f80fd5b85516001600160a01b038116811462000189575f80fd5b6020870151604088015191965094506001600160401b0380821115620001ad575f80fd5b620001bb89838a01620000b0565b94506060880151915080821115620001d1575f80fd5b50620001e088828901620000b0565b925050608086015160ff81168114620001f7575f80fd5b809150509295509295909350565b600181811c908216806200021a57607f821691505b6020821081036200023957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200028a57805f5260205f20601f840160051c81016020851015620002665750805b601f840160051c820191505b8181101562000287575f815560010162000272565b50505b505050565b81516001600160401b03811115620002ab57620002ab6200009c565b620002c381620002bc845462000205565b846200023f565b602080601f831160018114620002f9575f8415620002e15750858301515b5f19600386901b1c1916600185901b17855562000353565b5f85815260208120601f198616915b82811015620003295788860151825594840194600190910190840162000308565b50858210156200034757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b60805160a05160c05161088e620003b05f395f61011b01525f8181610178015281816102c7015281816103a6015261064301525f81816101d7015281816102ef015281816103ce015261067d015261088e5ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a082311461014557806395d89b4114610158578063a9059cbb14610160578063af640d0f14610173578063dd62ed3e1461019a578063fc0c546a146101d2575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd14610101578063313ce56714610114575b5f80fd5b6100b2610211565b6040516100bf9190610726565b60405180910390f35b6100db6100d636600461078d565b6102a1565b60405190151581526020016100bf565b6100f36102b8565b6040519081526020016100bf565b6100db61010f3660046107b5565b610365565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100bf565b6100f36101533660046107ee565b610388565b6100b261043e565b6100db61016e36600461078d565b61044d565b6100f37f000000000000000000000000000000000000000000000000000000000000000081565b6100f36101a836600461080e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101f97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100bf565b6060600380546102209061083f565b80601f016020809104026020016040519081016040528092919081815260200182805461024c9061083f565b80156102975780601f1061026e57610100808354040283529160200191610297565b820191905f5260205f20905b81548152906001019060200180831161027a57829003601f168201915b5050505050905090565b5f336102ae81858561045a565b5060019392505050565b60405163bd85b03960e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063bd85b03990602401602060405180830381865afa15801561033c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103609190610877565b905090565b5f3361037285828561046c565b61037d8585856104ed565b506001949350505050565b604051627eeac760e11b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169062fdd58e90604401602060405180830381865afa158015610414573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104389190610877565b92915050565b6060600480546102209061083f565b5f336102ae8185856104ed565b610467838383600161054a565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156104e757818110156104d957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6104e784848484035f61054a565b50505050565b6001600160a01b03831661051657604051634b637e8f60e11b81525f60048201526024016104d0565b6001600160a01b03821661053f5760405163ec442f0560e01b81525f60048201526024016104d0565b61046783838361061c565b6001600160a01b0384166105735760405163e602df0560e01b81525f60048201526024016104d0565b6001600160a01b03831661059c57604051634a1406b160e11b81525f60048201526024016104d0565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104e757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060e91815260200190565b60405180910390a350505050565b604051637921219560e11b81526001600160a01b03848116600483015283811660248301527f000000000000000000000000000000000000000000000000000000000000000060448301526064820183905260a060848301525f60a48301527f0000000000000000000000000000000000000000000000000000000000000000169063f242432a9060c4015f604051808303815f87803b1580156106be575f80fd5b505af11580156106d0573d5f803e3d5ffd5b50505050816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161071991815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b8181101561075257858101830151858201604001528201610736565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610788575f80fd5b919050565b5f806040838503121561079e575f80fd5b6107a783610772565b946020939093013593505050565b5f805f606084860312156107c7575f80fd5b6107d084610772565b92506107de60208501610772565b9150604084013590509250925092565b5f602082840312156107fe575f80fd5b61080782610772565b9392505050565b5f806040838503121561081f575f80fd5b61082883610772565b915061083660208401610772565b90509250929050565b600181811c9082168061085357607f821691505b60208210810361087157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610887575f80fd5b505191905056";
|
|
9944
9949
|
declare const issuerTokenTraitRegistryBytecode: "0x608060405234801561000f575f80fd5b5061043f8061001d5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632fc74dbb1461004e5780638b3c4278146100765780638c32d3381461008b578063cfdbf2541461009e575b5f80fd5b61006161005c366004610323565b6100b4565b60405190151581526020015b60405180910390f35b610089610084366004610374565b6100f6565b005b6100896100993660046103a6565b61019c565b6100a660c881565b60405190815260200161006d565b5f816100c157505f6100ef565b506001600160a01b0383165f90815260208181526040808320858452825280832084845290915290205460ff165b9392505050565b826101145760405163044145c360e01b815260040160405180910390fd5b816101325760405163661b748960e11b815260040160405180910390fd5b335f818152602081815260408083208784528252808320868452825291829020805460ff191685151590811790915591519182528492869290917fc977b75d21028fb25af9d6050381909d041e2333faf53c683ffec798061e8580910160405180910390a4505050565b825f8190036101be5760405163c2e5347d60e01b815260040160405180910390fd5b60c88111156101ee5760405163bb1cb70b60e01b81526004810182905260c8602482015260440160405180910390fd5b8261020c5760405163661b748960e11b815260040160405180910390fd5b335f5b8281101561031a575f87878381811061022a5761022a61042b565b905060200201350361024f5760405163044145c360e01b815260040160405180910390fd5b6001600160a01b0382165f908152602081905260408120859189898581811061027a5761027a61042b565b9050602002013581526020019081526020015f205f8781526020019081526020015f205f6101000a81548160ff021916908315150217905550848787838181106102c6576102c661042b565b90506020020135836001600160a01b03167fc977b75d21028fb25af9d6050381909d041e2333faf53c683ffec798061e85808760405161030a911515815260200190565b60405180910390a460010161020f565b50505050505050565b5f805f60608486031215610335575f80fd5b83356001600160a01b038116811461034b575f80fd5b95602085013595506040909401359392505050565b8035801515811461036f575f80fd5b919050565b5f805f60608486031215610386575f80fd5b833592506020840135915061039d60408501610360565b90509250925092565b5f805f80606085870312156103b9575f80fd5b843567ffffffffffffffff808211156103d0575f80fd5b818701915087601f8301126103e3575f80fd5b8135818111156103f1575f80fd5b8860208260051b8501011115610405575f80fd5b60209283019650945050850135915061042060408601610360565b905092959194509250565b634e487b7160e01b5f52603260045260245ffd";
|
|
9945
9950
|
|
|
9946
9951
|
/** Explicit SecurityToken deployment; works independently of hosted APIs and sandbox helpers. */
|
|
@@ -10615,8 +10620,10 @@ interface IssuerAdapterDeploymentParams extends IssuerAuxiliaryDeploymentParams
|
|
|
10615
10620
|
tokenId: bigint;
|
|
10616
10621
|
name: string;
|
|
10617
10622
|
symbol: string;
|
|
10623
|
+
/** Immutable ERC-20 display metadata. Raw ERC-1155 balances are never rescaled. */
|
|
10624
|
+
decimals: number;
|
|
10618
10625
|
}
|
|
10619
|
-
/** ERC20 facade
|
|
10626
|
+
/** ERC20 facade with caller-selected display decimals. Holders approve it, or owner assigns venue-specific consent. */
|
|
10620
10627
|
declare function buildIssuerAdapterDeployment(input: IssuerAdapterDeploymentParams): IssuerTransaction;
|
|
10621
10628
|
/** A plain, permissionless registry deployment. Assign it to the token before setting traits. */
|
|
10622
10629
|
declare function buildIssuerTokenTraitRegistryDeployment(input: IssuerAuxiliaryDeploymentParams): IssuerTransaction;
|
|
@@ -10826,7 +10833,7 @@ declare function createIssuersNamespace(options?: IssuerClientOptions): {
|
|
|
10826
10833
|
}[];
|
|
10827
10834
|
canManagePolicies: boolean | undefined;
|
|
10828
10835
|
};
|
|
10829
|
-
decimals:
|
|
10836
|
+
decimals: number;
|
|
10830
10837
|
transferEventsComplete: false;
|
|
10831
10838
|
}>;
|
|
10832
10839
|
sendAdapterDeployment: (value: IssuerAdapterDeploymentParams) => Promise<SubmittedIssuerTransaction>;
|
|
@@ -11390,4 +11397,4 @@ declare function validateSandboxLinkedWalletProgress(input: SandboxLinkedWalletP
|
|
|
11390
11397
|
/** Restore a completed linked test wallet without funding, onboarding, signing, or network I/O. */
|
|
11391
11398
|
declare function restoreSandboxLinkedWallet<chain extends Chain>(input: SandboxLinkedWalletProgress, options: RestoreSandboxUserWalletOptions<chain>): WalletClient<Transport, chain, PrivateKeyAccount>;
|
|
11392
11399
|
|
|
11393
|
-
export { type CeilingBalanceConfig, type CreateSandboxLinkedWalletParams, type CreateSandboxUserParams, DEFAULT_ISSUER_BEACON_VARIANT, EMPTY_ISSUER_ENGINE, ISSUER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_PR, type IssuerAdapterDeploymentParams, type IssuerAttachedPolicy, type IssuerAuxiliaryDeploymentParams, type IssuerClientOptions, IssuerDenominatorMode, type IssuerDeployTokenParams, type IssuerDeploymentBlocker, type IssuerDeploymentReceiptResult, type IssuerDiscoverDeploymentParams, type IssuerDiscoveryIndexer, type IssuerEngineConfig, IssuerGuardMode, type IssuerOperationContext, type IssuerOperationParams, type IssuerOverrideAuthorization, type IssuerOverrideOperation, type IssuerPolicyApprovalParams, type IssuerPolicyEngineOperation, type IssuerPolicyKind, type IssuerProtocolDeployment, type IssuerReceiptResult, type IssuerRuleSetParams, IssuerRuleType, type IssuerSandboxAccountParams, type IssuerSandboxCapabilities, type IssuerSandboxRegistrationBlocker, type IssuerSandboxRegistryOperation, type IssuerSandboxVaultAdminOperation, type IssuerSandboxVaultAdminParams, type IssuerTokenConfig, type IssuerTokenOperation, type IssuerTokenParams, type IssuerTransaction, type IssuerVaultDeploymentParams, type IssuerWaitOptions, OpacityIssuerError, OpacityIssuerOperationError, type OpacityIssuersNamespace, OpacityPurchaseError, type OpacityPurchasesNamespace, OpacityTransferError, type OpacityTransfersNamespace, type PolicyAttachment, type PolicyBatchOperation, type PolicyChange, type PolicyGuard, type PrepareSandboxUserParams, type PreparedIssuerDeployment, type PreparedPurchase, type PreparedSandboxUser, type PreparedSandboxWalletLink, type PreparedTransfer, type PurchaseApprovalRequest, type PurchaseApprovalStep, type PurchaseBlocker, type PurchaseBuyerState, type PurchaseClientOptions, type PurchaseDeployment, type PurchaseOffering, type PurchaseParams, type PurchaseQuote, type PurchaseQuoteParams, type PurchaseReceiptResult, type PurchaseTransaction, type PurchaseWaitOptions, type PurchaseWriteRequest, type ResolveIssuerDeploymentOptions, type ResolveIssuerDeploymentParams, type ResolvedIssuerDeployment, type RestoreSandboxUserWalletOptions, SANDBOX_ISSUER_DEPLOYMENT, SANDBOX_PURCHASE_DEPLOYMENT, SEPOLIA_SANDBOX_MANIFEST, SandboxLinkedWalletCreationError, type SandboxLinkedWalletProgress, SandboxTransferError, type SandboxTransferProgress, type SandboxUserBlocker, SandboxUserCreationError, type SandboxUserCreationProgress, type SandboxUserFundingTransaction, type SandboxUserStep, type SandboxUserTrait, type SandboxUserTraits, type SandboxWalletLinkBlocker, SandboxWalletLinkError, type SandboxWalletLinkIntent, type SandboxWalletLinkParams, type SandboxWalletLinkProgress, type SandboxWalletLinksNamespace, type SendSandboxWalletLinkParams, type SubmittedIssuerDeployment, type SubmittedIssuerTransaction, type SubmittedPurchase, type SubmittedPurchaseApproval, type SubmittedSandboxUserFunding, type SubmittedSandboxWalletLink, type SubmittedTransfer, type TransferBlocker, type TransferClientOptions, type TransferDeployment, type TransferGasEstimate, type TransferParams, type TransferReceiptResult, type TransferRejection, type TransferSandboxUserParams, type TransferTransaction, type TransferWaitOptions, type TransferWriteRequest, buildAdapterOperation, buildConfigureVaultTransaction, buildForcedTransferTransaction, buildIssuerAdapterDeployment, buildIssuerDeployTokenTransaction, buildIssuerSandboxAddSelfTransaction, buildIssuerSandboxRegisterIssuerTransaction, buildIssuerSandboxSetSelfTraitTransaction, buildIssuerSandboxVaultDeployment, buildIssuerTokenTraitRegistryDeployment, buildIssuerVaultDeployment, buildMintTransaction, buildOverrideOperation, buildOverrideTransferTransaction, buildOverrideTransferTypedData, buildPaymentTokenOperation, buildPolicyEngineOperation, buildPolicyModuleOperation, buildPolicyRegistryOperation, buildPurchaseTransaction, buildPurchaseWriteRequest, buildRuleSetOperation, buildSandboxRegistryOperation, buildSandboxVaultOperation, buildSandboxWalletLinkTransaction, buildSandboxWalletLinkTypedData, buildSetIssuerAdminTransaction, buildSetUserTraitsTransactions, buildSetWalletsTransaction, buildTokenMetadataTransactions, buildTokenOperation, buildTransferTransaction, buildTransferWriteRequest, buildVaultOperation, createIssuersNamespace, createPolicyAttachment, createPolicyBatch, createPolicyReplacementBatch, createPurchasesNamespace, createSandboxLinkedWallet, createSandboxUser, createSandboxWalletLinksNamespace, createTransfersNamespace, encodeAllowedTransfereeConfig, encodeCeilingBalanceConfig, encodeDenylistConfig, encodeFloorBalanceConfig, encodeHolderCountCapConfig, encodeInsiderFreezeConfig, encodeSelfTransferOnlyConfig, encodeTradingDisabledConfig, issuerAdapterAbi, issuerAdapterBytecode, issuerBeaconRegistryAbi, issuerFactoryAbi, issuerLensAbi, issuerOverrideHelperAbi, issuerOverrideTypes, issuerPaymentTokenAbi, issuerPolicyEngineAbi, issuerPolicyModuleAbis, issuerPolicyRegistryAbi, issuerPolicyTypes, issuerRegistryAbi, issuerRuleSetOrchestratorAbi, issuerSandboxVaultAbi, issuerSandboxVaultBytecode, issuerTokenAbi, issuerTokenTraitRegistryAbi, issuerTokenTraitRegistryBytecode, issuerVaultAbi, issuerVaultBytecode, parsePurchaseAmount, parseTransferAmount, prepareSandboxUser, purchasePaymentTokenAbi, purchaseRegistryAbi, purchaseSecurityTokenAbi, resolveIssuerDeployment, resolveSandboxUserTraits, restoreSandboxLinkedWallet, restoreSandboxUserWallet, sandboxJurisdictionTraitId, sandboxTraitId, sandboxWalletLinkAbi, sandboxWalletLinkTypes, securityTokenVaultAbi, transferSandboxUser, validateSandboxLinkedWalletProgress, validateSandboxWalletLinkIntent, validateSandboxWalletLinkParams, waitForSandboxUserFunding, walletLinkData, walletLinkWaitOptions };
|
|
11400
|
+
export { type CeilingBalanceConfig, type CreateSandboxLinkedWalletParams, type CreateSandboxUserParams, DEFAULT_ISSUER_BEACON_VARIANT, EMPTY_ISSUER_ENGINE, ISSUER_ADAPTER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_PR, type IssuerAdapterDeploymentParams, type IssuerAttachedPolicy, type IssuerAuxiliaryDeploymentParams, type IssuerClientOptions, IssuerDenominatorMode, type IssuerDeployTokenParams, type IssuerDeploymentBlocker, type IssuerDeploymentReceiptResult, type IssuerDiscoverDeploymentParams, type IssuerDiscoveryIndexer, type IssuerEngineConfig, IssuerGuardMode, type IssuerOperationContext, type IssuerOperationParams, type IssuerOverrideAuthorization, type IssuerOverrideOperation, type IssuerPolicyApprovalParams, type IssuerPolicyEngineOperation, type IssuerPolicyKind, type IssuerProtocolDeployment, type IssuerReceiptResult, type IssuerRuleSetParams, IssuerRuleType, type IssuerSandboxAccountParams, type IssuerSandboxCapabilities, type IssuerSandboxRegistrationBlocker, type IssuerSandboxRegistryOperation, type IssuerSandboxVaultAdminOperation, type IssuerSandboxVaultAdminParams, type IssuerTokenConfig, type IssuerTokenOperation, type IssuerTokenParams, type IssuerTransaction, type IssuerVaultDeploymentParams, type IssuerWaitOptions, OpacityIssuerError, OpacityIssuerOperationError, type OpacityIssuersNamespace, OpacityPurchaseError, type OpacityPurchasesNamespace, OpacityTransferError, type OpacityTransfersNamespace, type PolicyAttachment, type PolicyBatchOperation, type PolicyChange, type PolicyGuard, type PrepareSandboxUserParams, type PreparedIssuerDeployment, type PreparedPurchase, type PreparedSandboxUser, type PreparedSandboxWalletLink, type PreparedTransfer, type PurchaseApprovalRequest, type PurchaseApprovalStep, type PurchaseBlocker, type PurchaseBuyerState, type PurchaseClientOptions, type PurchaseDeployment, type PurchaseOffering, type PurchaseParams, type PurchaseQuote, type PurchaseQuoteParams, type PurchaseReceiptResult, type PurchaseTransaction, type PurchaseWaitOptions, type PurchaseWriteRequest, type ResolveIssuerDeploymentOptions, type ResolveIssuerDeploymentParams, type ResolvedIssuerDeployment, type RestoreSandboxUserWalletOptions, SANDBOX_ISSUER_DEPLOYMENT, SANDBOX_PURCHASE_DEPLOYMENT, SEPOLIA_SANDBOX_MANIFEST, SandboxLinkedWalletCreationError, type SandboxLinkedWalletProgress, SandboxTransferError, type SandboxTransferProgress, type SandboxUserBlocker, SandboxUserCreationError, type SandboxUserCreationProgress, type SandboxUserFundingTransaction, type SandboxUserStep, type SandboxUserTrait, type SandboxUserTraits, type SandboxWalletLinkBlocker, SandboxWalletLinkError, type SandboxWalletLinkIntent, type SandboxWalletLinkParams, type SandboxWalletLinkProgress, type SandboxWalletLinksNamespace, type SendSandboxWalletLinkParams, type SubmittedIssuerDeployment, type SubmittedIssuerTransaction, type SubmittedPurchase, type SubmittedPurchaseApproval, type SubmittedSandboxUserFunding, type SubmittedSandboxWalletLink, type SubmittedTransfer, type TransferBlocker, type TransferClientOptions, type TransferDeployment, type TransferGasEstimate, type TransferParams, type TransferReceiptResult, type TransferRejection, type TransferSandboxUserParams, type TransferTransaction, type TransferWaitOptions, type TransferWriteRequest, buildAdapterOperation, buildConfigureVaultTransaction, buildForcedTransferTransaction, buildIssuerAdapterDeployment, buildIssuerDeployTokenTransaction, buildIssuerSandboxAddSelfTransaction, buildIssuerSandboxRegisterIssuerTransaction, buildIssuerSandboxSetSelfTraitTransaction, buildIssuerSandboxVaultDeployment, buildIssuerTokenTraitRegistryDeployment, buildIssuerVaultDeployment, buildMintTransaction, buildOverrideOperation, buildOverrideTransferTransaction, buildOverrideTransferTypedData, buildPaymentTokenOperation, buildPolicyEngineOperation, buildPolicyModuleOperation, buildPolicyRegistryOperation, buildPurchaseTransaction, buildPurchaseWriteRequest, buildRuleSetOperation, buildSandboxRegistryOperation, buildSandboxVaultOperation, buildSandboxWalletLinkTransaction, buildSandboxWalletLinkTypedData, buildSetIssuerAdminTransaction, buildSetUserTraitsTransactions, buildSetWalletsTransaction, buildTokenMetadataTransactions, buildTokenOperation, buildTransferTransaction, buildTransferWriteRequest, buildVaultOperation, createIssuersNamespace, createPolicyAttachment, createPolicyBatch, createPolicyReplacementBatch, createPurchasesNamespace, createSandboxLinkedWallet, createSandboxUser, createSandboxWalletLinksNamespace, createTransfersNamespace, encodeAllowedTransfereeConfig, encodeCeilingBalanceConfig, encodeDenylistConfig, encodeFloorBalanceConfig, encodeHolderCountCapConfig, encodeInsiderFreezeConfig, encodeSelfTransferOnlyConfig, encodeTradingDisabledConfig, issuerAdapterAbi, issuerAdapterBytecode, issuerBeaconRegistryAbi, issuerFactoryAbi, issuerLensAbi, issuerOverrideHelperAbi, issuerOverrideTypes, issuerPaymentTokenAbi, issuerPolicyEngineAbi, issuerPolicyModuleAbis, issuerPolicyRegistryAbi, issuerPolicyTypes, issuerRegistryAbi, issuerRuleSetOrchestratorAbi, issuerSandboxVaultAbi, issuerSandboxVaultBytecode, issuerTokenAbi, issuerTokenTraitRegistryAbi, issuerTokenTraitRegistryBytecode, issuerVaultAbi, issuerVaultBytecode, parsePurchaseAmount, parseTransferAmount, prepareSandboxUser, purchasePaymentTokenAbi, purchaseRegistryAbi, purchaseSecurityTokenAbi, resolveIssuerDeployment, resolveSandboxUserTraits, restoreSandboxLinkedWallet, restoreSandboxUserWallet, sandboxJurisdictionTraitId, sandboxTraitId, sandboxWalletLinkAbi, sandboxWalletLinkTypes, securityTokenVaultAbi, transferSandboxUser, validateSandboxLinkedWalletProgress, validateSandboxWalletLinkIntent, validateSandboxWalletLinkParams, waitForSandboxUserFunding, walletLinkData, walletLinkWaitOptions };
|
package/dist/index.js
CHANGED
|
@@ -669,6 +669,7 @@ function receiptMatches(receipt, buyer, target) {
|
|
|
669
669
|
// src/issuers/abi.ts
|
|
670
670
|
var ISSUER_CONTRACTS_COMMIT = "ee48b026312447f4b98259c5b69c5b3dd909e7ac";
|
|
671
671
|
var ISSUER_CONTRACTS_PR = "https://github.com/OpacityLabs/pilot-evm/pull/163";
|
|
672
|
+
var ISSUER_ADAPTER_CONTRACTS_COMMIT = "b42b8e21c665cc6adcac32127b900d1624944028";
|
|
672
673
|
var issuerFactoryAbi = [
|
|
673
674
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
674
675
|
{
|
|
@@ -4777,7 +4778,8 @@ var issuerAdapterAbi = [
|
|
|
4777
4778
|
{ name: "token_", type: "address", internalType: "address" },
|
|
4778
4779
|
{ name: "id_", type: "uint256", internalType: "uint256" },
|
|
4779
4780
|
{ name: "name_", type: "string", internalType: "string" },
|
|
4780
|
-
{ name: "symbol_", type: "string", internalType: "string" }
|
|
4781
|
+
{ name: "symbol_", type: "string", internalType: "string" },
|
|
4782
|
+
{ name: "decimals_", type: "uint8", internalType: "uint8" }
|
|
4781
4783
|
],
|
|
4782
4784
|
stateMutability: "nonpayable"
|
|
4783
4785
|
},
|
|
@@ -5940,7 +5942,7 @@ var issuerPolicyModuleAbis = {
|
|
|
5940
5942
|
};
|
|
5941
5943
|
var issuerVaultBytecode = "0x60e060405234801561000f575f80fd5b506040516109cc3803806109cc83398101604081905261002e91610066565b6001600160a01b0392831660805260a0919091521660c05261009f565b80516001600160a01b0381168114610061575f80fd5b919050565b5f805f60608486031215610078575f80fd5b6100818461004b565b9250602084015191506100966040850161004b565b90509250925092565b60805160a05160c0516108cc6101005f395f818161014e015281816103b8015261044501525f818160b6015281816102390152818161030b015261048201525f81816101ad015281816102610152818161033801526104af01526108cc5ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c8063bc197c8111610058578063bc197c811461010e578063e9cbd82214610149578063f23a6e6114610188578063fc0c546a146101a8575f80fd5b806301ffc9a71461008957806317d70f7c146100b15780632e1a7d4d146100e6578063b6b55f25146100fb575b5f80fd5b61009c61009736600461068a565b6101cf565b60405190151581526020015b60405180910390f35b6100d87f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100a8565b6100f96100f43660046106b8565b610205565b005b6100f96101093660046106b8565b610418565b61013061011c366004610770565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b031990911681526020016100a8565b6101707f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a8565b610130610196366004610823565b63f23a6e6160e01b9695505050505050565b6101707f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216630271189760e51b14806101ff57506001600160e01b031982166301ffc9a760e01b145b92915050565b805f0361022557604051631f2a200560e01b815260040160405180910390fd5b604051627eeac760e11b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000602482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa1580156102ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d19190610896565b10156102f057604051631e9acf1760e31b815260040160405180910390fd5b60405163018d308d60e41b81523360048201525f60248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318d308d0906084016020604051808303815f875af1158015610386573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103aa91906108ad565b506103df6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383610540565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250565b805f0361043857604051631f2a200560e01b815260040160405180910390fd5b61046d6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308461057f565b604051630ab714fb60e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063156e29f6906064015f604051808303815f87803b1580156104f8575f80fd5b505af115801561050a573d5f803e3d5ffd5b50506040518381523392507f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4915060200161040d565b61054d83838360016105bb565b61057a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b61058d84848484600161061d565b6105b557604051635274afe760e01b81526001600160a01b0385166004820152602401610571565b50505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610611578383151615610605573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f5114831661067957838315161561066d573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b5f6020828403121561069a575f80fd5b81356001600160e01b0319811681146106b1575f80fd5b9392505050565b5f602082840312156106c8575f80fd5b5035919050565b80356001600160a01b03811681146106e5575f80fd5b919050565b5f8083601f8401126106fa575f80fd5b50813567ffffffffffffffff811115610711575f80fd5b6020830191508360208260051b850101111561072b575f80fd5b9250929050565b5f8083601f840112610742575f80fd5b50813567ffffffffffffffff811115610759575f80fd5b60208301915083602082850101111561072b575f80fd5b5f805f805f805f8060a0898b031215610787575f80fd5b610790896106cf565b975061079e60208a016106cf565b9650604089013567ffffffffffffffff808211156107ba575f80fd5b6107c68c838d016106ea565b909850965060608b01359150808211156107de575f80fd5b6107ea8c838d016106ea565b909650945060808b0135915080821115610802575f80fd5b5061080f8b828c01610732565b999c989b5096995094979396929594505050565b5f805f805f8060a08789031215610838575f80fd5b610841876106cf565b955061084f602088016106cf565b94506040870135935060608701359250608087013567ffffffffffffffff811115610878575f80fd5b61088489828a01610732565b979a9699509497509295939492505050565b5f602082840312156108a6575f80fd5b5051919050565b5f602082840312156108bd575f80fd5b815180151581146106b1575f80fd";
|
|
5942
5944
|
var issuerSandboxVaultBytecode = "0x60e060405234801562000010575f80fd5b5060405162001015380380620010158339810160408190526200003391620002ad565b6001600160a01b03808416608081905260a084905290821660c0523b5f036200006f5760405163c1ab6dc160e01b815260040160405180910390fd5b5f6001600160a01b03166080516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620000de9190620002f2565b6001600160a01b031603620001065760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03163b5f036200013157604051632945604560e11b815260040160405180910390fd5b5f6080516001600160a01b0316637d42151b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000171573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001979190620002f2565b60408051600481526024810182526020810180516001600160e01b0316630b5bc63160e21b17905290519192505f9182916001600160a01b03851691620001df919062000317565b5f60405180830381855afa9150503d805f811462000219576040519150601f19603f3d011682016040523d82523d5f602084013e6200021e565b606091505b509150915081158062000232575060208151105b156200025157604051638280af7360e01b815260040160405180910390fd5b60028180602001905181019062000269919062000345565b10156200028957604051638280af7360e01b815260040160405180910390fd5b5050505050506200035d565b6001600160a01b0381168114620002aa575f80fd5b50565b5f805f60608486031215620002c0575f80fd5b8351620002cd8162000295565b602085015160408601519194509250620002e78162000295565b809150509250925092565b5f6020828403121562000303575f80fd5b8151620003108162000295565b9392505050565b5f82515f5b818110156200033857602081860181015185830152016200031c565b505f920191825250919050565b5f6020828403121562000356575f80fd5b5051919050565b60805160a05160c051610c48620003cd5f395f81816101970152818161040101526104c201525f818160cc015281816102820152818161035401526104ff01525f81816101f6015281816102aa01528181610381015281816104680152818161052c01526106150152610c485ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063bc197c8111610063578063bc197c8114610144578063d45780a81461017f578063e9cbd82214610192578063f23a6e61146101d1578063fc0c546a146101f1575f80fd5b806301ffc9a71461009f57806317d70f7c146100c75780632e1a7d4d146100fc5780639638f10e14610111578063b6b55f2514610131575b5f80fd5b6100b26100ad3660046108ac565b610218565b60405190151581526020015b60405180910390f35b6100ee7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100be565b61010f61010a3660046108d3565b61024e565b005b61012461011f36600461092f565b610461565b6040516100be919061096e565b61010f61013f3660046108d3565b610495565b610166610152366004610a12565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b031990911681526020016100be565b61012461018d366004610ac9565b6105bd565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100be565b6101666101df366004610b1a565b63f23a6e6160e01b9695505050505050565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216630271189760e51b148061024857506001600160e01b031982166301ffc9a760e01b145b92915050565b805f0361026e57604051631f2a200560e01b815260040160405180910390fd5b604051627eeac760e11b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000602482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa1580156102f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031a9190610b91565b101561033957604051631e9acf1760e31b815260040160405180910390fd5b60405163018d308d60e41b81523360048201525f60248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318d308d0906084016020604051808303815f875af11580156103cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f39190610ba8565b506104286001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633836105d2565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250565b606061048e7f00000000000000000000000000000000000000000000000000000000000000008484610611565b9392505050565b805f036104b557604051631f2a200560e01b815260040160405180910390fd5b6104ea6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846107a1565b604051630ab714fb60e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063156e29f6906064015f604051808303815f87803b158015610575575f80fd5b505af1158015610587573d5f803e3d5ffd5b50506040518381523392507f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49150602001610456565b60606105ca848484610611565b949350505050565b6105df83838360016107dd565b61060c57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106939190610bc7565b6001600160a01b0316336001600160a01b0316146106c4576040516359dc379f60e01b815260040160405180910390fd5b5f600483106106e8576106da60045f8587610be2565b6106e391610c09565b6106ea565b5f5b90505f856001600160a01b03168585604051610707929190610c39565b5f604051808303815f865af19150503d805f8114610740576040519150601f19603f3d011682016040523d82523d5f602084013e610745565b606091505b50935090508061075757825160208401fd5b6040516001600160e01b03198316906001600160a01b0388169033907fbaa00c065bbee074455940c09a003646f9297af57114f879e9e269625b927434905f90a450509392505050565b6107af84848484600161083f565b6107d757604051635274afe760e01b81526001600160a01b0385166004820152602401610603565b50505050565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f51148316610833578383151615610827573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f5114831661089b57838315161561088f573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b5f602082840312156108bc575f80fd5b81356001600160e01b03198116811461048e575f80fd5b5f602082840312156108e3575f80fd5b5035919050565b5f8083601f8401126108fa575f80fd5b50813567ffffffffffffffff811115610911575f80fd5b602083019150836020828501011115610928575f80fd5b9250929050565b5f8060208385031215610940575f80fd5b823567ffffffffffffffff811115610956575f80fd5b610962858286016108ea565b90969095509350505050565b5f602080835283518060208501525f5b8181101561099a5785810183015185820160400152820161097e565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109ce575f80fd5b50565b5f8083601f8401126109e1575f80fd5b50813567ffffffffffffffff8111156109f8575f80fd5b6020830191508360208260051b8501011115610928575f80fd5b5f805f805f805f8060a0898b031215610a29575f80fd5b8835610a34816109ba565b97506020890135610a44816109ba565b9650604089013567ffffffffffffffff80821115610a60575f80fd5b610a6c8c838d016109d1565b909850965060608b0135915080821115610a84575f80fd5b610a908c838d016109d1565b909650945060808b0135915080821115610aa8575f80fd5b50610ab58b828c016108ea565b999c989b5096995094979396929594505050565b5f805f60408486031215610adb575f80fd5b8335610ae6816109ba565b9250602084013567ffffffffffffffff811115610b01575f80fd5b610b0d868287016108ea565b9497909650939450505050565b5f805f805f8060a08789031215610b2f575f80fd5b8635610b3a816109ba565b95506020870135610b4a816109ba565b94506040870135935060608701359250608087013567ffffffffffffffff811115610b73575f80fd5b610b7f89828a016108ea565b979a9699509497509295939492505050565b5f60208284031215610ba1575f80fd5b5051919050565b5f60208284031215610bb8575f80fd5b8151801515811461048e575f80fd5b5f60208284031215610bd7575f80fd5b815161048e816109ba565b5f8085851115610bf0575f80fd5b83861115610bfc575f80fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610c315780818660040360031b1b83161692505b505092915050565b818382375f910190815291905056";
|
|
5943
|
-
var issuerAdapterBytecode = "
|
|
5945
|
+
var issuerAdapterBytecode = "0x60e060405234801562000010575f80fd5b5060405162000c3e38038062000c3e83398101604081905262000033916200015d565b828260036200004383826200028f565b5060046200005282826200028f565b5050506001600160a01b0385166200007d5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b03909416608052505060a05260ff1660c0526200035b565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620000c0575f80fd5b81516001600160401b0380821115620000dd57620000dd6200009c565b604051601f8301601f19908116603f011681019082821181831017156200010857620001086200009c565b816040528381526020925086602085880101111562000125575f80fd5b5f91505b8382101562000148578582018301518183018401529082019062000129565b5f602085830101528094505050505092915050565b5f805f805f60a0868803121562000172575f80fd5b85516001600160a01b038116811462000189575f80fd5b6020870151604088015191965094506001600160401b0380821115620001ad575f80fd5b620001bb89838a01620000b0565b94506060880151915080821115620001d1575f80fd5b50620001e088828901620000b0565b925050608086015160ff81168114620001f7575f80fd5b809150509295509295909350565b600181811c908216806200021a57607f821691505b6020821081036200023957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200028a57805f5260205f20601f840160051c81016020851015620002665750805b601f840160051c820191505b8181101562000287575f815560010162000272565b50505b505050565b81516001600160401b03811115620002ab57620002ab6200009c565b620002c381620002bc845462000205565b846200023f565b602080601f831160018114620002f9575f8415620002e15750858301515b5f19600386901b1c1916600185901b17855562000353565b5f85815260208120601f198616915b82811015620003295788860151825594840194600190910190840162000308565b50858210156200034757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b60805160a05160c05161088e620003b05f395f61011b01525f8181610178015281816102c7015281816103a6015261064301525f81816101d7015281816102ef015281816103ce015261067d015261088e5ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a082311461014557806395d89b4114610158578063a9059cbb14610160578063af640d0f14610173578063dd62ed3e1461019a578063fc0c546a146101d2575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd14610101578063313ce56714610114575b5f80fd5b6100b2610211565b6040516100bf9190610726565b60405180910390f35b6100db6100d636600461078d565b6102a1565b60405190151581526020016100bf565b6100f36102b8565b6040519081526020016100bf565b6100db61010f3660046107b5565b610365565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100bf565b6100f36101533660046107ee565b610388565b6100b261043e565b6100db61016e36600461078d565b61044d565b6100f37f000000000000000000000000000000000000000000000000000000000000000081565b6100f36101a836600461080e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101f97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100bf565b6060600380546102209061083f565b80601f016020809104026020016040519081016040528092919081815260200182805461024c9061083f565b80156102975780601f1061026e57610100808354040283529160200191610297565b820191905f5260205f20905b81548152906001019060200180831161027a57829003601f168201915b5050505050905090565b5f336102ae81858561045a565b5060019392505050565b60405163bd85b03960e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063bd85b03990602401602060405180830381865afa15801561033c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103609190610877565b905090565b5f3361037285828561046c565b61037d8585856104ed565b506001949350505050565b604051627eeac760e11b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169062fdd58e90604401602060405180830381865afa158015610414573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104389190610877565b92915050565b6060600480546102209061083f565b5f336102ae8185856104ed565b610467838383600161054a565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156104e757818110156104d957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6104e784848484035f61054a565b50505050565b6001600160a01b03831661051657604051634b637e8f60e11b81525f60048201526024016104d0565b6001600160a01b03821661053f5760405163ec442f0560e01b81525f60048201526024016104d0565b61046783838361061c565b6001600160a01b0384166105735760405163e602df0560e01b81525f60048201526024016104d0565b6001600160a01b03831661059c57604051634a1406b160e11b81525f60048201526024016104d0565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104e757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060e91815260200190565b60405180910390a350505050565b604051637921219560e11b81526001600160a01b03848116600483015283811660248301527f000000000000000000000000000000000000000000000000000000000000000060448301526064820183905260a060848301525f60a48301527f0000000000000000000000000000000000000000000000000000000000000000169063f242432a9060c4015f604051808303815f87803b1580156106be575f80fd5b505af11580156106d0573d5f803e3d5ffd5b50505050816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161071991815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b8181101561075257858101830151858201604001528201610736565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610788575f80fd5b919050565b5f806040838503121561079e575f80fd5b6107a783610772565b946020939093013593505050565b5f805f606084860312156107c7575f80fd5b6107d084610772565b92506107de60208501610772565b9150604084013590509250925092565b5f602082840312156107fe575f80fd5b61080782610772565b9392505050565b5f806040838503121561081f575f80fd5b61082883610772565b915061083660208401610772565b90509250929050565b600181811c9082168061085357607f821691505b60208210810361087157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610887575f80fd5b505191905056";
|
|
5944
5946
|
var issuerTokenTraitRegistryBytecode = "0x608060405234801561000f575f80fd5b5061043f8061001d5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632fc74dbb1461004e5780638b3c4278146100765780638c32d3381461008b578063cfdbf2541461009e575b5f80fd5b61006161005c366004610323565b6100b4565b60405190151581526020015b60405180910390f35b610089610084366004610374565b6100f6565b005b6100896100993660046103a6565b61019c565b6100a660c881565b60405190815260200161006d565b5f816100c157505f6100ef565b506001600160a01b0383165f90815260208181526040808320858452825280832084845290915290205460ff165b9392505050565b826101145760405163044145c360e01b815260040160405180910390fd5b816101325760405163661b748960e11b815260040160405180910390fd5b335f818152602081815260408083208784528252808320868452825291829020805460ff191685151590811790915591519182528492869290917fc977b75d21028fb25af9d6050381909d041e2333faf53c683ffec798061e8580910160405180910390a4505050565b825f8190036101be5760405163c2e5347d60e01b815260040160405180910390fd5b60c88111156101ee5760405163bb1cb70b60e01b81526004810182905260c8602482015260440160405180910390fd5b8261020c5760405163661b748960e11b815260040160405180910390fd5b335f5b8281101561031a575f87878381811061022a5761022a61042b565b905060200201350361024f5760405163044145c360e01b815260040160405180910390fd5b6001600160a01b0382165f908152602081905260408120859189898581811061027a5761027a61042b565b9050602002013581526020019081526020015f205f8781526020019081526020015f205f6101000a81548160ff021916908315150217905550848787838181106102c6576102c661042b565b90506020020135836001600160a01b03167fc977b75d21028fb25af9d6050381909d041e2333faf53c683ffec798061e85808760405161030a911515815260200190565b60405180910390a460010161020f565b50505050505050565b5f805f60608486031215610335575f80fd5b83356001600160a01b038116811461034b575f80fd5b95602085013595506040909401359392505050565b8035801515811461036f575f80fd5b919050565b5f805f60608486031215610386575f80fd5b833592506020840135915061039d60408501610360565b90509250925092565b5f805f80606085870312156103b9575f80fd5b843567ffffffffffffffff808211156103d0575f80fd5b818701915087601f8301126103e3575f80fd5b8135818111156103f1575f80fd5b8860208260051b8501011115610405575f80fd5b60209283019650945050850135915061042060408601610360565b905092959194509250565b634e487b7160e01b5f52603260045260245ffd";
|
|
5945
5947
|
|
|
5946
5948
|
// src/transfers/index.ts
|
|
@@ -6508,6 +6510,8 @@ function buildIssuerSandboxVaultDeployment(input) {
|
|
|
6508
6510
|
};
|
|
6509
6511
|
}
|
|
6510
6512
|
function buildIssuerAdapterDeployment(input) {
|
|
6513
|
+
if (!Number.isInteger(input.decimals) || input.decimals < 0 || input.decimals > 255)
|
|
6514
|
+
invalid("decimals must be an integer from 0 to 255.");
|
|
6511
6515
|
return {
|
|
6512
6516
|
from: issuerAddress(input.from, "from"),
|
|
6513
6517
|
chainId: issuerChainId(input.chainId),
|
|
@@ -6519,7 +6523,8 @@ function buildIssuerAdapterDeployment(input) {
|
|
|
6519
6523
|
issuerAddress(input.token, "token"),
|
|
6520
6524
|
issuerUint(input.tokenId, "tokenId"),
|
|
6521
6525
|
input.name,
|
|
6522
|
-
input.symbol
|
|
6526
|
+
input.symbol,
|
|
6527
|
+
input.decimals
|
|
6523
6528
|
]
|
|
6524
6529
|
})
|
|
6525
6530
|
};
|
|
@@ -8103,7 +8108,7 @@ function createIssuersNamespace(options = {}) {
|
|
|
8103
8108
|
tokenId: input.tokenId,
|
|
8104
8109
|
account: input.from
|
|
8105
8110
|
});
|
|
8106
|
-
return { transaction, token, decimals:
|
|
8111
|
+
return { transaction, token, decimals: input.decimals, transferEventsComplete: false };
|
|
8107
8112
|
}
|
|
8108
8113
|
async function sendAdapterDeployment(value) {
|
|
8109
8114
|
const input = { ...value };
|
|
@@ -9807,6 +9812,6 @@ function restoreSandboxLinkedWallet(input, options) {
|
|
|
9807
9812
|
);
|
|
9808
9813
|
}
|
|
9809
9814
|
|
|
9810
|
-
export { DEFAULT_ISSUER_BEACON_VARIANT, EMPTY_ISSUER_ENGINE, ISSUER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_PR, IssuerDenominatorMode, IssuerGuardMode, IssuerRuleType, OpacityIssuerOperationError, OpacityPurchaseError, OpacityTransferError, SANDBOX_ISSUER_DEPLOYMENT, SANDBOX_PURCHASE_DEPLOYMENT, SandboxLinkedWalletCreationError, SandboxTransferError, SandboxUserCreationError, SandboxWalletLinkError, buildAdapterOperation, buildConfigureVaultTransaction, buildForcedTransferTransaction, buildIssuerAdapterDeployment, buildIssuerDeployTokenTransaction, buildIssuerSandboxAddSelfTransaction, buildIssuerSandboxRegisterIssuerTransaction, buildIssuerSandboxSetSelfTraitTransaction, buildIssuerSandboxVaultDeployment, buildIssuerTokenTraitRegistryDeployment, buildIssuerVaultDeployment, buildMintTransaction, buildOverrideOperation, buildOverrideTransferTransaction, buildOverrideTransferTypedData, buildPaymentTokenOperation, buildPolicyEngineOperation, buildPolicyModuleOperation, buildPolicyRegistryOperation, buildPurchaseTransaction, buildPurchaseWriteRequest, buildRuleSetOperation, buildSandboxRegistryOperation, buildSandboxVaultOperation, buildSandboxWalletLinkTransaction, buildSandboxWalletLinkTypedData, buildSetIssuerAdminTransaction, buildSetUserTraitsTransactions, buildSetWalletsTransaction, buildTokenMetadataTransactions, buildTokenOperation, buildTransferTransaction, buildTransferWriteRequest, buildVaultOperation, createIssuersNamespace, createPolicyAttachment, createPolicyBatch, createPolicyReplacementBatch, createPurchasesNamespace, createSandboxLinkedWallet, createSandboxUser, createSandboxWalletLinksNamespace, createTransfersNamespace, encodeAllowedTransfereeConfig, encodeCeilingBalanceConfig, encodeDenylistConfig, encodeFloorBalanceConfig, encodeHolderCountCapConfig, encodeInsiderFreezeConfig, encodeSelfTransferOnlyConfig, encodeTradingDisabledConfig, issuerAdapterAbi, issuerAdapterBytecode, issuerBeaconRegistryAbi, issuerFactoryAbi, issuerLensAbi, issuerOverrideHelperAbi, issuerOverrideTypes, issuerPaymentTokenAbi, issuerPolicyEngineAbi, issuerPolicyModuleAbis, issuerPolicyRegistryAbi, issuerPolicyTypes, issuerRegistryAbi, issuerRuleSetOrchestratorAbi, issuerSandboxVaultAbi, issuerSandboxVaultBytecode, issuerTokenAbi, issuerTokenTraitRegistryAbi, issuerTokenTraitRegistryBytecode, issuerVaultAbi, issuerVaultBytecode, parsePurchaseAmount, parseTransferAmount, prepareSandboxUser, purchasePaymentTokenAbi, purchaseRegistryAbi, purchaseSecurityTokenAbi, resolveIssuerDeployment, resolveSandboxUserTraits, restoreSandboxLinkedWallet, restoreSandboxUserWallet, sandboxJurisdictionTraitId, sandboxTraitId, sandboxWalletLinkAbi, sandboxWalletLinkTypes, securityTokenVaultAbi, transferSandboxUser, validateSandboxLinkedWalletProgress, validateSandboxWalletLinkIntent, validateSandboxWalletLinkParams, waitForSandboxUserFunding, walletLinkData, walletLinkWaitOptions };
|
|
9815
|
+
export { DEFAULT_ISSUER_BEACON_VARIANT, EMPTY_ISSUER_ENGINE, ISSUER_ADAPTER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_COMMIT, ISSUER_CONTRACTS_PR, IssuerDenominatorMode, IssuerGuardMode, IssuerRuleType, OpacityIssuerOperationError, OpacityPurchaseError, OpacityTransferError, SANDBOX_ISSUER_DEPLOYMENT, SANDBOX_PURCHASE_DEPLOYMENT, SandboxLinkedWalletCreationError, SandboxTransferError, SandboxUserCreationError, SandboxWalletLinkError, buildAdapterOperation, buildConfigureVaultTransaction, buildForcedTransferTransaction, buildIssuerAdapterDeployment, buildIssuerDeployTokenTransaction, buildIssuerSandboxAddSelfTransaction, buildIssuerSandboxRegisterIssuerTransaction, buildIssuerSandboxSetSelfTraitTransaction, buildIssuerSandboxVaultDeployment, buildIssuerTokenTraitRegistryDeployment, buildIssuerVaultDeployment, buildMintTransaction, buildOverrideOperation, buildOverrideTransferTransaction, buildOverrideTransferTypedData, buildPaymentTokenOperation, buildPolicyEngineOperation, buildPolicyModuleOperation, buildPolicyRegistryOperation, buildPurchaseTransaction, buildPurchaseWriteRequest, buildRuleSetOperation, buildSandboxRegistryOperation, buildSandboxVaultOperation, buildSandboxWalletLinkTransaction, buildSandboxWalletLinkTypedData, buildSetIssuerAdminTransaction, buildSetUserTraitsTransactions, buildSetWalletsTransaction, buildTokenMetadataTransactions, buildTokenOperation, buildTransferTransaction, buildTransferWriteRequest, buildVaultOperation, createIssuersNamespace, createPolicyAttachment, createPolicyBatch, createPolicyReplacementBatch, createPurchasesNamespace, createSandboxLinkedWallet, createSandboxUser, createSandboxWalletLinksNamespace, createTransfersNamespace, encodeAllowedTransfereeConfig, encodeCeilingBalanceConfig, encodeDenylistConfig, encodeFloorBalanceConfig, encodeHolderCountCapConfig, encodeInsiderFreezeConfig, encodeSelfTransferOnlyConfig, encodeTradingDisabledConfig, issuerAdapterAbi, issuerAdapterBytecode, issuerBeaconRegistryAbi, issuerFactoryAbi, issuerLensAbi, issuerOverrideHelperAbi, issuerOverrideTypes, issuerPaymentTokenAbi, issuerPolicyEngineAbi, issuerPolicyModuleAbis, issuerPolicyRegistryAbi, issuerPolicyTypes, issuerRegistryAbi, issuerRuleSetOrchestratorAbi, issuerSandboxVaultAbi, issuerSandboxVaultBytecode, issuerTokenAbi, issuerTokenTraitRegistryAbi, issuerTokenTraitRegistryBytecode, issuerVaultAbi, issuerVaultBytecode, parsePurchaseAmount, parseTransferAmount, prepareSandboxUser, purchasePaymentTokenAbi, purchaseRegistryAbi, purchaseSecurityTokenAbi, resolveIssuerDeployment, resolveSandboxUserTraits, restoreSandboxLinkedWallet, restoreSandboxUserWallet, sandboxJurisdictionTraitId, sandboxTraitId, sandboxWalletLinkAbi, sandboxWalletLinkTypes, securityTokenVaultAbi, transferSandboxUser, validateSandboxLinkedWalletProgress, validateSandboxWalletLinkIntent, validateSandboxWalletLinkParams, waitForSandboxUserFunding, walletLinkData, walletLinkWaitOptions };
|
|
9811
9816
|
//# sourceMappingURL=index.js.map
|
|
9812
9817
|
//# sourceMappingURL=index.js.map
|