wallet tron transactions

This commit is contained in:
cano
2024-03-25 06:15:36 +08:00
parent 4b8f205e86
commit 489090382f
83 changed files with 5424 additions and 1343 deletions

659
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "8d1357294fac8e18aa387c5c5f295c8e",
"content-hash": "eb2ef8d7d9bc89ca893bb6f81e8a32ab",
"packages": [
{
"name": "brick/math",
@ -130,6 +130,54 @@
],
"time": "2023-12-10T15:33:53+00:00"
},
{
"name": "comely-io/data-types",
"version": "1.0.34",
"source": {
"type": "git",
"url": "https://github.com/comely-io/data-types.git",
"reference": "833ecf364a99aa5cd161e0ebd1191860921834c6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/comely-io/data-types/zipball/833ecf364a99aa5cd161e0ebd1191860921834c6",
"reference": "833ecf364a99aa5cd161e0ebd1191860921834c6",
"shasum": ""
},
"require": {
"ext-bcmath": "*",
"ext-mbstring": "*",
"php": "^7.2"
},
"type": "library",
"autoload": {
"psr-4": {
"Comely\\DataTypes\\": [
"src"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Furqan A. Siddiqui",
"email": "hello@furqansiddiqui.com",
"homepage": "https://www.furqansiddiqui.com",
"role": "Author"
}
],
"description": "PHP data types",
"homepage": "https://github.com/comely-io/data-types",
"support": {
"issues": "https://github.com/comely-io/data-types/issues",
"source": "https://github.com/comely-io/data-types/tree/master"
},
"abandoned": true,
"time": "2020-06-07T14:02:53+00:00"
},
{
"name": "dflydev/dot-access-data",
"version": "v3.0.2",
@ -556,6 +604,82 @@
],
"time": "2023-10-06T06:47:41+00:00"
},
{
"name": "fgrosse/phpasn1",
"version": "v2.5.0",
"source": {
"type": "git",
"url": "https://github.com/fgrosse/PHPASN1.git",
"reference": "42060ed45344789fb9f21f9f1864fc47b9e3507b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fgrosse/PHPASN1/zipball/42060ed45344789fb9f21f9f1864fc47b9e3507b",
"reference": "42060ed45344789fb9f21f9f1864fc47b9e3507b",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
"php-coveralls/php-coveralls": "~2.0",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
},
"suggest": {
"ext-bcmath": "BCmath is the fallback extension for big integer calculations",
"ext-curl": "For loading OID information from the web if they have not bee defined statically",
"ext-gmp": "GMP is the preferred extension for big integer calculations",
"phpseclib/bcmath_compat": "BCmath polyfill for servers where neither GMP nor BCmath is available"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-4": {
"FG\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Friedrich Große",
"email": "friedrich.grosse@gmail.com",
"homepage": "https://github.com/FGrosse",
"role": "Author"
},
{
"name": "All contributors",
"homepage": "https://github.com/FGrosse/PHPASN1/contributors"
}
],
"description": "A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.",
"homepage": "https://github.com/FGrosse/PHPASN1",
"keywords": [
"DER",
"asn.1",
"asn1",
"ber",
"binary",
"decoding",
"encoding",
"x.509",
"x.690",
"x509",
"x690"
],
"support": {
"issues": "https://github.com/fgrosse/PHPASN1/issues",
"source": "https://github.com/fgrosse/PHPASN1/tree/v2.5.0"
},
"abandoned": true,
"time": "2022-12-19T11:08:26+00:00"
},
{
"name": "fruitcake/php-cors",
"version": "v1.3.0",
@ -1163,6 +1287,203 @@
],
"time": "2023-12-03T19:50:20+00:00"
},
{
"name": "iexbase/tron-api",
"version": "v5.0",
"source": {
"type": "git",
"url": "https://github.com/iexbase/tron-api.git",
"reference": "45b01d8a562a2445c307df3b2f233473d970755b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/iexbase/tron-api/zipball/45b01d8a562a2445c307df3b2f233473d970755b",
"reference": "45b01d8a562a2445c307df3b2f233473d970755b",
"shasum": ""
},
"require": {
"comely-io/data-types": "^1.0",
"ext-bcmath": "*",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.2",
"iexbase/web3.php": "^2.0.1",
"kornrunner/secp256k1": "^0.2",
"php": ">=8.0",
"simplito/elliptic-php": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"IEXBase\\TronAPI\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Shamsudin Serderov",
"email": "steein.shamsudin@gmail.com"
}
],
"description": "A PHP API for interacting with Tron (Trx)",
"homepage": "https://github.com/iexbase/tron-api",
"keywords": [
"iexbase",
"tron-api",
"tron-lib",
"tron-php",
"tron-rest-api"
],
"support": {
"issues": "https://github.com/iexbase/tron-api/issues",
"source": "https://github.com/iexbase/tron-api/tree/v5.0"
},
"time": "2022-10-18T15:21:26+00:00"
},
{
"name": "iexbase/web3.php",
"version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/iexbase/web3.php.git",
"reference": "f25ed954a7586ead86046dd7e02a333a8098511b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/iexbase/web3.php/zipball/f25ed954a7586ead86046dd7e02a333a8098511b",
"reference": "f25ed954a7586ead86046dd7e02a333a8098511b",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^7.0",
"kornrunner/keccak": "~1.0",
"php": "^7.1",
"phpseclib/phpseclib": "~2.0.11"
},
"require-dev": {
"phpunit/phpunit": "~6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Web3\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Ethereum web3 interface.",
"support": {
"source": "https://github.com/iexbase/web3.php/tree/2.0.1"
},
"time": "2020-10-15T18:16:13+00:00"
},
{
"name": "kornrunner/keccak",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/kornrunner/php-keccak.git",
"reference": "433749d28e117fb97baf9f2631b92b5d9ab3c890"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kornrunner/php-keccak/zipball/433749d28e117fb97baf9f2631b92b5d9ab3c890",
"reference": "433749d28e117fb97baf9f2631b92b5d9ab3c890",
"shasum": ""
},
"require": {
"php": ">=7.3",
"symfony/polyfill-mbstring": "^1.8"
},
"require-dev": {
"phpunit/phpunit": "^8.2"
},
"type": "library",
"autoload": {
"psr-4": {
"kornrunner\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Boris Momcilovic",
"homepage": "https://github.com/kornrunner/php-keccak"
}
],
"description": "Pure PHP implementation of Keccak",
"keywords": [
"keccak",
"sha-3",
"sha3-256"
],
"support": {
"issues": "https://github.com/kornrunner/php-keccak/issues",
"source": "https://github.com/kornrunner/php-keccak/tree/1.1.0"
},
"time": "2020-12-07T15:40:44+00:00"
},
{
"name": "kornrunner/secp256k1",
"version": "0.2.0",
"source": {
"type": "git",
"url": "https://github.com/kornrunner/php-secp256k1.git",
"reference": "c3990dba47c7a8b0c9fd858fb29c61a5794fbb39"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kornrunner/php-secp256k1/zipball/c3990dba47c7a8b0c9fd858fb29c61a5794fbb39",
"reference": "c3990dba47c7a8b0c9fd858fb29c61a5794fbb39",
"shasum": ""
},
"require": {
"mdanter/ecc": "^1",
"php": ">=7.3"
},
"require-dev": {
"phpunit/phpunit": "^9"
},
"type": "library",
"autoload": {
"psr-4": {
"kornrunner\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Boris Momčilović",
"email": "boris.momcilovic@gmail.com"
}
],
"description": "Pure PHP secp256k1",
"keywords": [
"curve",
"ecc",
"elliptic",
"secp256k1"
],
"support": {
"issues": "https://github.com/kornrunner/php-secp256k1/issues",
"source": "https://github.com/kornrunner/php-secp256k1/tree/0.2.0"
},
"time": "2021-01-19T03:30:01+00:00"
},
{
"name": "laravel/framework",
"version": "v10.37.3",
@ -2011,6 +2332,82 @@
],
"time": "2023-10-17T14:13:20+00:00"
},
{
"name": "mdanter/ecc",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpecc/phpecc.git",
"reference": "34e2eec096bf3dcda814e8f66dd91ae87a2db7cd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpecc/phpecc/zipball/34e2eec096bf3dcda814e8f66dd91ae87a2db7cd",
"reference": "34e2eec096bf3dcda814e8f66dd91ae87a2db7cd",
"shasum": ""
},
"require": {
"ext-gmp": "*",
"fgrosse/phpasn1": "^2.0",
"php": "^7.0||^8.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0||^8.0||^9.0",
"squizlabs/php_codesniffer": "^2.0",
"symfony/yaml": "^2.6|^3.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Mdanter\\Ecc\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Matyas Danter",
"homepage": "http://matejdanter.com/",
"role": "Author"
},
{
"name": "Thibaud Fabre",
"email": "thibaud@aztech.io",
"homepage": "http://aztech.io",
"role": "Maintainer"
},
{
"name": "Thomas Kerin",
"email": "afk11@users.noreply.github.com",
"role": "Maintainer"
}
],
"description": "PHP Elliptic Curve Cryptography library",
"homepage": "https://github.com/phpecc/phpecc",
"keywords": [
"Diffie",
"ECDSA",
"Hellman",
"curve",
"ecdh",
"elliptic",
"nistp192",
"nistp224",
"nistp256",
"nistp384",
"nistp521",
"phpecc",
"secp256k1",
"secp256r1"
],
"support": {
"issues": "https://github.com/phpecc/phpecc/issues",
"source": "https://github.com/phpecc/phpecc/tree/v1.0.0"
},
"time": "2021-01-16T19:42:14+00:00"
},
{
"name": "monolog/monolog",
"version": "3.5.0",
@ -2584,6 +2981,116 @@
],
"time": "2023-11-12T21:59:55+00:00"
},
{
"name": "phpseclib/phpseclib",
"version": "2.0.47",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "b7d7d90ee7df7f33a664b4aea32d50a305d35adb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/b7d7d90ee7df7f33a664b4aea32d50a305d35adb",
"reference": "b7d7d90ee7df7f33a664b4aea32d50a305d35adb",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phing/phing": "~2.7",
"phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4",
"squizlabs/php_codesniffer": "~2.0"
},
"suggest": {
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.",
"ext-xml": "Install the XML extension to load XML formatted public keys."
},
"type": "library",
"autoload": {
"files": [
"phpseclib/bootstrap.php"
],
"psr-4": {
"phpseclib\\": "phpseclib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jim Wigginton",
"email": "terrafrost@php.net",
"role": "Lead Developer"
},
{
"name": "Patrick Monnerat",
"email": "pm@datasphere.ch",
"role": "Developer"
},
{
"name": "Andreas Fischer",
"email": "bantu@phpbb.com",
"role": "Developer"
},
{
"name": "Hans-Jürgen Petrich",
"email": "petrich@tronic-media.com",
"role": "Developer"
},
{
"name": "Graham Campbell",
"email": "graham@alt-three.com",
"role": "Developer"
}
],
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
"homepage": "http://phpseclib.sourceforge.net",
"keywords": [
"BigInteger",
"aes",
"asn.1",
"asn1",
"blowfish",
"crypto",
"cryptography",
"encryption",
"rsa",
"security",
"sftp",
"signature",
"signing",
"ssh",
"twofish",
"x.509",
"x509"
],
"support": {
"issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.47"
},
"funding": [
{
"url": "https://github.com/terrafrost",
"type": "github"
},
{
"url": "https://www.patreon.com/phpseclib",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
"type": "tidelift"
}
],
"time": "2024-02-26T04:55:38+00:00"
},
{
"name": "psr/clock",
"version": "1.0.0",
@ -3301,6 +3808,153 @@
],
"time": "2023-11-08T05:53:05+00:00"
},
{
"name": "simplito/bigint-wrapper-php",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/simplito/bigint-wrapper-php.git",
"reference": "cf21ec76d33f103add487b3eadbd9f5033a25930"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/simplito/bigint-wrapper-php/zipball/cf21ec76d33f103add487b3eadbd9f5033a25930",
"reference": "cf21ec76d33f103add487b3eadbd9f5033a25930",
"shasum": ""
},
"type": "library",
"autoload": {
"psr-4": {
"BI\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Simplito Team",
"email": "s.smyczynski@simplito.com",
"homepage": "https://simplito.com"
}
],
"description": "Common interface for php_gmp and php_bcmath modules",
"support": {
"issues": "https://github.com/simplito/bigint-wrapper-php/issues",
"source": "https://github.com/simplito/bigint-wrapper-php/tree/1.0.0"
},
"time": "2018-02-27T12:38:08+00:00"
},
{
"name": "simplito/bn-php",
"version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/simplito/bn-php.git",
"reference": "83446756a81720eacc2ffb87ff97958431451fd6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/simplito/bn-php/zipball/83446756a81720eacc2ffb87ff97958431451fd6",
"reference": "83446756a81720eacc2ffb87ff97958431451fd6",
"shasum": ""
},
"require": {
"simplito/bigint-wrapper-php": "~1.0.0"
},
"require-dev": {
"phpunit/phpunit": "*"
},
"type": "library",
"autoload": {
"psr-4": {
"BN\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Simplito Team",
"email": "s.smyczynski@simplito.com",
"homepage": "https://simplito.com"
}
],
"description": "Big number implementation compatible with bn.js",
"support": {
"issues": "https://github.com/simplito/bn-php/issues",
"source": "https://github.com/simplito/bn-php/tree/1.1.4"
},
"time": "2024-01-10T16:16:59+00:00"
},
{
"name": "simplito/elliptic-php",
"version": "1.0.12",
"source": {
"type": "git",
"url": "https://github.com/simplito/elliptic-php.git",
"reference": "be321666781be2be2c89c79c43ffcac834bc8868"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/simplito/elliptic-php/zipball/be321666781be2be2c89c79c43ffcac834bc8868",
"reference": "be321666781be2be2c89c79c43ffcac834bc8868",
"shasum": ""
},
"require": {
"ext-gmp": "*",
"simplito/bn-php": "~1.1.0"
},
"require-dev": {
"phpbench/phpbench": "@dev",
"phpunit/phpunit": "*"
},
"type": "library",
"autoload": {
"psr-4": {
"Elliptic\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Simplito Team",
"email": "s.smyczynski@simplito.com",
"homepage": "https://simplito.com"
}
],
"description": "Fast elliptic curve cryptography",
"homepage": "https://github.com/simplito/elliptic-php",
"keywords": [
"Curve25519",
"ECDSA",
"Ed25519",
"EdDSA",
"cryptography",
"curve",
"curve25519-weier",
"ecc",
"ecdh",
"elliptic",
"nistp192",
"nistp224",
"nistp256",
"nistp384",
"nistp521",
"secp256k1"
],
"support": {
"issues": "https://github.com/simplito/elliptic-php/issues",
"source": "https://github.com/simplito/elliptic-php/tree/1.0.12"
},
"time": "2024-01-09T14:57:04+00:00"
},
{
"name": "symfony/console",
"version": "v6.4.1",
@ -8272,7 +8926,8 @@
"prefer-lowest": false,
"platform": {
"php": "^8.1",
"ext-bcmath": "*"
"ext-bcmath": "*",
"ext-gmp": "*"
},
"platform-dev": [],
"plugin-api-version": "2.6.0"